Created
February 21, 2013 12:12
-
-
Save anandkumar/5004338 to your computer and use it in GitHub Desktop.
This file contains 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
<script type="text/javascript"> | |
google_ad_client = "ca-publisher-id", | |
if (window. innerWidth> = 800) { | |
google_ad_slot = " ad-unit-1 "; | |
google_ad_width = 728; | |
google_ad_height = 90; | |
} Else if (window.innerWidth <400) { | |
google_ad_slot = " ad-unit-2 "; | |
google_ad_width = 300; | |
google_ad_height = 250; | |
Else {} | |
google_ad_slot = " ad-unit-3 "; | |
google_ad_width = 468; | |
google_ad_height = 60; | |
} | |
</ script> | |
<script type = "text / javascript" | |
src = " http://pagead2.googlesyndication.com/pagead/show_ads.js "> | |
</ script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment