{"id":8430,"date":"2024-08-20T14:13:42","date_gmt":"2024-08-20T14:13:42","guid":{"rendered":"https:\/\/manuals.qantumthemes.xyz\/typify\/?post_type=ht_kb&#038;p=8430"},"modified":"2024-08-22T09:03:47","modified_gmt":"2024-08-22T09:03:47","slug":"14-adsense-google-ads","status":"publish","type":"ht_kb","link":"https:\/\/manuals.qantumthemes.xyz\/typify\/knowledge-base\/14-adsense-google-ads\/","title":{"rendered":"14. AdSense Google Ads"},"content":{"rendered":"<p>With Business Tools you can display AdSense banners or any other javascript-based affiliation banners on your website, along with regular image banners from your customers.<\/p>\n<h2 id=\"disclaimer\" >DISCLAIMER:<\/h2>\n<p>This plugins gives an easy tool to insert Ads on your website. It simply takes your code and outputs the code in the frontend.<strong> We do not provide support for AdSense itself.<\/strong> This guide will just explain how to insert your Adsense code in the Ad Slots.<\/p>\n<p><strong>Official documentation<\/strong><\/p>\n<ul>\n<li><strong>Create a display ad unit<\/strong><br \/>\nhttps:\/\/support.google.com\/adsense\/answer\/9274025?hl=en<\/li>\n<li><strong>Get and copy the AdSense code<\/strong><br \/>\nhttps:\/\/support.google.com\/adsense\/answer\/9274019?hl=en<\/li>\n<li><strong>Sign in to Google Ads<\/strong><br \/>\nhttps:\/\/support.google.com\/adsense\/answer\/7584263?hl=en<\/li>\n<li><strong>Guidelines for fixed-sized display ad units<\/strong><br \/>\nhttps:\/\/support.google.com\/adsense\/answer\/9185043?hl=en<\/li>\n<\/ul>\n<p>We suggest using the <strong>Ad Unit code<\/strong> instead of Auto Ads, because of higher control and usage in specific Ad slots of your website.<\/p>\n<h2 id=\"how-to-implement-the-code-for-adsense-in-your-wordpress-website-with-business-tools\" >How to implement the code for AdSense in your WordPress Website with Business Tools<\/h2>\n<p>1) Make sure to complete the instalaltion of the plugins following the previous steps<\/p>\n<p>2) Make sure to<strong> disable test mode in Business Tools settings<\/strong><\/p>\n<p>3)<strong> Enable the Ad Slots in customizer.<\/strong> Choose the placements you like.<\/p>\n<p>4) Depending on your <strong>Adsense<\/strong> account options you may need to install the<strong> adsense script.<\/strong><\/p>\n<p>You can enter your script in the <strong>Business Tools settings<\/strong><\/p>\n<p>5)<strong> Generate the Ad Unit code in Google AdSense<br \/>\n<\/strong>To generate the code for ad units, you first need to create an ad unit.<br \/>\nIf you&#8217;ve already done this, you can get the AdSense code and the ad unit code by following these steps:<\/p>\n<p>&#8211; Sign in to your AdSense account.<br \/>\n&#8211; Click Ads.<br \/>\n&#8211; Click By ad unit.<br \/>\n&#8211; In the &#8220;Existing ad units&#8221; table, find the ad unit whose code you want to get.<br \/>\n&#8211; Hover over the ad unit and click Get code Embed.<\/p>\n<h2 id=\"example-of-basic-integration\" >Example of basic integration<\/h2>\n<p>In this example we are adding a leaderboard banner into a campaign Ad Slot<\/p>\n<ol>\n<li>In the customizer,<a href=\"https:\/\/manuals.qantumthemes.xyz\/typify\/knowledge-base\/4-ad-slots\/\"> enable the ad slot you want to use<\/a>.<\/li>\n<li>Go to Business Tools, <strong>disable<\/strong> Test mode, <strong>enable<\/strong> &#8220;<strong>Clear cache on save<\/strong>&#8221; and save\n<p><figure id=\"attachment_8443\" aria-describedby=\"caption-attachment-8443\" style=\"width: 964px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8443\" src=\"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/business-tools-ad-manager-wordpress.jpg\" alt=\"\" width=\"964\" height=\"421\" srcset=\"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/business-tools-ad-manager-wordpress.jpg 964w, https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/business-tools-ad-manager-wordpress-300x131.jpg 300w, https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/business-tools-ad-manager-wordpress-768x335.jpg 768w, https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/business-tools-ad-manager-wordpress-50x22.jpg 50w, https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/business-tools-ad-manager-wordpress-920x402.jpg 920w, https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/business-tools-ad-manager-wordpress-600x262.jpg 600w, https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/business-tools-ad-manager-wordpress-320x140.jpg 320w\" sizes=\"(max-width: 964px) 100vw, 964px\" \/><figcaption id=\"caption-attachment-8443\" class=\"wp-caption-text\">Disable test mode<\/figcaption><\/figure><\/li>\n<li><a href=\"https:\/\/manuals.qantumthemes.xyz\/typify\/knowledge-base\/5-ad-campaigns\/\">Create a new campaign<\/a>. <strong>Make sure to set a start date and end date.<\/strong><\/li>\n<li>Select the <strong>type HTML<\/strong> from the dropdown.<\/li>\n<li>Paste the Ad Unit code in the slots<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8442\" src=\"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/adsense-ad-slot.jpg\" alt=\"\" width=\"762\" height=\"426\" srcset=\"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/adsense-ad-slot.jpg 762w, https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/adsense-ad-slot-300x168.jpg 300w, https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/adsense-ad-slot-50x28.jpg 50w, https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/adsense-ad-slot-600x335.jpg 600w, https:\/\/manuals.qantumthemes.xyz\/typify\/wp-content\/uploads\/2024\/08\/adsense-ad-slot-320x179.jpg 320w\" sizes=\"(max-width: 762px) 100vw, 762px\" \/><\/li>\n<li>Publish the campaign and check your website.<\/li>\n<li>Ads not appearing? Make sure the HTML is in <a href=\"https:\/\/manuals.qantumthemes.xyz\/typify\/knowledge-base\/11-admin-rest-api-test\/\">the REST output<\/a><\/li>\n<\/ol>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht_kb_category":[866],"ht_kb_tag":[876],"class_list":["post-8430","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-business-tools-ad-manager","ht_kb_tag-adsense"],"_links":{"self":[{"href":"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-json\/wp\/v2\/ht_kb\/8430"}],"collection":[{"href":"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-json\/wp\/v2\/comments?post=8430"}],"version-history":[{"count":3,"href":"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-json\/wp\/v2\/ht_kb\/8430\/revisions"}],"predecessor-version":[{"id":8445,"href":"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-json\/wp\/v2\/ht_kb\/8430\/revisions\/8445"}],"wp:attachment":[{"href":"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-json\/wp\/v2\/media?parent=8430"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-json\/wp\/v2\/ht_kb_category?post=8430"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/manuals.qantumthemes.xyz\/typify\/wp-json\/wp\/v2\/ht_kb_tag?post=8430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}