AdSense Auto Ads are a simple way to get started showing ads on your WordPress site. This feature allows AdSense to decide where, how many and which ad sizes to place automatically. As a publisher, you only need to set it up once and can forget about manually handling each ad individually.
In this tutorial, we show you how to set up AdSense Auto Ads on your WordPress site.
How to set up Auto Ads
You can either read the detailed instructions on how to add AdSense Auto Ads to WordPress below or what this short video (2:05 min).
Get the AdSense Auto Ads code from your Account
Global and site-specific options are only different regarding the sites included. We are using the Global settings in this tutorial
- log in to your AdSense account
- navigate to My Ads > Auto ads
- Auto Ads can be enabled globally for all sites in your account or only for some of them using the group option
- select the ad types you want to enable with Auto Ads on the Choose global settings page
- leave the Automatically get new formats option enabled if you want to use new ad formats once they become available
- click Save
- copy the code from the Place code on your page box and either place it manually between the <head>…</head> tags or follow the steps below if you are running a WordPress site.
Insert AdSense Auto Ads code in WordPress
The Auto Ads code is the same code you would insert into your site to verify your AdSense account or to Page-Level ads (which are now replaced by Auto Ads). There is a chance that you already have or had it on your site.
Using WordPress, you can use our free Advanced Ads plugin. It can place the Auto Ads code automatically into the correct spot on your site without you needing to touch the code.
Installing Advanced Ads
To get Advanced Ads, just log in to your WordPress dashboard and follow the steps below or this video tutorial.
- click on Plugins in the WordPress menu
- click on Add New on top of the plugin page
- search for Advanced Ads in the search field
- select Advanced Ads from the results and click Install and Activate
- After you activated the plugin, you can go to Advanced Ads > Settings > AdSense
- Enter the publisher ID in the AdSense ID field. You can find it in the URL when you are logged into your AdSense account.
- enable the Verification code and Auto ads option
No further coding needed. The code will be placed automatically in the right place in your code.
It might take up to 48 hours for ads to show up on your site now.
Hide the Auto Ads warning
We implemented a warning into the frontend of Advanced Ads to inform you when Auto Ads are enabled. This helps to prevent confusion about automatically placed ads.
You can find more information about that here.
To disable the warning, just go to Advanced Ads > Settings > AdSense and enable Disable violation warnings.
Display Auto Ads only on specific pages
You can also display Auto Ads on specific pages, categories or other segments of your site. The setup is a bit different from above.
- get the Auto Ads code from your AdSense account
- go to Advanced Ads > Ads in your WordPress admin panel and create a new ad
- choose the Plain Text & Code ad type
- enter the Auto Ads code into the code editor field
- go to the Display Conditions box and select the conditions, e.g., “Specific Pages” or other Display Conditions
- Publish the ad code
- go to Advanced Ads > Placements and create a new Header code placement (the one with </head> on the icon) and assign your last ad to it
- save the placements
- if you enabled Auto Ads through Advanced Ads > Settings > AdSense, as described above, disable it there.
AMP Auto Ads
You can also enable Auto ads on AMP pages using our Responsive add-on. After you enabled that add-on you will find the AMP Auto ads option in Advanced Ads > Settings > AdSense > AMP > Enable AMP Auto Ads.
Reporting for Auto Ads
There is no dedicated report for Auto ads. If you want to test the performance against manually placed ads you can use the Ad formats report and see how formats like Anchor, Vignette, etc., are doing.