My adsense A/c is already active and adsense auto ads used to work fine with previous theme. Eversince i activated newspaper theme auto ads not showing on my site. I am not being able to understand what to do or what not to do. Plz. Suggest if you can help. Everything is wasteful if your site is not monetized.
Site url : https://www.jsbjm.org
-
This topic was modified 7 years by
jsbjm.
Hey,
How did you resolve this?
Ever since Newspaper 9.7.3 my Auto Ads don’t show in the content area (Post area) at all. And it’s a bummer especially with long posts.
Please advice.
I also have noticed this, and I’m not sure about the fix jsbjm is mentioning above. Basically, the auto ads from Google AdSense load fine on an ?amp version of a long article, but when you look at the same article on desktop or mobile those ads don’t load. It’s like it’s not calling up the header tag we have to include from Google in the Analytics/JS codes section of the theme panel.
Example page:
https://www.vitalthrills.com/2019/07/08/hbo-august-2019-schedule-cinemax-highlights/
https://www.vitalthrills.com/2019/07/08/hbo-august-2019-schedule-cinemax-highlights/?amp
The code AdSense wants you to put in the header:
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-6446525835717638”,
enable_page_level_ads: true
});
</script>
Hi,
The auto ads is load fine on ?amp is because was made and tested for amp, that is way we set a specific field for this -> http://prntscr.com/olcqtn if you want to have the auto ads on desktop you can set the code in Analytics/js codes -> http://prntscr.com/olcsgk or you can try even in the ads section, but notice that only the amp auto ads was official tested with our theme.
Thank you for your understanding!
Yes, the ads work fine on the amp version of articles, but I’m more talking about the mobile version of the site. I have the proper auto ads code in the Analytics/JS codes section that you mention above, but auto ads don’t seem to be loading within articles. The only ads that are loading are the ones I set in the Mobile Ads section manually.
I also upgraded to 9.7.4 this weekend and noticed that if a square header ad loads, there is now a large white space underneath them on the mobile site (I am using the Mobile + Amp setting).
The square ad: https://www.vitalthrills.com/wp-content/uploads/2019/07/screenshot1.jpg
And the larger ad: https://www.vitalthrills.com/wp-content/uploads/2019/07/screenshot2.jpg
Hi,
If you want to set the auto ads on mobile theme, then make sure that you set the both code for auto ads, one of them need to be set between <head></head> tags, the other one can be set there too, or in a mobile ads field
-> https://prnt.sc/olcsgk
-> http://prntscr.com/oltmh9
Also please check this documentation bout Auto ads -> https://support.google.com/adsense/answer/7478040?hl=en
Hope this will help!
Thanks!
I tried adding the main auto ads code here like you said, but it doesn’t seem to be doing anything: http://prntscr.com/oltmh9
This code:
<script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-6446525835717638”,
enable_page_level_ads: true
});
</script>
Hi,
If you are using auto ads the ads should be display automatic in all your website -> https://support.google.com/adsense/answer/9261307?hl=en if the problem persist, please provide me a link where I can inspect these ads.
Thank you!