amp-ad extension .js script” present more than once in the document

Posted in: Newspaper
Post count: 2

Hello. I enabled the plugin tagDiv AMP. But i have an issue at Google search Console. I get a warning for some pages ””amp-ad extension .js script” present more than once in the document.” How can i fix that?

Site: https://proklitiko.gr/

Screenshots:

https://i.imgur.com/z3LUEZQ.jpg

https://i.imgur.com/971MQGl.jpg

  • This topic was modified 7 years by giorgos61.
Post count: 20688

Hi,

Seems something is adding another amp-ad extension in the AMP version. The theme will load it once when you set adsense ads.
But in your case it is loaded again by something – http://prntscr.com/mnkclv

If you use a plugin to implement the AMP ads, maybe this has a setting to not add this script in the AMP header. Having two of them will be an issue as the validator states, but the validation still passes – http://prntscr.com/mnkeur

Thanks

Post count: 2

Thanks for your answer.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.