Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We inspected your site and it looks like you have added some Custom JS in AMP. Please note, AMP doesn’t support Custom JS and so, Google is throwing you this validation error.
    Kindly remove the Custom JavaScript code you are using in AMP, this will help you in validating the AMP pages.

    Thread Starter Dan

    (@cmdntd)

    I just insert adsense script by “Ad inserter” plugin
    Could I use this plugin to insert adsense in active AMP pages?

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Sorry for the delay in response extremely. Its not compatible to use ad inserter plugin.
    So please isable Ad inserter plugin for AMPforWP`and check once.

    Hello @cmdntd,

    I’m the author of the Ad Inserter plugin – it works fine with AMP pages.

    Could I use this plugin to insert adsense in active AMP pages?

    You can configure the plugin to insert AMP ad codes on AMP pages:
    https://adinserter.pro/documentation/adsense-ads#amp

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    cmdntd: Can you please let me know the response?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I have error “Custom JavaScript is not allowed” from Google Console’ is closed to new replies.