I noticed a weird thing yesterday with ad system.
Initially I had a small horizontal banner for “Below the article” ad.
I tried to change it to a square banner yesterday. I changed the code. But still the site is showing only the old banner.
If i delete the code, however the ad is removed. If i update the code, its not working.
I tried it with few other spots and the same result. Not sure if its just mine or anyone else facing the same issue. Can someone help?
Hi,
@tagdivfan That comes fro the cache plugin/system you use so that would be the one.
I haven’t found any issues with this using the latest theme version so if you’are not using it I suggest you update the theme then check again and look into your browser’s console fro error and notifications related to this.
Please let me know if you still have issues with this and also provide your site’s URL pointing me to the banner you refer too.
Thanks
yes! you need to delete that cache whenever you do major changes to your site .. since “caching” basically makes snapshots of your pages to load them faster, and so it means the old pages are still being served until you reset that, so that the NEW pages get cached.
See the help docs for your web hosting on how to use the caching function.
I helped a client with his site hosted at GoDaddy and I had to clear that damn cache twice for any major updates like changing some widgets, or the CSS, or ad modules, etc. No way to turn it off either!
Thanks Chris, Lucian.
If i update the banner code, its not working. (Say a square to a vertical banner)
If i delete the code completely, the change is seen instantly on the homepage and the ad is removed ( without clearing cache or anything)
So that kinda makes me feel this is not a cache issue…
Let me ask my server config. to check also.
Lucian – is there a email ID I can email you the developing site address link?
The ads work perfectly on our sites. So, this means it’s either a plugin conflict, or a caching issue. All the theme is doing is inserted the AdSense code into the template in the right place, so as long as you put the right code into the box, and the page is updated and visible online, then the new code will pull the new ad format.
I betcha it’s caching! 😉
Basically turn your caching OFF, or make sure you clear cache before making change, then after making change to site, clear cache again (this refers to caching on your server/domain).
Double check your settings in the ad manager to make sure sizes and things like “show on desktop” are switched on.
If you’re switching from responsive code to a fixed size, make sure you’re putting the fixed side code in right box for the right ad type (e.g., sidebar); which it looks like you have been doing.
You might even try just putting the code into a text widget on sidebar to see if the ad loads properly.
So, then look at your page and see if you’re getting any errors (press F12 in Chrome to see rendering errors); view page source to see if the code is in fact on the page.
It is possible it’s NOT any of the above, however 99% of the time when you update something and then it’s not on the page, it’s from caching.
Caching is awesome for speed, but not for doing updates 🙂
“You might even try just putting the code into a text widget on sidebar to see if the ad loads properly.”
I tried that and it works perfect.
So I guess i have to ditch the adsystem that comes with the theme and put custom text widget for my ads.
Thanks for your patience and guidence.
Well it “should” work for the ad widget area unless it’s a non-responsive ad, and in that case you might need to use the ‘Simple ad code’ box … since this is a responsive theme, the ad system is designed to run responsive ads.
I believe the ‘Simple ad code’ boxes are intended to use custom ad sizes and code, so you might try that. (I have not done that, but will soon be trying it with our adRotator in house ad widget… )
Not saying it isn’t a bug…. maybe paste the ad code you’re trying to use here without your ID cod in there (I usually put xxxxx when I paste my own ad codes here for support help from TagDiv folk…).
Find below my ad code.
My previous ad was a 300 x 250.
The below new ad is 300 x 600
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– side ad skyscraper –>
<ins class=”adsbygoogle”
style=”display:inline-block;width:300px;height:600px”
data-ad-client=”ca-pub-1234567876″
data-ad-slot=”123456789″></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>