amp-auto-ads extension .js script’ appears more than once
-
Hello,
I am using the version 1.0.13 and followed the below guide setting up the auto ads in the advance settings:
https://ampforwp.com/tutorials/article/how-to-set-auto-ads-in-amp/ ( 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.)
So, I just added the code provided by Google.I also have Google site kit version 1.1.4 running in my website.
Please notice that Google recommends to place the following code in your AMP site version:
Head :
<script async custom-element=”amp-auto-ads”
src=”https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js”>
</script>Body
<amp-auto-ads type=”adsense”
data-ad-client=”ca-pub-********************”>
</amp-auto-ads>However, I still received the below error message when run the amp validator:
The tag ‘amp-auto-ads extension .js script’ appears more than once.
I have the same error in more than 69 articles, including the url mentionned.
I saw other people also have the same issue.
Could you please have a look?
Thanks.
The page I need help with: [log in to see the link]
- The topic ‘amp-auto-ads extension .js script’ appears more than once’ is closed to new replies.