Skip to content

Instantly share code, notes, and snippets.

@Santel
Last active December 19, 2015 12:29
Show Gist options
  • Save Santel/5955452 to your computer and use it in GitHub Desktop.
Save Santel/5955452 to your computer and use it in GitHub Desktop.
<div class="adsense_above_post">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-xxx";
width = document.documentElement.clientWidth;
/* Display Mobile Ads */
google_ad_slot = "xxx";
google_ad_width = 320;
google_ad_height = 50;
/* Display 336x280 if screen bigger than 480px */
if (width > 480) {
google_ad_slot = "xxx";
google_ad_width = 336;
google_ad_height = 280;
}
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment