• Resolved dblinks

    (@dblinks)


    From Google “The extension ‘amp-auto-ads’ was found on this page, but is unused. Please remove this extenstion.”

    This page won’t validate. What does that even mean. I have AMP auto ads turned on and using your premium plugin I bought.

    Thanks
    Stu

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @dblinks

    I checked the errors and it seems that you are adding the Adsense script in the header section of the amp which is not allowed, so if you remove it your issue gets resolved.

    and regarding the amp auto ads, it seems that you have just enabled the amp auto ads option without inserting the ad code thats why its showing errors.

    Thread Starter dblinks

    (@dblinks)

    I used what Google generated to put in your plugins AMP Auto Ads Code section for premium AMP ads? When you checked this it was active.

    I’m NOT inserting anything in the head except Google Analytics.

    This is what adsense said to put in the head. I put it in your premium auto ads section opposed to what you said in your response. I understand you may see a problem but I feel like I’ve done this correctly. (?) Thanks for your help.

    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: “ca-pub-xxxxxxxxxxxxxxxxxx”,
    enable_page_level_ads: true
    });
    </script>

    Thread Starter dblinks

    (@dblinks)

    Unresolved, Premium AMP Ads Plugin issue.

    Thread Starter dblinks

    (@dblinks)

    [resolved]
    After reading google code above is for non amp auto ads.

    This is correct and validates correctly:

    <amp-auto-ads
    type=”adsense”
    data-ad-client=”ca-pub-xxxxxxxxxxxxxxxxx”>
    </amp-auto-ads>

    @dblinks

    Yes, this is the correct AMP compatible code for amp auto ads.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Premium Ad Auto insertion’ is closed to new replies.