Mr. Pickles the AdPlugg Pug

Third party code for banner doesn't work



I've got an urgent question and need your help. I've paste a third party code like that:  

<div id="ceneoaffcontainer384862"></div><script type="text/javascript">var stamp = parseInt(new Date().getTime()/86400, 10);var script = document.createElement('script');script.setAttribute('type', 'text/javascript');script.setAttribute('src', '//partnerzyapi.ceneo.pl/External/dc.js?id=384862&channelId=13807&partnerId=10944&graphicId=2905&newTab=false&'+stamp);script.setAttribute('charset', 'utf-8');var head = document.getElementsByTagName('head')[0];head.appendChild(script);</script>

I checked an option "iframe" because without it banner was shown improper. But now it is unclickable? What did I do wrong? How to make it to open it in a new window? 

You can see it on Radioklinika.pl in header 

Best regards




Hi, I tried switching the part of that tag where it says "newTab=false" to "newTab=true" and that fixed it. Without that, the ad tries to load inside the iframe which isn't allowed based on the X-Frame-Options=sameorigin header returned by the advertiser's server. The X-Frame-Options=sameorigin error could be seen in the Chrome Developer Tools console.

new tab works. Thanks a lot! It was in "iframe" because I've check that option in adplugg. Please look at radioklinika.pl and see how it is show without this option. Banner has 750x100. Placement allow that size. Any idea how to fix that!
sorry, looks like it works super now! Thanks a lot again
I'm not sure why but your theme is setting any images in that location to `position: absolute`. This is what is causing the ad image to appear at the top instead of in line with your logo. You can fix by adding this rule to your stylesheet: `.td-header-sp-recs img {position: relative;}`. You can add this to your stylesheet from the wp-admin by going to Appearance > Customize > Additional CSS. Make sure to remove the backticks surrounding the provided CSS rule.