How To Add & Enable AMP Auto Ads by AdSense Labs in WordPress

5

If you are Google AdSense Publisher you have probably know about AdSense Lab; There you can find only brand-new Adsense ads features that aren’t yet ready to be rolled out to all AdSense publishers. This week Google starts a new Ads is called AMP Auto Ads, a new family of Text and display ad formats that will be placed automatically within the AMP pages of our website/blog. It will show AMP page only not regular pages.

If you don’t know about AMP, then you should take a look at the AMP Project’s official page.Or you are not Implement AMP yet on your Blog/website then read this article How To Setup And Show Adsense Ads In Google AMP Page

The AMP Auto Ads is currently in beta testing, and it can be available only for those who are invited via e-mail from AdSense Lab. for more details read this official guide from Google AdSense. However, If you are a WordPress user and don’t know how to Implement AMP auto Ads, then you can follow this guide. ( Blogger user can also use the same method )

auto amp ads by google

How to Get AMP Auto Ads codes On Adsense

AMP Auto ads are automatically placed on your AMP pages. This tutorial shows you how to quickly implement the AMP Auto ad code on your AMP pages.

  1. First Visit Adsense account and Sign in to your AdSense account.
  2. In the left navigation panel, click on Optimisation.
  3. Click Labs.
  4. In the Lab Section, you can see AMP Auto Text And Display Ads
  5. Click To enable amp auto ads by adsense
  6. After enabled, there will be visible GET CODE button
  7. Click Get Code
  8. Copy the code and add those code head and body section.

If you don’t know where to add these codes, then follow this steps.

You May also Like How To Setup And Show Adsense Ads In Google AMP Page

How to Implement AMP Auto Ads On WordPress

WordPress user can directly add these codes to your WordPress Theme’s header.php file (by using Appearance > Editor) and apply the two AdSense scripts in the following way:

1. Login to your WordPress dashboard
2. Appearance > Editor
3.  edit your WordPress Theme’s header.php file (using Appearance > Editor) and implement the two AdSense codes in the following way:
[....]
<script async custom-element="amp-auto-ads" src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js"></script>
</head>

<body>
<amp-auto-ads type="adsense" data-ad-client="ca-pub-xxxxxxx"></amp-auto-ads>
</body>

Replace ca-pub-XXXXXXXXXXXX to your Publisher ID to work Adsense codes.

How To add AMP Auto Ads codes On Genesis Child Theme

Genesis theme user can add Adsense codes directly on genesis framework, Check how:

  1. Log in to your dashboard
  2. Click Genesis >> Theme setting
  3. Copy paste First add code on Head and second code on footer

auto amp ads on genesis child theme

By this way, you can also apply AMP ads codes on blogger theme, just you need to find where is the <head> code have.

If you have any problem feel free to feedback here and we will help you. Good Luch and Happy Advertising.

5 COMMENTS

  1. Hi Manoj,

    Nice article on AMP. If you want to use Google AMP Ads, you should have AMP versions of your pages to make them load quickly. Most of the users are not using AMP Pages in their sites or blogs because people are not aware of it.

    However, if you are using for WordPress then there is a plugin available (https://wordpress.org/plugins/amp/). Users can use this plugin to create AMP pages.

    Thanks for sharing an informative article with us.

    – Rajinder

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.