Last active
December 20, 2015 18:18
-
-
Save anandkumar/6174550 to your computer and use it in GitHub Desktop.
official responsive Adsense ad unit format - Async
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.adsense-ad-unit-1 { width: 320px; height: 50px; } | |
@media(min-width: 500px) { .adsense-ad-unit-1 { width: 468px; height: 60px; } } | |
@media(min-width: 800px) { .adsense-ad-unit-1 { width: 728px; height: 90px; } } | |
</style> | |
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> | |
<!-- Adsense Ad Unit 1 --> | |
<ins class="adsense-ad-unit-1" | |
style="display:inline-block" | |
data-ad-client="ca-pub-0000000000000" | |
data-ad-slot="xxxxxxxxxxx"></ins> | |
<script> | |
(adsbygoogle = window.adsbygoogle || []).push({}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment