auto Adsense Amp doesn't work

Posted in: Newspaper
Post count: 40

Hi all,

I have a problem with Auto Adsense AMP.

In the theme panel>analitics/js code>HEADER SCRIPT CODE> I set:
<script async custom-element=”amp-auto-ads”
src=”https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js”&gt;
</script>

And in Mobile Theme>Amp ADS> I set:

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

But the adsense auto amp doesn’t work.
Why?

thank you so much
David

Post count: 40

This is site and article example to check:
https://www.davidpinto.it/app-per-modificare-foto/

Post count: 40

up

Post count: 35449

Hi,

Please notice that writing multiple times in the same topic only delays the answer. In order to get a fast response, please write once and wait for an answer. We answer from oldest to newest so if you keep posting, your post is moved to fresher ones thus receiving the answer later until we answer all posts before your last reply.

Please check our documentation for How to Make an AMP Ready Website with Newspaper Theme -> https://tagdiv.com/amp-newspaper-theme/ here you’ll find how and were to set the code ads.

There are tow section one for amp ads and one for mobile ads -> https://www.screencast.com/t/2Tz1ccuM3y1 here is an example -> https://www.screencast.com/t/JFFiV6li3ofE
-> https://www.ampproject.org/docs/reference/components/amp-auto-ads

Thank you for your understanding!

Post count: 40

Thank you so much for supported me and sorry for the “up” message.

I have a problem with the java script for adsense amp.

here the screen-> https://ibb.co/NTw3041

thank you so much

Post count: 35449

Hi,

Please make sure that you are using for AMP the auto ads like in this documentation -> https://support.google.com/admanager/answer/6352089?hl=en -> https://prnt.sc/mzxm0t and for adsens ads in amp -> https://prnt.sc/my5bbs

Thank you!

Post count: 40

Hi Calin,

In my panel I don’t have in the voice “Google Adsense” in Mobile Ads.

Please check here: https://ibb.co/5s9xT1g

thank you

Post count: 35449

Hi,

This message appear because you set a custom JavaScript for ads and this is not allowed in custom JavaScript section, please remove the code from there.
The codes for auto ads need to be set only in analytics -> https://www.screencast.com/t/4yGlHBBQIGgH or in mobile theme > amp analytics -> https://www.screencast.com/t/0WqKEVLN

Thank you!

Post count: 40

Hi Calin,

i set the code javascript of adsense only here:
https://ibb.co/dDJDLmV

but I have the same problem:
https://ibb.co/kykJNQK

Thank you

Post count: 35449

Hi,

Is possible that one one that code to provide this problem, please save those codes in a file and remove theme from the analytics, after that clear all cache and see if the problems still there, if the problem is gone, insert the ads one by one checking which of them create this problem.

Thank you!

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