Google AMP Problems

Posted in: Newspaper
Post count: 187

According to Google I have over 3,600 pages with the following error: “Custom JavaScript is not allowed”

This is new – I am still using 9.5 because of problems stated in another thread.

Google also said “First detected: 3/8/19” – what happened?

Please advise.

Post count: 20688

Hi,

That looks like an AMP error message
https://www.ampproject.org/docs/troubleshooting/validation_errors#custom-javascript-is-not-allowed

But I see you do not use AMP currently. So I believe there would be no actual issue in this case with those errors, as far as I know.

Thanks

Post count: 187

“But I see you do not use AMP currently”.

Not sure what you mean. I have the plugin activated.

Post count: 20688

Now it is, at the time of checking yesterday there was no AMP version available. I tested a post with the AMP validator, that message is referring to the ads scripts
http://prntscr.com/n0uwh0
How are you implementing the adsense ads for AMP exactly? They should be like this
http://prntscr.com/n0uxyh
https://support.google.com/adsense/answer/7183212?hl=en

Post count: 187

Simion – late getting back to you.

Fix worked great. Thanks again as always 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.