ICEknigh7 replied
The plugin has been updated and now the Google Search Console doesn't detect any non suitable ads in the AMP pages anymore. This can be closed.
I've spoken with the author of Ad Inserter and he's going to contact you regarding this issue, please check your inbox.
The problem is that I have ads in the header and footer of the normal page, which the AMP site also tries to display and gives an error.
I need to replace those ads with their AMP versions, not add aditional ones.
I've read that guide and it's for adding new ads to the AMP site, but I'd need to replace the old header and footer banners with their AMP versions (which are also provided by Adsense) or the error will keep happening.
It seems to be a problem when showing the Adsense ads in the AMP pages.
Any ideas on how to fix it?
I just received an email from Google Search Console regarding some AMP issues in the site with the PenNews theme:
Search Console has identified that your site is affected by 1 AMP issues:
Top Errors
Custom JavaScript is not allowed.
Can this be fixed somehow?
Want to join this conversation or access attachments? Sign in first.
Open your ticket archive, review validated licenses, and continue product support conversations from one customer portal.