Skip to content

Instantly share code, notes, and snippets.

@DarrylDias
Created June 8, 2017 14:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save DarrylDias/3d308ec2f6f2eb061ba1b6a2c14116d4 to your computer and use it in GitHub Desktop.
AdSense optimised for AMP.
<!-- AdSense Snippet -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block;"
data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
data-ad-slot="xxxxxxxxxx"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- End AdSense Snippet -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment