AMP auto ads

Posted in: Newspaper
Post count: 5

Hello,

I have implemented amp+mobile in my website and placed the adsense auto amp ads, but the amp auto ads never appear.

I am doing something wrong?

Post count: 35449

Hi,

How to set up Auto ads -> https://support.google.com/adsense/answer/7480616?hl=en
About Auto ads for AMP -> https://support.google.com/adsense/answer/9011462?hl=en
The code for desktop need to be set in Theme panel>Analytics -> https://www.screencast.com/t/4yGlHBBQIGgH and for mobile theme need to be set in theme panel > Mobile theme > AMP Ads -> https://www.screencast.com/t/0WqKEVLN

If there is still a problem, please provide me a link were I can take a closer look.

Thank you for your understanding!

Post count: 22

Hello,

Where i need to place the code?
<script async custom-element=”amp-auto-ads”
src=”https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js”&gt;
</script>

and the rest of the code?
<amp-auto-ads type=”adsense”

Thank you.

  • This reply was modified 6 years by pedroreis.
Post count: 35449

Hello,

That code need to be set in Theme panel> Mobile theme > AMP ads -> http://prntscr.com/pdog98 for this you’ll need to use the mobile theme plugin and amp plugin, and make sure that you are using the amp or mobile + amp option.

Thank you!

Post count: 22

Hello,

So, i need to place both codes in “AdSense Auto Ads for AMP” area?

“<script async custom-element=”amp-auto-ads”
src=”https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js”&gt;
</script>
<amp-auto-ads type=”adsense”
data-ad-client=”ca-pub-xxx”>
</amp-auto-ads>”

Is this right?

Post count: 35449

Hello,

Yes, both of theme are amp auto ads.

Thank you!

Post count: 77

Hi Calin, I’m not sure if I understood you correctly. Should I paste both code in section like in this example: https://prnt.sc/phdpyv

Post count: 35449

HI Jumich,

Usually if you are using the mobile theme will be enough to set this type of code -> http://prntscr.com/phftig, the second one -> http://prntscr.com/phfttp is already in the theme -> http://prntscr.com/phfsrp

Thank you!

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