Extra div Block
-
Hi,
I currently use DFP handle my ad serving but wanted to use Advanced Ads to control which dfp tags show on my site depending on the tag/category the post is in. I’ve I’ve some content that isn’t suitable to show Adsense on so thought this would be a perfect solution.
I have a responsive site and depending on the screen size ads show in different locations depending on the screen size, this is all controlled from within the dfp tag.
This was working fine until I set up advanced ads.
I set everything up in advanced ads and everything Worked perfectly or so I thought.
I’ve now noticed that some of the formattings is off on the page when the page isn’t the right size for the ad to be shown.
I’ve pinned down the problem and it seems that advanced ads is wrapping my adcode in a div block: As seen in the example below
<div class=”bigst-articleinline” id=”bigst-1992775293″><div class=”adsbygoogle” id=”div-gpt-ad-1234567891235-0″ style=”display: none;”> </div></div>
Is there any way for me to change this so it just outputs my ad code without wrapping it in the div?
The topic ‘Extra div Block’ is closed to new replies.