Guide & Reviews
Rahul Gupta (Founder)
Free Keyword Search
Guest Posting Sites
Last updated on May 02nd, 2022
how to add adsense auto ads code in wordpress?
Leave a Reply
To leave a comment, please
12 months ago
First login to your Google AdSense account and click on Ads tab. Next, click on the Get Code button to generate you auto-ads code.
AdSense will now generate a code snippet.
You have to paste this code in the header of the site so that ads can be shown in all the pages of the site.
If your theme has a box by default to add code to Header and Footer, you can paste this code into the Header.
But your theme does not provide any default option to add code to Header and Footer, so you can use plugin.
First of all, you need to install and activate the Insert Headers and Footers plugin on your site.
After activating the plugin, click on Settings >> Insert Headers and Footers and paste the AdSense code in the header section.
After that click on Save button to store your settings. It may take some time for Google AdSense to show ads.