Last Updated on December 6, 2020 by Christopher G Mendla
I am in the process of adding Amazon ads to my sites. The Native ads showed up fine. However, trying to put a product or search ad using an HTML block resulted in a situation where that ad was not showing. The resolution had to do with CloudFlare’s Rocket Launcher.
I added a Native Shopping ad at the bottom of every post using the Add Widget After Content Plugin. That worked fine.
I wanted to start adding some product ads strategically in certain posts. The process looks simple enough. Create an HTML block and paste the Amazon code in.
The general configuration was
I tried disabling the plugins that I thought could be causing the issue. After each change, I flushed the cache on Cloudflare and the page in Wp Supercache. I also periodically flushed the autoptimize cache.
I also tried other browsers and was going to try using incognito mode and a proxy. I didn’t get to do that.
I tried a Div around the amazon code to no avail.
No combination of changes would allow the Amazon ads to show.
I started searching for combinations of amazon ads not showing in wordpress -native I used the `-native’ to exclude problems regarding the Native ads as that was not where I was having an issue.
amazon ads not showing in wordpress -native
I found an issue on WordPress.org. This was an issue in an Amazon ads plugin but it pointed me to the solution
It seems you are using CloudFlare and Rocket Loader.Rocket Loader is known to cause issues with Amazon ads.Please try to disable it and then flush all caches on your server and on CloudFlare.https://wordpress.org/support/topic/no-amazon-ads-showing/
It seems you are using CloudFlare and Rocket Loader.Rocket Loader is known to cause issues with Amazon ads.Please try to disable it and then flush all caches on your server and on CloudFlare.
I went to Westhost’s CHI control panel and disabled the Rocket Loader. The ads immediately started showing up.
I am trying to gain every possible bit of performance I can as I’m trying to incubate these sites. When they get enough traffic I’ll upgrade the hosting. Therefore, I’m not that happy about disabling a performance enhancement but, on the other hand, I want to get the ads in place.
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.