Reputation: 31
My Google advertisements aren't showing on my HTML homepage - instead there's a blank box.
This is what it looks like:
And this is what the code looks like:
<div class="advertising margin-bottom" align="center">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:inline-block;width:265px;height:600px"
data-ad-client="ca-pub-7557573862902525"
data-ad-slot="6854013507"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
Upvotes: 1
Views: 2740
Reputation: 16675
The reason ads aren't being displayed is because your domain is forbidden (with error code 403).
This happens because AdSense does not want to display ads on your domain, either because of something you did that violated AdSense policies or something the previous domain owner did.
Policy specialists disable ad serving to a page or site when it’s found to be in violation of program policies
If it was something the previous domain owner did and your implementation of the site is in compliance then you can try and request that ad serving be reinstated.
To see information on how to do that:
There's no guarantee that ad serving will be reinstated so in the future if you plan to buy a domain name and use it with AdSense you should check to see if AdSense has been disabled on it.
To verify if your domain is blocked or not: Use the Adsense Sandox tool, and put in your sites' URL. If no ads show up (like they don't for your url) it means the domain is blocked.
Upvotes: 1