Some script preventing Amazon ads from Showing – Please help
-
Hi,
I’m using a colormag theme, the theme is awesome. Thank you.
Recently I joined amazon associates to monetize my website and amazon gave me the below Native ads code to add to the website.<div id="amzn-assoc-ad-220cac2d-32cd-4987-9f34-0fd13b6ef92d"></div><script async src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=220cac2d-32cd-4987-9f34-0fd13b6ef92d"></script>
As recommended by Amazon, I used a plugin called ‘Ad inserter’ and inserted the above in ‘block 1′ and chosed “after the content’ selection and saved the settings.
It’s been more than 3 days, my ads are not showing. I tried deactivating all other plugins, cleared all cache, still the ads are not showing.
I then contacted the ‘Ad inserter’ plugin support and they told me that I have correctly inserted the ad code but the website is throwing a javascript error as below:
Uncaught ReferenceError: aax_render_ad is not defined at getad?src=308&c=100&sz=1x1&apiVersion=2.0&pj=
And they further said this error is caused by the script
https://aax-us-east.amazon-adsystem.com/x/getad
So, dear colormag support team, how can I fix this error? Please help me to display the ads.
Thanks.
RiswanThe page I need help with: [log in to see the link]
- The topic ‘Some script preventing Amazon ads from Showing – Please help’ is closed to new replies.