Google Adsense Ad Not Showing on HomePage Header

Posted in: Newspaper
Post count: 104

Hello,

I have newspaper theme v6.5 running on my website.

URL : https://www.naukrinama.com

I have placed google Adsense code in the header section of my website.

The Ads are showing up on the Inner Page, Post Page but it is not showing on the Landing Page (Home Page) Header section. When I see the source code of the home page the Ad Code is there but it is not getting displayed.

Please see and let me know how can this be resolved.

Post count: 12

I have almost exactly the same issue except that no ads are showing anywhere. I have pasted the followng into the ad box:

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- MPU1 -->
<ins class="adsbygoogle"
style="display:inline-block;width:300px;height:250px"
data-ad-client="ca-pub-7925027545255xxx"
data-ad-slot="7642431xxx"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

Site is here: http://54.76.216.2/

Post count: 22421

Hello,
Unfortunately this type of issue could not be theme related. The theme does it’s part to implement the ad code. Simply replace the adsense code with a custom ad. A simple image will do.
You can use this code:
<div class="td-all-devices"><a href="#"><img src="http://www.fotoland.ro/userfiles/image/site-wide-banner.jpg"/></a></div>
If this ad gets displayed, then it means that the theme works properly and the problem comes from google.

@rishab55555
you have these errors in your console: http://screencast.com/t/WPm9qshMN8Y9 and one is adsense related.

@myfamilyclub
maybe the ad is not yet finalized. It can take up to 48 hours or more from the moment the ad is approved to the point it displays.
Let us know how it goes.
Thank you!

  • This reply was modified 10 years by Bogdan B..
Post count: 12

Hi

No in my case it’s because I am an idiot. The ad was expecting to be on our main domain not the ip address so as son as I switched over it worked!

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.