Google Adsense Responsive Ads Not Showing
In the following link here, i have 3 ads, Right / Left / Header Ads. They're using Responsive Units, the status is 'Active', the problem is the Responsive ads are not showing, Goog
Solution 1:
<ins class="right-ad"
style="display:inline"
Did you add this to the ad's HTML? You are not supposed to change the ad code. For data-ad-format="auto"
the ad will adapt to the container's size. Simply remove what you added to the ad code and change the container instead. In your case, the <div class="right-ad">
div.
This is what a regular ad code looks like
<divclass="my-container"style="width: 500px; height: 300px"><scriptasyncsrc="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><insclass="adsbygoogle"style="display:block"data-ad-client="ca-pub-XXXXXXXXXXX"data-ad-slot="XXXXXXXXXXX"data-ad-format="auto"></ins><script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
So, your style="display:inline"
should be
style="display:block"
Solution 2:
My suggestions : in ad code ,
display : inline-block
and remove
data-ad-format="auto"
and if your parent dive size is smaller than available Ad units then some times Ad will not show
Post a Comment for "Google Adsense Responsive Ads Not Showing"