Hi,
I set up everything thanks to the article from bleen.net.
I added the DFP block where I want but the ad is not showing up.
In the header, I have (consider XXXXXXXX as my network id):
<!--//--><![CDATA[//><!--
googletag.defineSlot("/XXXXXXXX/Side_Ad_200x200", [200, 200], "dfp-ad-side_ad_200x200")
.addService(googletag.pubads());
//--><!]]>
<!--//--><![CDATA[//><!--
googletag.cmd.push(function() {
googletag.pubads().enableAsyncRendering();
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
});
googletag.enableServices();
//--><!]]>
And on my block:
<div class="panel-pane pane-block pane-dfp-side_ad_200x200">
<div class="pane-content">
<div id="dfp-ad-side_ad_200x200-wrapper" class="dfp-tag-wrapper">
<div id="dfp-ad-side_ad_200x200" class="dfp-tag-wrapper" style="display: none;">
<script type="text/javascript">
googletag.cmd.push(function() {
googletag.display("dfp-ad-side_ad_200x200");
});
</script>
<iframe id="google_ads_iframe_/XXXXXXXX/Side_Ad_200x200_0" name="google_ads_iframe_/XXXXXXXX/Side_Ad_200x200_0" width="200" height="200" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" src="javascript:"<html><body style='background:transparent'></body></html>"" style="border: 0px; vertical-align: bottom;"></iframe>
<iframe id="google_ads_iframe_/XXXXXXXX/Side_Ad_200x200_0__hidden__" name="google_ads_iframe_/XXXXXXXX/Side_Ad_200x200_0__hidden__" width="0" height="0" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" src="javascript:"<html><body style='background:transparent'></body></html>"" style="border: 0px; vertical-align: bottom; visibility: hidden; display: none;"></iframe>
</div>
</div>
</div>
</div>
I also checked a similar issue, but it didn't help me. Have I missed something?
Cheers,
Comments
Comment #1
bleen commentedremove that initial slash ...
Also, the last person that had this problem had his/her ad blocker on (doh!!!) Make sure that is off on your end.
Other than that, I dont see any problem
Comment #2
rylai-1 commentedMy bad, I saw a thread about this and wanted to try with an additional slash and forgot to remove it.
Either way it still doesn't work.
Comment #3
bleen commentedDid you ever solve your issue?
Comment #4
bleen commentedreopen if you can give clear steps to reproduce