Created
November 21, 2011 18:43
-
-
Save whyisjake/1383491 to your computer and use it in GitHub Desktop.
CSIF for ads
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
| //This is in the layout | |
| <script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'> | |
| </script> | |
| <script type='text/javascript'> | |
| GS_googleAddAdSenseService("ca-pub-1711976718738240"); | |
| GS_googleEnableAllServices(); | |
| </script> | |
| <script language="JavaScript"> | |
| GA_googleAddAttr("Sponsor", ""); | |
| </script> | |
| <script type='text/javascript'> | |
| GA_googleAddSlot("ca-pub-1711976718738240", "cz_blog_300x250_bottom"); | |
| GA_googleAddSlot("ca-pub-1711976718738240", "cz_blog_300x250_top"); | |
| GA_googleAddSlot("ca-pub-1711976718738240", "cz_blog_500x320_marquee"); | |
| GA_googleAddSlot("ca-pub-1711976718738240", "cz_blog_728x90"); | |
| </script> | |
| <csif cond="sponsor" eq="bernina"> | |
| <script type='text/javascript'> | |
| GA_googleAddAttr("Sponsor", "bernina"); | |
| GA_googleFetchAds(); | |
| </script> | |
| <cselse> | |
| <script type='text/javascript'> | |
| GA_googleFetchAds(); | |
| </script> | |
| </csif> | |
| // This is what I have on the page | |
| <csinclude record="cs_lay/74" field="pre" sponsor="bernina" current="proj" ad_section="projects" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment