• Resolved dblinks

    (@dblinks)


    This is pretty new to some publishers though been out a few months. I got invited to test.

    Needs code in Head Section (only amp pages)
    <script async custom-element=”amp-auto-ads” src=”https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js”></script&gt;

    And after <body> (again only amp pages)
    <amp-auto-ads type=”adsense” data-ad-client=”ca-pub-x1x1x1x1x1x1x1x1″></amp-auto-ads>

    There cannot be any other AMP ad code on page.

    I am a paid pro ad inserter customer.

    There is no section in Header/Footer to apply to amp only pages and I’m just learning some of the advanced placement methods.

    Is the above easy? possible?

    Thanks for your assistance.
    Stu

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello,

    this applies also to the free Ad Inserter.

    There is an option to insert on AMP pages also for header and footer sections
    https://adinserter.pro/documentation#header-footer

    Please check settings for AMP pages:
    https://adinserter.pro/settings#amp

    Thread Starter dblinks

    (@dblinks)

    What you are saying is that the code in the <head> and <body>(footer) will be delivered on non amp pages as well? …

    And the use of [ADINSERTER AMP] without an AMP Ad code with the snips I showed above in ad inserter header/footer will work? Has this exact configuration been validated by your team?

    Thanks for your help !!
    Stu

    Plugin Author Spacetime

    (@spacetime)

    If you use AMP separator you can define what will be inserted on normal pages and what on AMP pages.

    Thread Starter dblinks

    (@dblinks)

    Yes understood and thank you.

    Please confirm then, that the snips will also be in source on NON AMP pages since your header/footer tool is global assignment?

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

    <body>
    <amp-auto-ads type=”adsense” data-ad-client=”ca-pub-x1x1x1x1x1x1x1x1″></amp-auto-ads>

    Plugin Author Spacetime

    (@spacetime)

    If you don’t use AMP separator then the code will be inserted on all pages, normal and AMP.

    For insertion into body you can use any automatic insertion (of course, if supported by the AMP plugin).

    Thread Starter dblinks

    (@dblinks)

    Sorry I seem to have figured it out. I can use [ADINSERTER AMP] in header/footer too.

    Thanks!

    • This reply was modified 7 years, 6 months ago by dblinks.
    Plugin Author Spacetime

    (@spacetime)

    Yes, of course!

    I’m looking into this issue as well. I’m trying to implement AMP auto ads on my site as well. https://support.google.com/adsense/answer/7334859?hl=en

    So from what I understand, if I insert this:
    [ADINSERTER AMP]
    <head>
    <script async custom-element=”amp-auto-ads” src=”https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js”></script&gt;

    Into the header section of the plugin, and

    [ADINSERTER AMP]
    <body>
    <amp-auto-ads type=”adsense” data-ad-client=”ca-pub-x1x1x1x1x1x1x1x1″></amp-auto-ads>

    into the footer section of the plugin, this should start displaying auto ads, correct? Did I do this correctly?

    Plugin Author Spacetime

    (@spacetime)

    No, <head> and <body> tags are already present in your template file. You only need to insert adsense code.

    To insert adsense code into the post body part use automatic insertion Before post or Before content.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Adsense Beta (amp-auto-ads)’ is closed to new replies.