amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

google adsense Page-level ads

Open telmanik opened this issue 10 years ago • 4 comments

I'm not sure if we are missing something. Or if this is not supported yet. We are looking to get working google adsense Page-level ads

What I have tried. <amp-ad type="adsense" data-ad-client="ca-pub-XXXXXXX" enable_page_level_ads: true </amp-ad>

telmanik avatar Jun 11 '16 14:06 telmanik

Page level ads aren't supported in AMP (and won't be). They require dynamic modifications to the DOM that aren't allowed under AMP.

What are you trying to achieve? Is there a different way you can get there?

tdrl avatar Jun 13 '16 15:06 tdrl

Marking closed per https://github.com/ampproject/amphtml/issues/3553#issuecomment-225608460. We can reopen later if we can work around the dynamic modifications.

jridgewell avatar Jun 13 '16 16:06 jridgewell

It was a new feature by adsense. I was told there was a higher rate when it comes to the amount being earned.

telmanik avatar Jun 17 '16 11:06 telmanik

Does this code works in your AMP page?

dine1504 avatar Apr 01 '17 02:04 dine1504