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

    (@ahmedkaludi)

    The issue is coming to the wrong implementation of amp-auto-ads. Can you please tell me how did you implement amp-auto ads?

    Thread Starter rohit003

    (@rohit003)

    Google ad sense has a Auto ads For Amp pages.
    Its ask to paste to type code one in head and second in the body.
    So in the Amp Plugin Setting –> full setup view –> General –> Advance Setting –>
    I pasted the code of ads in Head and Body

    And there is also Advertisement section where we have to just place our Data AD Client and Data AD Slot so i also choose them.

    But later when search console showed me the problem in amp pages i removed Code which was placed by me in Head and body in advance setting.

    Am experiencing same issue since i updated to the latest amp. Please what is the solution to this because mine was working fine until i updated.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    rohit003: Can you please disable all plugins and clear cache and check whether the script is loading or not?

    techbmc: As per the forum guidelines, you have to create a new topic.

    Thread Starter rohit003

    (@rohit003)

    As asked disabled all the plugins cleared cache but still search console is showing the problem in fact now new issue came “Disallowed attribute or attribute value present in HTML tag” which affects 37 Amp pages

    Same problem here. I got 215 pages with error “An AMP component ‘script’ tag is present, but unused.”, and 173 errors “A tag on this page requires an AMP component ‘script’ tag, which is missing.” Another 170 errors “Disallowed attribute or attribute value present in HTML tag.”. All was fine before update.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    rohit003: We checked your issue. Previously you have two errors. one is an amp-auto-ads error and another is FORM [method=POST] error. But now you have got only one error that is FORM [method=POST] error. Can you please check your previous amp-auto-ads error is fixed or not?

    OK, and what about the others who don’t use the ads extension and still have the problem?

    Thread Starter rohit003

    (@rohit003)

    Here is the link of you can have look Still same problem click here

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    rohit003: We checked your issue. This error is due to add some forms in the AMP footer using the Jetpack plugin.
    reference:https://monosnap.com/file/b5fagIHcHrqq1k9FlkPmGpgncZuFUj

    peteto2006: can you please create a new topic as per the forum guidelines.

    Thread Starter rohit003

    (@rohit003)

    I have removed auto ads on amp even i have removed all the forms from footer has too removed but issue remains the same.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We didn’t find any issue on your page. That is a valid AMP page.
    Ref: https://search.google.com/test/amp?id=U-w4MtrvXwFJFy87yrVVKA
    Are you still facing this issue?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘AMP for WP error An AMP component ‘script’ tag is present, but unused.’ is closed to new replies.