• Resolved iHuongDan Blog

    (@ihuongdanvn)


    Hello! Currently my website https://ihuongdan.vn has installed and used this AMP plugin. But I got the following message from Google: The ‘amp-auto-ads extension .js script’ tag appears more than once in the docume. Look forward to helping! Thank you!

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

    (@ahmedkaludi)

    We checked your issue. 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?

    I have the same issue for my website :Saham Ok

    I put some script in settings:

    AMP->Settings->Advance Settings->Enter HTML in Head :

    <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>
    
    <script async custom-element="amp-auto-ads"
            src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js">
    </script>

    AMP->Settings->Advance Settings->Enter HTML in Body :
    ‘<amp-auto-ads type=”adsense”
    data-ad-client=”ca-pub-07714299172xxxxx”>
    </amp-auto-ads>’

    I look at the AMP source code and there is an extra amp-auto-ads in there:
    amp-auto-ads-latest.js

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    edsbali: We checked your issue. There is no need to add any extra script in Html head. It automatically works. So please remove that code and check once whether the script is loading or not.

    I’m having the same issue still on the latest plugin version 1.10.12. I was attempting to use “Ads for WP” to handle the code injection with Adsense Auto-Ads. my website is https://techtipsvr.com or the amp version is https://techtipsvr.com/amp/

    • This reply was modified 4 years, 10 months ago by C. M. Costa.
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    cmcostawriter: As per the forum guidelines, you have to create a new topic.

    Hello, I have a problem, as described by @ihuongdanvn (Google sent me a notification today) and @edsbali (similar settings in AMP->Settings->Advance Settings->Enter HTML in Head and AMP->Settings->Advance Settings->Enter HTML in Body : ; only ca-pub- ID is mine).

    My website: mtt.in.ua

    Please, help me!

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    kirotsi: As per the forum guidelines, you have to create a new topic.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘The ‘amp-auto-ads extension .js script’…’ is closed to new replies.