Created
August 30, 2016 22:25
-
-
Save csessig86/2480a764ae557b94842dc5607cce8a33 to your computer and use it in GitHub Desktop.
Inline ads still on homepage
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
<div id="div-gpt-ad-1414709823913-0-oop"> | |
<script type='text/javascript'> | |
googletag.cmd.push(function() { | |
googletag.display('div-gpt-ad-1414709823913-0-oop'); | |
}); | |
</script> | |
</div> | |
<div id="ad-out-of-page"> | |
<script type='text/javascript'> | |
googletag.cmd.push(function() { | |
var outOfPageMapping=googletag.sizeMapping() | |
.addSize([0,0],[1,1]) | |
.build(); | |
var slotm1 = googletag.defineOutOfPageSlot(dfpId+ DFP_sitepage,[1,1],'ad-out-of-page') | |
.setTargeting("position","1") | |
.defineSizeMapping(outOfPageMapping) | |
.addService(googletag.pubads()); | |
googletag.pubads().enableSingleRequest(); | |
googletag.enableServices(); | |
googletag.display('ad-out-of-page'); | |
}); | |
</script> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment