Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

Ads Manager broke my comments on WpDiscuz  

Page 2 / 2

Tom
Posts: 3208
 Tom
Admin
(@tomson)
Support Team
Joined: 5 years ago

As I've already mentioned this code should not contain line breaks. try these variants:

 

<div style="overflow: hidden;">
<script>googletag.cmd.push(function() { var mappingInComments = googletag.sizeMapping().addSize([0, 0], [300,250]).addSize([336, 0], [[336,280],[300,250]]).build(); googletag.defineSlot('/283405443/PTP//news//article//in_comments', [300, 250], 'div-gpt-ad-in_comments-1').defineSizeMapping(mappingInComments).addService(googletag.pubads()); googletag.enableServices(); googletag.display('div-gpt-ad-in_comments-1');});</script>
</div>

 

<div style="overflow: hidden;"><script>googletag.cmd.push(function() { var mappingInComments = googletag.sizeMapping().addSize([0, 0], [300,250]).addSize([336, 0], [[336,280],[300,250]]).build(); googletag.defineSlot('/283405443/PTP//news//article//in_comments', [300, 250], 'div-gpt-ad-in_comments-1').defineSizeMapping(mappingInComments).addService(googletag.pubads()); googletag.enableServices(); googletag.display('div-gpt-ad-in_comments-1');});</script></div>

 

<script type="text/javascript">
googletag.cmd.push(function() {
var mappingInComments = googletag.sizeMapping().addSize([0, 0], [300,250]).addSize([336, 0], [[336,280],[300,250]]).build();
googletag.defineSlot('/283405443/PTP//news//article//in_comments', [300, 250], 'div-gpt-ad-in_comments-1').defineSizeMapping(mappingInComments).addService(googletag.pubads());
googletag.enableServices();
googletag.display('div-gpt-ad-in_comments-1');
});
</script>

 

Reply
Page 2 / 2
Share: