• Resolved Jedi82

    (@jedi82)


    Hy guys, i just activate the auto amp ads on google and put my code like this on your plugin:

    https://prntscr.com/iv7vbp

    i have put the header code with another plugin that i use for my ads…

    what i do wrong or what i miss still? I receive an error from the GWT:

    “E’ necessario includere l’estensione JavaScript “amp-auto-ads” per il tag “amp-auto-ads”. ”

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @jedi82

    Yes, It is necessary to include the amp-auto-ads JavaScript in the header section of HTML.

    <script async custom-element=”amp-auto-ads” src=”https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js”></script&gt;

    And if you want the seamless integration then you can go for the Advance AMP Ads.

    Thread Starter Jedi82

    (@jedi82)

    i already have this code put on my pages (hope so but the other ads always worked like a charm) via another plugin:

    https://prntscr.com/ivbjj0

    what can i do?

    @jedi82

    The script which you are showing in the screenshot is of normal Ad, but for AMP auto ads you have to use the script which is given below.

    <script async custom-element=”amp-auto-ads” src=”https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js”></script>

    Thread Starter Jedi82

    (@jedi82)

    ooooops i’m sorry you are right!!! Thanks as usual!!!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Necessary to include ext JavaScript “amp-auto-ads” for tag “amp-au’ is closed to new replies.