• Resolved rajk748

    (@rajk748)


    Hello,
    Google ads stopped showing on AMP pages (no problem with desktop) so I followed the tutorial and inserted the ad code
    < script data-ad-client=”ca-pub-****” async src= “https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js ” >< /script>

    in Enter HTML in Head section in Advanced settings.

    Now I am getting an error in search console saying “Custom JavaScript is not allowed” and AMP pages still showing no ads. What am I missing?
    Thanks

    • This topic was modified 4 years, 6 months ago by rajk748.
    • This topic was modified 4 years, 6 months ago by rajk748.

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

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Ads not showing on AMP pages, Custom JavaScript is not allowed error’ is closed to new replies.