WP Rocket Black Friday - WordPress Caching Plugin
InfoPhilicAdSenseHow to set up Auto Ads by Google AdSense

How to set up Auto Ads by Google AdSense

Creating quality content is essential for your site/blog to grow, although it is one of the strategies to make money online.

Google AdSense is a best-known ad network that helps publishers make money from their content. It is the best contextual high-paying ad service among all ad networks. Almost 80% of web publishers across the globe use AdSense.

Using the Adsense program is exciting. But, you must keep the user experience in mind during ads placement. Ads placement is critical and should be at eye level where people are stationary.

Google offers great importance to user experience, and ad placement plays a significant role in it. An AdSense heat map is the best guide that provides you guide about ads placement according to your site type.

Google regularly changes its policies. Similarly, it has newly created a whole different way of ads placement called AdSense Auto ads.

What exactly are Google AdSense Auto ads?

Google AdSense Auto ad is a new and better approach to put advertisements on your site. It uses a machine-learning algorithm that automatically detects the best place for ads placement and monetizes your ads smartly.

It will first analyze your pages, figure out potential ad placements, and show new ads when they’re likely to perform well and provide a good user experience.

What you have to do is, place the code for once to all your pages. Google will start to deal with the rest. If you want to serve different types of ads on different pages, you have to click new features and ad formats and turn them on. And that’s it.

Various AdSense ad formats that are available for auto ads placement.
Various AdSense ad formats that are available for auto ads placement.

Benefits of AdSense Auto Ads:

  • Optimization: Using machine learning, Auto ads show ads only when they are likely to perform well and provide a good user experience.
  • Increased Revenue: It will automatically detect any available ad space for placing ads. Thus, more ads mean increased ad revenue.
  • Time saver: Once you put the piece of code there, Google will take care of rest.
  1. If you have page-level ads enabled, you don’t need to add separate code for auto ads as code for page-level ads, and auto ads are the same.
  2. You can use auto ads along with existing manually placed ad units on your website. Auto ads will consider the placement of your manual ad before it triggers more ads on the same page.

How to serve Google AdSense Auto Ads on your blog or site?

Here are some simple steps you need to follow and get started with it.

  • Sign in to your AdSense account.
  • In the left navigation panel, visit My ads and select Get Started.
  • On the “Choose your global settings” page, select the ad formats that you’d like to show and click Save.
  • On the next page, click Copy code.
Place the Auto ads code on your pages
Place the Auto ads code on your pages

Paste the ad code between the and tags of each page where you want to show Auto ads.

Auto ads will start to appear on your pages in about 10-20 minutes.

Implement Google Auto Ads in Blogger

In the blogger dashboard, navigate to the theme section. Click on edit HTML.

Edit theme in Blogger
Edit theme in Blogger

Now click in the editor section and hit CTRL + F and type in the search bar as shown in the screenshot below. Now paste your Google auto ads code just before and hit save theme button. That’s it.

Adding Google Auto Ads in blogger using theme editor
Theme editor in Blogger

How to customize Google Auto Ads?

Adding code will show ads on all pages on your website or a blog. Let’s take an example for an instance if your blog is on WordPress CMS; then, you will have to put this code in the theme’s header file. It will show ads on all pages on your WordPress site. But many publishers don’t want to show ads on some pages like the homepage. So for this, you can use Advanced URL Settings in the Auto Ads.

Advanced URL settings in Auto Ads
Advanced URL settings in Auto Ads

You can add as many URLs you want to customize or turn off ads.

To create a URL group, Click New URL group.

On the “Select URLs” page, select the URLs you want to add to your URL group. If you don’t see a specific URL, you can click Add URL and add it to your list.

Click Next.

You can add a domain, subdomain, page, or a category page.

Input URLs you want to add to your URL group
Input URLs you want to add to your URL group

On the “Select ads” page, use the controls to select the ad formats for your URL group.

If you don’t want to show any ads on the URLs you’ve selected for your URL group, leave all the ad formats unselected. For example, you might want to show no ads on your homepage and about page.

Leave Automatically get new formats selected if you want AdSense to automatically add new ad formats to your URL group as they become available.

Click Next.

name URL group
name URL group

On the “Review” page, give your URL group a name and check the assignment summary.
Click SAVE.

AdSense auto ads disabled on homepage
AdSense auto ads disabled on the homepage

The new settings will be applied to your selected URLs in about 10-20 minutes.

How to Disable auto ads on some pages?

If you no longer want to display ads on some of your website pages, then you can use the page exclusion option.

Goto Google AdSense dashboard. Under Ads option, click on Overview. You will see ads setup by sites.

Click the edit icon for the site you want to edit setup. It will open Auto Ad settings for the site.

Google AdSense auto ad setup
Google AdSense auto ad setup

Here you can see the option to add page exclusions.

Google AdSense auto ad site setup
Google AdSense auto ad site setup

Hit on the Manage button.

Click on Add Exclusion

Manage page exclusion
Manage page exclusion

Add URL where you want to remove AdSense auto ads.

Here you will get two options

  1. This page only: Exclude ads on the exact URL match only
  2. All pages under this section: Use this to remove auto ads from a specific category or on URL pattern.
Adding a single page to the exclusion list of Google Auto ads
Adding a single page to the exclusion list of Google Auto ads

Remember, URL group settings override your global settings on the domains, subdomains, site sections, or pages you’ve selected.

Google Auto Ads showing many ads?

Enabling Google auto ads may start showing many ads on your site. It is because by default ad balance ratio is set to 100%. You can use ad balance to reduce the number of advertisements on your website.

To change ad balance ratio, go to your AdSense dashboard >> My ads >> Ad balance

ad balance in AdSense
ad balance in AdSense

What do you think about this new feature? Let me know in the comment section below. Along with this, you might like to read my article on How to Increase AdSense Revenue.

You'll also like:

Continue to the category
Amit Malewarhttps://www.infophilic.com/
Amit Malewar has been the tutorial writer since 2013. His passion for helping people in all aspects of technology flow through the expert coverage he provides. In addition to writing for InfoPhilic, Amit loves to read and try new things.

Comment Policy: Your words are your own, so be nice and helpful if you can. Please, only use your real name and limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.


  1. Thank for u sharing…

    I have a problame to display auto adsense to my theme, I use newspaper by tagdiv…

    How to display auto adsense in newspaper theme???

  2. Thank you, Mr. Amit, for the valuable info, I am struggling with my google site for adding auto ads which are not possible kindly help me.


  3. I am using genesis cheild theme and cloudflare cdn. In my case no ads showing on header and widget section. What can be the issue ?? SIR please help me.

  4. Thanks for the information Amit, I have a blogspot blog sherekhudahazratali my query is while I inserted google auto ads code between head tags my page speed get down. so can please help me to provide the best location to put ads code which cannot effect on my page speed.

    Waiting for your reply.

    • Hello Raj,

      1. Make sure you have added Auto ad code under <code><head></code> section.
      If you're using Cloudflare, try disabling Rocket loader from Cloudflare's dashboard.

  5. Hi Amit,

    Auto ads are not showing on the home page of my WordPress blog on desktop. It's working on mobile version though. I'm using Child Theme on my blog and I've inserted the AdSense auto ads code in Child Theme Header.

  6. First, I installed Advanced Ads plugin for auto ads, after reading this post, added code in header.php and uninstalled plugins. Thanks.

  7. Auto ad is obviously best thing that ever happened to webmasters monetizing their blogs with Adsense…am so loving the technology

  8. Hi Amit Malewar , I am Sharaz . i have a Website and i am using Adsense Auto Ads for My Website But i Dont Know How To Avoid Invalid Clicks on Website Auto Ads .
    you Know Auto Ads code only put on website Header . So For Header Section Which Plugin i Should Use To Avoid Invalid Clicks ???
    Kindly Help Me ????

  9. Hi! Great post.
    I’m struggling with Adsense. I added URLs so that I could control what/where ads would show because I didn’t know I could do it for my homepage only. Anyway. So I created one for my homepage to exclude ads and wanted to remove the other two but when I tried it told me to unassign, and when I tried to do that I ended up grouping the two other URLs with that of my homepage. The two URLs look disabled and the homepage URL looks active, but my concern is no ads are showing on the two other pages and I wonder if it’s because I grouped them with my homepage that has all ads turned off.

    Can you provide the steps for properly removing URLs? Is there a reset option anywhere?


    Thank you.

  10. I’m using the only auto ad on my website but it only shows two ads per page. I want it show infeed ad. What I’ve to do.

  11. I am trying to implement Google AdSense Auto Ads on my new site “webposts.com”.
    I wish to show the ad on the whole site, therefore, wants to know where to add the code, in particular, it says to paste the ad code between the and tags of each page where you want to show Auto ads.

    Please help at the earliest.


Please enter your comment!
Please enter your name here




WP Coupons

The #1 WordPress coupon plugin for affiliate marketers to increase your CTR and conversions!