• Resolved bobA1

    (@boba1)


    Google Adsense reports this javascript is “not allowed” by their system, causing AMP errors for every post/page in my site. The link above is one example of this error out of thousands.

    <script>if (document.location.protocol != "https:") {document.location = document.URL.replace(/^http:/i, "https:");}</script><script type='text/javascript' src='https://cdn.ampproject.org/v0.js' async></script>

    The message received says: “Custom JavaScript is not allowed.
    First detected: Jun 25, 2018
    Status: Error

    Evidently, Google, your partner in this project, seems to be working against the project and does not support it. This costs me dozens of hours trying to fix these issues, which means basically turning off AMP. Really, please get them on the same page, please!

    Meanwhile, what’s the solution?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Javascript Rejected by Google Adsense’ is closed to new replies.