• Resolved Rajibul Islam

    (@rajibms)


    Hi,
    I am getting following error in my search console from 4 January.
    “The tag ‘amp-auto-ads extension .js script’ appears more than once in the document.”
    I am using Genesis Theme and Using Adsense Auto Ad Codes. I did not make any change recently and everything was fine for long time but now i am getting that error in my search console.

    Will you help me how can i get ride from this error?

    Thanks

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    This issue is coming because of the wrong implementation of amp-auto-ads. Can you please tell me how did you implement amp-auto-ads?

    Thread Starter Rajibul Islam

    (@rajibms)

    Using Genesis theme i implement the adsense code in Header scripts Box. Codes are following

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

    Also i am using Ad Inserter Plugin for Desktop/mobile Ad. My Adsense show that AMP is On too.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We checked your issue. The above script in the Non-AMP script. This error happens to the amp-auto-ads script tag is appears more than one time.
    1. Can you please tell me are you add any extra script in Advance settings in AMP?
    AMP-> Settings-> Advance Settings
    2. Can you please disable all plugins and clear cache and check whether the script is loading or not?

    Thread Starter Rajibul Islam

    (@rajibms)

    1. Yes I have added AMP Auto ad script in advanced settings
    Enter HTML in Head ()
    Enter HTML in Body ()

    2. There is No amp-auto-ads script after disabling all plugins

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We didn’t find any issue on your page. That is a valid AMP page.
    Ref: https://search.google.com/test/amp?id=A3N2pba3KsIkH4f5CxdxLg

    Are you still facing this issue?

    Thread Starter Rajibul Islam

    (@rajibms)

    Its working Now and Search Console started validation.

    Thanks

    Please, what to do after disabled all plugins and cleared cache ?

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    bobbypheno: As per the forum guidelines you have to be created a new topic.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘The tag ‘amp-auto-ads extension .js script’ appears more than once in the doc’ is closed to new replies.