Created
August 8, 2012 01:35
-
-
Save c4milo/3291257 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE HTML> | |
<html lang="en-us"> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>Widgets Magazine</title> | |
<style type="text/css" media="screen"> | |
</style> | |
<script type='text/javascript'> | |
(function() { | |
var useSSL = 'https:' == document.location.protocol; | |
var src = (useSSL ? 'https:' : 'http:') + | |
'//www.googletagservices.com/tag/js/gpt_mobile.js'; | |
document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>'); | |
})(); | |
</script> | |
<script type='text/javascript'> | |
googletag.cmd.push(function() { | |
googletag.defineSlot('/1210941/Mobile_Adhesion_320x50', [320, 50], 'div-gpt-ad-1343861299729-0').addService(googletag.pubads()); | |
googletag.defineSlot('/1210941/Mobile_Adhesion_320x50', [320, 50], 'div-gpt-ad-1343861299729-1').addService(googletag.pubads()); | |
googletag.enableServices(); | |
}); | |
</script> | |
</head> | |
<body> | |
<!-- Mobile_Adhesion_320x50 --> | |
<div id='div-gpt-ad-1343861299729-0'> | |
<script type='text/javascript'> | |
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1343861299729-0')}); | |
</script> | |
</div> | |
<div id='div-gpt-ad-1343861299729-1'> | |
<script type='text/javascript'> | |
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1343861299729-1')}); | |
</script> | |
</div> | |
</body> | |
</html> | |
how would this solve this issue i was having!? haha, what have you learned?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It basically adds a new slot for the same AdUnit pointing to a different div id.