Hi Spacetime
We installed your plugin on a test site and pretty good so far. I am able to stack multiple (gt)ad-slots in the header area and they show up where designated :). We have a custom header for dfp, I understand I would need to make a hook to place them on that header is that correct?
—————————–Header—————————————————
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/123456789/client-300x250', [300, 250], 'div-gpt-ad-987654321-0').addService(googletag.pubads());
googletag.defineSlot('/123456789/client-300x600', [300, 600], 'div-gpt-ad-987654321-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
But when placing multiple ads in the same block, they are rendered with no gutter between them ?? How can I place multiple ads in the same block and get a space placed between them? I can’t seem to find any options for that —like “Separate Ads In Blocks”
————————————–Block 2[Main Sidebar]————————–
<!-- /123456789/client-300x600 -->
<div id='div-gpt-ad-987654321-0' style='min-width: 300px; min-height: 600px;'>
<script>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-987654321-0'); });
</script>
</div>
<!-- /123456789/client-300x250 -->
<div id='div-gpt-ad-987654321-0' style='min-width: 300px; min-height: 250px;'>
<script>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-987654321-0'); });
</script>
</div>
Can you point me in the right direction, I maybe missing a step.
Thanks —Rob
-
This reply was modified 2 years, 8 months ago by
sachristan.