Support » Plugin: Advanced Ads – Ad Manager & AdSense » Uanble to see adsense ads on single pages

  • Resolved Atul Bansal

    (@techofweb)


    On my site, some of the pages see Inline adsense ads as collapsed/blank box.
    While on few pages, it works

    Actually, its not pages issue
    Sometimes it shows and other times, it does not show

    I am injecting adsense ads using “Plain Text and Code”
    I tried using “Adsense Ad” radio-button also but that too does not work

    Please help

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Thomas M

    (@webzunft)

    Hi Atul,

    thanks for reaching out.

    I know that AdSense has issues with responsive ads on some themes. Do you know how to check the browser console for JavaScript errors? When responsive ads are not filled, you might see an error as documented in this article.

    You can use manual sizes to fix it, but I would first like to know if there is an error given or not.

    Thanks,
    Thomas

    Thread Starter Atul Bansal

    (@techofweb)

    HI

    still your solutions are not working for me.
    I pasted below code (removed angle brackets so that it can work here)

    style type=”text/css”
    .adslot_1 { width: 320px; height: 100px; }
    media (min-width:500px) { .adslot_1 { width: 356px; height: 60px; } }
    media (min-width:800px) { .adslot_1 { width: 656px; height: 164px; } }
    style
    script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js” script
    ins class=”adsbygoogle adslot_1″

    Thread Starter Atul Bansal

    (@techofweb)

    i cannot see any error in javascript console

    Plugin Author Thomas M

    (@webzunft)

    Hi Atul,

    thanks for your feedback.

    Did you also check the JavaScript console while the ad was not showing? There is no error when it works.

    You can also check the source code of the ad when it is not showing up. If the ad code is filled with another ins and iframe then it actually called AdSense.

    Thanks,
    Thomas

    Thread Starter Atul Bansal

    (@techofweb)

    ya I checked javascript console..no errors there

    Plugin Author Thomas M

    (@webzunft)

    Can you narrow it down on a browser or so? I reloaded the page a couple of times and always saw the ad. Code-wise, all looks fine. It could even come down to something like ad balance, which is not visible in the code.

    Thanks

    Thread Starter Atul Bansal

    (@techofweb)

    how?

    Plugin Author Thomas M

    (@webzunft)

    Hi Atul,

    does “how” relate to my question about the browser? I am always seeing the ad so I thought maybe this happens in some browsers more often than others. Or maybe on some devices. Have you tested different scenarios?

    Thanks,
    Thomas

    Thread Starter Atul Bansal

    (@techofweb)

    Hi Thomas

    Apologies i was not able to explain myself
    I tested different scenarios and devices. Sometimes, it works and other times, ad does not come.

    Plugin Author Thomas M

    (@webzunft)

    Hi Atul,

    thank you for your feedback.

    Do you have a bit of development knowledge and could check, next time when you don’t see the ad, if the ad code is there? It would help to learn whether it is an “AdSense-thing” of the ad code not being filled or if it is completely missing. In the latter case, it could be something related to Advanced Ads.

    Thanks,
    Thomas

    Thread Starter Atul Bansal

    (@techofweb)

    Hi Thomas

    Yes, i can see the ad code (The ad didn’t display and I checked the code.)
    Pls see below

    
    
    <style type="text/css">
    .adslot_1 { height: 100px; }
    @media (min-width:500px) { .adslot_1 { height: 60px; } }
    @media (min-width:800px) { .adslot_1 { height: 164px; } }
    </style><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins><ins><ins><iframe width="656" height="164" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){try{h=s.upd(h,i)}catch(e){}w.location.replace(h)}}" id="aswift_3" name="aswift_3" style="left:0;position:absolute;top:0;border:0px;width:656px;height:164px;"></iframe></ins></ins></ins>
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    
    Thread Starter Atul Bansal

    (@techofweb)

    There is ins class=”adsbygoogle adslot_1″ code also.

    It didnt come above when I pasted

    Thread Starter Atul Bansal

    (@techofweb)

    This time issue at https://examgold.com/2018/12/loans-grants-july-october-2.html

    actually, the issue is random for random urls

    Plugin Author Thomas M

    (@webzunft)

    Hi Atul,

    thank you. I can confirm that the ad is not always showing up, but AdSense is loading something. It could be an issue in the account then or something that I also have seen on some page: they need a page load or two to analyze the browser and then it works. At least it is something I experienced on your site. None of the two ads in the content displayed at the first page impression, then one at the second page impression and then they both displayed for each following impression.
    Advanced Ads doesn’t seem to be involved in this behavior.

    Best regards,
    Thomas

    Thread Starter Atul Bansal

    (@techofweb)

    Hi Thomas

    Thnks..so any solution for this?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Uanble to see adsense ads on single pages’ is closed to new replies.