Google Adsense Ad on AMP page
-
Hi,
I want to show google adsense ad on AMP page and it was told that this code needs to add in
Step 1: Copy and paste the script in between the <head></head> tags of your site<script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>
and
Step 2: Copy and paste the AMP ad code in between the <body></body> tags of your pages
Place this code where you want an ad to appear. Do this for each individual ad unit, on every page.<amp-ad width="100vw" height="320" type="adsense" data-ad-client="ca-pub-3435518229263946" data-ad-slot="8810708759" data-auto-format="rspv" data-full-width=""> <div overflow=""></div> </amp-ad>
Please guide me where can i add the code to display ads in amp page.
Thanks
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Google Adsense Ad on AMP page’ is closed to new replies.