Something very strange and after a lot of tinkering I need some help, on mobile the as code shows but the ad does not display. The ad code displays in the source code but the ad does not populate.
If I use adsense it works fine, but with dfp it won’t load. I have disabled caching/compression, bypassed advanced ads but I have the same issue. Please note this is only with the header ad, all the other ads work fine.
Thanks,
Clyde
Hi,
We tested default Adsense ads and they work properly, with DFP I couldn’t say why that is happening. Check in the browser inspector console if there are any errors, there could be indications as to why the ad is not displayed. It is unusual however that only the header ad has this problem.
Also check some online topics with suggestions
– https://stackoverflow.com/questions/45742159/why-are-my-dfp-ads-not-showing-up
– https://support.google.com/dfp_premium/answer/1739296?hl=en
– https://webmasters.stackexchange.com/questions/93033/dfp-shows-inventory-released-and-not-showing-ads
Thanks
Hi Simon,
The issue isn’t with DFP or the ad, if i put the same code anywhere else on the site it works, it just won’t work in the header on a mobile phone.
Hope this clears things out.
Thanks,
Clyde
Sure, i’m talking about the ad just under the menu bar on mobile… (i added the js code as well to it… it doesnt work with or without the js) the js has been added into custom code
https://fractalenlightenment.com/32213/life/10-beautiful-life-lessons-from-dalai-lama
Thanks
I see the header ad is not displaying on desktop as well
– http://prntscr.com/jzhetc
I found this useful guide about DFP
– https://code.tutsplus.com/tutorials/introduction-to-google-dfp-debugging-ad-delivery–cms-25045
Upon checking that post page as suggested in the guide, there are some warnings
– http://prntscr.com/jzhhk3
– http://prntscr.com/jzhi8z
Maybe you can investigate further and check what those warnings mean exactly.