14. AdSense Google Ads

1) Install the plugin

02. Requirements and Installation

2) Configure the plugin, make sure to disable test mode

03. Configuration

3) Enable the Ad Slots in customizer. Choose the placements you like.

04. Ad Slots – set up your ad spaces

4) Depending on your Adsense account options you may need to install the adsense script.
In this case, please make sure to add the global AdSense javascript to the HEAD of the site. You can use this plugin.

https://wordpress.org/plugins/insert-headers-and-footers-script/

5) Generate the Ad Unit code in Google AdSense

To generate the code for ad units, you first need to create an ad unit.
If you’ve already done this, you can get the AdSense code and the ad unit code by following these steps:

– Sign in to your AdSense account.
– Click Ads.
– Click By ad unit.
– In the “Existing ad units” table, find the ad unit whose code you want to get.
– Hover over the ad unit and click Get code Embed.

Is recommended to use STATIC SIZE ads, since the dynamic loading nature of our ad slots doesn’t allow a proper dynamic size rendering.

6) Business Tools integration

– Create a new campaign

05. Ad campaigns

– Select the Text ads (supports javascript) and copy the Ad Unit code in the slots. Each slot has its own size (you can check them in the customizer
– Make sure to set a start date and end date for the campaign or it won’t be active. Set yearterday as start date, and any future date as end date
– Optionally verify the ads by slot

09. Admin – Ads by Slot

7) Last Step: Go to Business Tools Settings and save the options. This will force refresh all of the ads

Now, check your website and the ads should all be there.

Related Articles