Home User profile
tagDiv Member
:-)
dcarrero
tagDiv Member

RAdu, I can’t user adsense options for my ads, because my ads create with google DFP.

dcarrero
tagDiv Member

thanks Marius 🙂 That’s great 🙂

dcarrero
tagDiv Member

thanks. I’ll try to fix this problem but I don’t locate scripts problems 🙁

dcarrero
tagDiv Member

Sorry. You don’t understand me. You theme customizer for ads is not good because you show all banners in some css layers, this for adsense is not correct.

dcarrero
tagDiv Member

Hello Marius,

Yes i can manage with this code, but i think than you must fix in your theme for new releases 🙂

Thanks.

dcarrero
tagDiv Member

I have the same problem with in http://vivirenelmundo.com

dcarrero
tagDiv Member

Great. I like new panel. I want to try now 🙂

regards
http://carrero.es

dcarrero
tagDiv Member

That’s ok for adsense code, but i use google dfp code 🙁 I can’t use adsense panel 🙁

dcarrero
tagDiv Member

For control resposive ads i’ll try this code for my google dfp codes:

<script>// <![CDATA[
var width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
if (width >= 800) {
// Activa el anuncio “Leaderboard” de 728×90 para pantallas anchas
document.write(‘<div id=”div-gpt-ad-1386425903792-6″ style=”width:728px; height:90px;”>’);
googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-1386425903792-6’); });
document.write(‘</div>’);

} else if ((width < 800) && (width > 500)) {
// Activa el anuncio de 468×60 para medianas (tablets)
document.write(‘<div id=”div-gpt-ad-1386425903792-5″ style=”width:468px; height:60px;”>’);
googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-1386425903792-5’); });
document.write(‘</div>’);

} else {
// Activa el anuncio de 320×50 para pantallas pequeñas (móviles)
document.write(‘<div id=”div-gpt-ad-1386425903792-4″ style=”width:320px; height:50px;”>’);
googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-1386425903792-4’); });
document.write(‘</div>’);
}
// ]]>
</script>

Viewing 9 posts - 26 through 34 (of 34 total)