Skip to content

Instantly share code, notes, and snippets.

@jangelho
Last active June 1, 2016 00:16
Show Gist options
  • Save jangelho/93673059b07e2b8651ccc7b0febecf87 to your computer and use it in GitHub Desktop.
Save jangelho/93673059b07e2b8651ccc7b0febecf87 to your computer and use it in GitHub Desktop.
<head>
<!-- Start: GPT Async -->
<script type='text/javascript'>
var gptadslots=[];
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
(function(){ var gads = document.createElement('script');
gads.async = true; gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
})();
</script>
<script type="text/javascript">
googletag.cmd.push(function() {
//Adslot oop declaration
gptadslots[0] = googletag.defineOutOfPageSlot('/72776159/ObrasMobile/marfeel', 'div-gpt-ad-584486777641700588-oop').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().enableAsyncRendering();
googletag.enableServices();
});
</script>
</head>
<!-- End: GPT -->
<!-- Beginning Async AdSlot oop for Ad unit ChilangoMobile/marfeel ### size: -->
<!-- Adslot's refresh function: googletag.pubads().refresh([gptadslots[0]]) -->
<div id='div-gpt-ad-584486777641700588-oop'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-584486777641700588-oop'); });
</script>
</div>
<!-- End AdSlot oop -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment