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

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

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.
    • Vignette Ad: Full-screen Ads. Dismissible.

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.

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 exclude automatic ads from showing on specific pages?

In order to exclude Adsense Auto Ads from showing on specific pages, you need to create a new URL Group from Auto Ads section. Click Add URL. Enter the page link which you want to exclude. Click Next.  Select the type of Ad that you want to exclude or select all of you want to exclude Ads completely on that page. lick next. Specify a URL group name. Click Save. It’s done.

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. Google 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.

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.

Click on the enable option in Step 1. In Step 2 and 3, 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 code with AMP Ad’s Header Code & //Your Footer code with AMP Ad’s Footer Code in the code below

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

// Adding Header Code in AMP pages in WordPress 
 add_action('amp_post_template_head','wroffle_amp_my_custom_head');
 function wroffle_amp_my_custom_head($amp_template) {
 ?>
 //Your Header Code
 <?php
 }

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

//Adding Footer Code in AMP pages in WordPress
add_action('amp_post_template_footer','wroffle_amp_my_custom_footer');
function wroffle_amp_my_custom_footer($amp_template) { 
?>
//Your Footer code
<?php 
}

If you need any further assistance, feel free to contact me in my Facebook Group:  Brandnol Digital Marketing Group

Signup for Premium Content!

Enter Your Email Below to Get Access To Exclusive Content

Ankur Shrivastava

Ankur Shrivastava is a certified Full Stack Digital Marketing Professional. He works as a Marketing Analyst / SEO at ShareChat. He has a solid knowledge and experience of Digital Business Transition, SEO, Keyword Research, PPC, Site Audit, Social Media Optimization, Social Media Marketing, Link Building and more.

27 Comments

shreya varshney · March 14, 2018 at 5:29 pm

Fantastic post 🙂

    Ankur · March 16, 2018 at 4:10 pm

    I’m glad you liked it!

Manikandan · March 17, 2018 at 6:19 pm

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 · March 18, 2018 at 10:36 pm

    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!

Charlie · April 10, 2018 at 5:11 pm

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

Nikhil Ranjan Dey · April 10, 2018 at 5:28 pm

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.

Jane · April 10, 2018 at 6:06 pm

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

mohammad shamshuddeen · April 10, 2018 at 6:10 pm

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.

The Philippines Today · April 29, 2018 at 3:52 pm

Glad you mentioned to use a child theme, I was about to try it on my parent theme

    Ankur Shrivastava · June 15, 2018 at 2:23 pm

    Thank You 🙂

    AzLews.CoM · July 20, 2018 at 7:30 pm

    i still don’t understand about child theme,
    honestly i don’t understand about “Best way to insert code snippets in Header and Footer to WordPress AMP Pages”

    could u make simple definition for that,
    i’m so sorry for english and newbee

Richelle · June 8, 2018 at 7:19 am

Thanks for sharing this detail. Another question, if I use ezoic comes with whether there is a conflict? Sorry if this is a silly question

Digbijay Mohanty · June 14, 2018 at 8:58 pm

I was searching for some Bug fix on AMP for WP plugin and found this really time saving tutorial. Thanks a lot Ankur for this detailed article.

Marguerite Marble · August 14, 2018 at 7:31 am

There’s noticeably a bundle to find out about this. I assume you made sure good factors in options also.

Deva S · August 15, 2018 at 12:12 pm

Very nice post, its very useful for my websites.

Hussain · August 25, 2018 at 9:03 pm

HI Ankur,
I have tried various methods of adding amp auto ads on my website that includes using ampforwp plugin and adding code in header and footer. but nothing works.
just wanted to know if there is any other free plugin for adding adsense ads on amp.

Corinne Simpon · August 30, 2018 at 4:02 am

Hello. impressive job. I did not anticipate this.

Charissa Carozza · September 2, 2018 at 10:49 pm

With thanks! Valuable information!

Onam Sharma · January 22, 2019 at 3:26 pm

I need to know how can we add ads in content in amp pages. Please help

Leave a Reply

Your email address will not be published. Required fields are marked *

Are You A Serious Marketer?

Enter Your Email Below to Get Access To Exclusive Marketing Secrets
close-link

Signup for Premium Content!

Enter Your Email Below to Get Access To Exclusive Content
1 Shares
Share
Tweet