Press "Enter" to skip to content

Adsense Auto Ads Complete Tutorial [including AMP Ads]

Ankur Shrivastava 9

What are Adsense Auto Ads?

Google Adsense has released a new feature called Adsense Auto Ads, which eases the process of inserting Ad units on your blog posts and pages. It uses Machine Learning and automatically inserts appropriate Ads at appropriate places to maximize your earnings and CTR.

Earlier, one had to create separate Ad units for different places on the website. Now, this hectic process has been dedicated. Google has imbibed Machine Learning into Adsense in the name of Auto Ads.

Benefits of using Adsense Auto Ads

Adsense Auto Ads

It simplifies the monetization process. You just have to copy a code snippet (aka ads placement codes) into your ‘head’ tag or ‘body’ tag (only if you don’t have access to your ‘head’ section). Google will do rest of the work.

You don’t have to worry about policy violation thereafter concerning Ad placement no more.

Truth be told, It will tremendously improve the Click-through Rate. It will increase Google Adsense income. 

It’s located here:  Adsense Menu -> My ads -> Content -> Auto Ads 

Adsense Auto Ads

Type of Ads in Adsense Auto Ads

As a matter of fact, it offers 2 broad categories of Ads and a total of 6 types of Ads to choose from.

  • In-page Ads
    • AMP Auto Ads – Text & Display Ads: It’s the traditional way to get banner ads on the page which is being used since ages.
    • In-feed ads: These ads flow naturally inside a feed. Like ads in-between posts on a category page.
    • In-article Ads: These ads fit seamlessly between paragraphs.
    • Matched Content: These Ads combines ads with content recommendations. It tremendously increases user engagement!
  • Overlay Ads
    • Anchor Ads: These mobile ads stick to the edge of the user’s screen.
    • Vingette Ad: Full-screen Ads. Dismissible.
adsense auto ads in page ads
In-page ads
Adsense auto ads overlay ads
Overlay Ads

How to enable Adsense Auto Ads (Complete Guide)

Select the types of Ads of your preference to allow on your website as shown in the images above. Click Save! If you already have Adsense Ads implemented on your website, you don’t have to do anything else. Google Adsense will automatically manage all the previously inserted manual Ads too!

In case, you are implementing Adsense Ads for the first time, all you need to do is to copy and paste the code snippet it provides after saving in the previous step to your ‘head’ section. In case you don’t have access to your website’s head section, you can copy the snippet to you ‘body’ section too, just after opening the body tag.

Adsense auto ads implementation
Copy this code snippet to your  <head> section

I would like to point out one thing here, it might take up to 20 minutes for the changes to take effect! Google claims to double your income and why not? It uses Artificial Intelligence and Machine Learning to automatically insert ads where chances of clicks are the highest! Enjoy!

How to Add Google Adsense Ads on AMP Pages?

Well, there are a lot of WordPress Plugins, which lets you insert Ads into AMP Pages or enable AMP Ads. Plugins like AMP for WP provides that feature but charge you around $30 extra in the name of extensions, if you need to insert Ads in between paragraphs of your blog post. Gooogle has made it free. If you don’t have a WordPress blog, read how to create a blog from scratch without coding. Read on to know how to use this free feature.

There is ‘Lab’ option in the left menu of Google Adsense Dashboard under ‘Optimization’ tab. Basically, this is an experimental feature and you might and might not get this option in your Adsense Dashboard. But if it is, it is the most noteworthy feature which will save you a lot of money as I mentioned above. This cool feature saves you a lot of bucks. Here is how to enable Adsense Ads on AMP Pages.

First of all, go to ‘Optimization’ tab. Then click on ‘Labs’ subtab. There you will find an enable option under Available Labs. What you need to do is just to enable it. (See the image below). Finally, it will provide you with two sets of AMP code snippets (aka ads placement codes) which you’ll need to put inside 2 different HTML sections of your AMP pages One, that you’ll need to put in your AMP Page Header. Second, which you’ll need to put in the body section of your AMP Page. Google might take around 20 minutes to automatically optimize and show ads on your AMP pages.

How to insert Adsense AMP Auto Ads Manually in WordPress?

First, read the right way to customize a plugin then proceed or skip to the next method.

Navigate to ‘html-start.php’ file through FTP/SFTP inside AMP Plugin folder like the way it is shown in this image. Though you can implement this using Headers and Footers WordPress Plugin, it’s better to add it manually as I’ve seen cases where it doesn’t work properly in case of the plugin.

Best way to insert code snippets in Header and Footer to WordPress AMP Pages

Here we will use hooks, header action hook as amp_post_template_head & footer action hook as amp_post_template_footer. Make sure you use a child theme.

Replace //Your Header/Footer code with AMP Ad’s Header/Footer Code in the code below

Add this snippet below to your theme’s functions.php file

Similarly, add the snippet below to your theme’s functions.php

It’s time to Tweet! 😀




What are your thoughts on Google Adsense  Auto Ads? Do let me know in the comments section below.

Buckle Up

Join 1827 other subscribers



  1. shreya varshney shreya varshney

    Fantastic post 🙂

    • Ankur Ankur

      I’m glad you liked it!

  2. Hi Ankur,

    Really thanks a lot for this wonderful article regarding amp auto ads.I searched many blogs,wordpress forum for my doubt on implementing amp auto ads in my wordpress website. Your article explains me clearly how to use amp auto ads.

    None of the blog explains about labs section.thanks to bring that to notice.

    I have one doubt hope you can clear me that.I followed all the instruction you have mentioned.Since i am using wordpress website but don’t have FTP side i used to add code using plugins.

    For amp auto ads i have used AMP for WP plugin in that we have option to add code in head and body section >> Is it fine if i add the codes using that plugin will it work?

    I am already using header and footer plugin but in that we don’t have option to add code in body opening section.

    I am eagerly waiting for your reply?

    • Ankur Ankur

      First of all, I’m glad you liked it!
      You can insert those codes in the header and footer plugin. It will work!
      And yeah, AMP for WP plugin is a really awesome plugin. It has the option to add code in head and body section. You can add those code there itself. it will work very well!

  3. Charlie Charlie

    This is the best feature from adsense, thanks for sharing this article

  4. Thanks Google for this feature. There is something new the way we add AdSense code in our page. It’s definitely exciting. Going to check and add right now in my blog.

  5. Jane Jane

    That’s a great article! Thanks for the info!

  6. mohammad shamshuddeen mohammad shamshuddeen

    It’s good to know such features on the Google Adsense platform. They are one of the top advertising networks online at the moment. You can earn a decent amount of money with the ad network if you have enough revenue.

Ask a question

You have to agree to the comment policy.

10 − 8 =