Clicky

  1. Home
  2. How To
  3. How To set up Auto Ads in AMP

How To set up Auto Ads in AMP

There are three ways to Add Auto Ads in AMP:

  1. By AdsforWP plugin
  2. By Advanced AMP ADS extension.
  3. By AMPforWP plugin

1. With the help of AdsforWP plugin.

You can download ADSforWP Plugin from here.

After installing this plugin Ads option will be displayed on the WordPress dashboard ->Ads Option -> create new Ads.

  • First Select the AdSense Option then Select the type Ads “Auto Ads” then you need to enter the data client ID ( publisher ID )
  • Click on Publish button your Auto Ads will be displayed on AMP pages.

2. With the help of Advanced AMP ADS extension.

You can download Advanced AMP ADS extension from here.

  • First, Go to WordPress admin area ->AMP option panel -> Advanced AMP ADS.

  • AMP Auto Ads: Once you enable this option script will automatically be added in the head tag.
  • AMP Auto Ads Code: In this textarea, you need to paste the Auto Ads code from Google AdSense.
  • Click on saves change button your Auto Ads will be displayed on AMP pages.

3. With the help of our AMPforWP plugin.

  • First, go to WordPress admin area ->AMP option panel -> Settings -> Advance settings.
  • Enter HTML in Header: In head tag, you need to add Auto Ads script tag.
  • Enter HTML in Body (beginning of body tag): In body tag, you need to add Auto Ads tag.
  • Click on save changes button your Auto Ads will be displayed on AMP pages.

Troubleshooting of No anchor element found in Auto Ads :

  • Use standard ads instead of the Auto ads. because google Auto Ads are like experimental ads by Google.
  • You can display your Ads in a certain area by using standard Ads.

Note:We just only place the markup for Auto Ads but google will decide where and what time to display the Ads in your website.

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on July 15, 2019

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Comments

  1. Hello, I am an ampforwp user and fan, and before I put sticky ads and automatic ads on ampforwp it went smoothly, but later I checked it turns out that the ads don’t want to appear even though I have installed the ad code. Please inform me how to deal with that?

    1. Alviyatun,

      It’s really strange to hear that the Ads are not working, will you please provide us the screenshot and exact URL of your website so that we can help you.

  2. after one-day implementing amp for WP. on mobile non-amp version getting loaded.
    No auto ads.
    but on non-amp version overlay ads only showing.

    what wrong has been done?
    how to fix http://www.eduroost.com is the site.
    new to all this, please help.

    1. Hi Raúl De Padua,

      Will you please provide a screenshot where you place auto ads so that we will check and help you as soon as possible.

  3. I pasted the auto code of google adsense and after going to advanced settings of the amp, since then the error of my google webmaster javascript started coming, so please just want to know how I lagau in auto amp code amp version of google adsense

    1. Hi shani kumar,

      Will you please provide us the URL of your website so we will check from where you are getting issues and help you.

  4. Not Working
    I tried adding up the codes in Header and Body Section. But its not working. I thought it may take time But when I had a glance at my website the next day, nothing had happened. I need to know. What can i do.
    My Website is “https://www.thestatusbox.in/” if anyone can help then help me. (check my website address using amp at the end).

    1. Hi Jayash Verma,

      Have you set up the auto ads in the Google AdSense? because we have checked the issue and you can check in the source code – https://monosnap.com/file/2um9GflimKuyngffVZWAxU0FLIQR48
      The code of amp auto ads are loading fine and if you have not set up the auto ads then you can follow this tutorial to setup –
      https://www.shoutmeloud.com/adsense-auto-ads.html
      And if you have any issues/problems after following this tutorial also then please let us know and we will personally help you.

    1. Hi Arvind,

      Will you please provide us exact URL where you are having an issue so that we can check and get back to you.

  5. Hello i have problem
    im use SWIFT TEMPLATE on my website
    im use advance setting for auto ads, and i get error Google Webmaster Tools ”
    The ‘amp-auto-ads extension .js script’ tag appears more than …”

    How to solve my problem?

    1. Hi nafradws,

      Will you please provide us exact URL where you are having an issue so that we can check and get back to you.

  6. Hi Sir My Name is Mahatab singh and i have a blog https://autobiography.tech/. currently showing this error ” The tag ‘amp-auto-ads extension .js script’ appears more than once in the document.”. How to solve this error.

    1. Hi Mahatab Singh,

      Could you please tell us have you removed the amp-auto-ads on your website.

  7. I am runnig the auto ads from Google but this message appears on Search console: “The tag ‘amp-auto-ads extension .js script’ appears more than once in the document.”. There is any way to solve this iussue?

  8. My support has expired. But validation issues due to the reason “The tag ‘amp-auto-ads extension .js script’ appears more than once in the document” started appearing after update to v1.0.10 and remains same till v1.0.12. Rolling back to v1.0.9 resolves the problem.
    Instead of implementing auto ads through Ads for Wp I applied alternative method of putting code in head and body through plugin panel but remains same. I think its issue with plugin.
    My website is https://www.sportscourant.com

    1. Hi Azhar Nadeem,

      We have checked your website and found that there is no error at the moment and we already fix this issue in this 1.9.15.2 version of adsforwp plugin and still if you are facing issue/problem then contact our technical team – https://ampforwp.com/support/ they will help you as soon as possible.

  9. Amp-auto-ads appear more than once in the document. How to resolve this error?

    1. Hi Mayank,

      Will you please provide us exact URL where you are having an issue so that we can check and fix it immediately.

Leave a Comment