Skip to content

Instantly share code, notes, and snippets.

@felixlaumon
Created October 21, 2013 08:08
Show Gist options
  • Save felixlaumon/7080242 to your computer and use it in GitHub Desktop.
Save felixlaumon/7080242 to your computer and use it in GitHub Desktop.
<script type='text/javascript'>
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() {
googletag.defineOutOfPageSlot('/15123798/Onswipe_TestPub/engineeringadclone', 'div-gpt-ad-1381847130296-0-oop').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
<!-- Onswipe_TestPub/engineeringadclone out-of-page -->
<div id='div-gpt-ad-1381847130296-0-oop'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1381847130296-0-oop'); });
</script>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment