• Resolved Kumar

    (@kmr010)


    Hi Adinserter team,

    I am using adinserter plugin for AdSense ads and in normal page ads working properly but in amp page showing blank in the place of Ads.
    Please help to troubleshoot issue

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

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

    (@spacetime)

    I don’t see code for AdSense AMP ads.
    It seems you are using code for normal pages.

    https://adinserter.pro/documentation/adsense-ads#amp

    Thread Starter Kumar

    (@kmr010)

    I have added AMP ads as per instruction but still not showing.

    already add script and auto ads script also but still not showing ads in amp page.

    What is missing?

    Please confirm this page if your device showing ads in amp ppage

    https://techtrickszone.com/2019/09/01/what-is-hdtc-hdts-camrip-dvdrip-hdtv

    • This reply was modified 5 years, 6 months ago by Kumar.
    Plugin Author Spacetime

    (@spacetime)

    Normal page shows ads (some ad blocks are blank – your publisher ID seems to be wrong).

    All ad blocks on AMP page report error

    Failed to load resource: the server responded with a status of 400 ()
    14:50:39.517 

    Your code for AMP AdSense ads is also wrong – your publisher ID seems to be wrong:

    <amp-ad 
    layout="responsive" 
    width="300" 
    height="250" 
    type="adsense" 
    data-ad-client="ca-ca-pub-5192766950969181" 
    data-ad-slot="8340391506">
    </amp-ad>

    This should be the right ID:
    ca-pub-5192766950969181

    Thread Starter Kumar

    (@kmr010)

    When adding ads for AMP page its auto change the id and make it ca-ca-pub-1214912412.

    Now I have correct all the id error manually. please check issue now.

    Stil add not showing on AMP page
    You can confirm visiting directly here- https://techtrickszone.com/2019/08/28/jio-giga-fiber-router-wifi-password/amp

    waiting for your reply.
    Thanks for your support

    Plugin Author Spacetime

    (@spacetime)

    Please check page source code and you’ll see you still have wrong publisher ID at few places.

    Thread Starter Kumar

    (@kmr010)

    i have correct all id now.. in mobile some ads showing
    Please check in mobile if showing amp ads

    Plugin Author Spacetime

    (@spacetime)

    Well, you still have wrong IDs in many blocks:

    <div class="code-block code-block-float-left code-block-21">
    <amp-ad layout="responsive" width="300" height="250" type="adsense" data-ad-client="ca-ca-pub-5192766950969181" data-ad-slot="3266634936">
    </amp-ad>
    </div>
    Thread Starter Kumar

    (@kmr010)

    Amp ad working on on blog but still not showing in this blog.

    https://mikrotrik.com/tenda-n300-wifi-router-repeater-mode-configuration/amp/

    Please check any mistake also for this blog why Amp ad not working.

    Thanks in advance

    Plugin Author Spacetime

    (@spacetime)

    You have errors on the page:

    Uncaught (in promise) DOMException: Failed to execute 'define' on 'CustomElementRegistry': "”amp-ad”" is not a valid custom element name
        at y.Xc.y.define (https://cdn.ampproject.org/v0.js:67:7)
        at Jj (https://cdn.ampproject.org/v0.js:288:769)
        at Ij (https://cdn.ampproject.org/v0.js:288:672)
        at https://cdn.ampproject.org/v0.js:288:631
        at Array.forEach (<anonymous>)
        at Hj (https://cdn.ampproject.org/v0.js:288:589)
        at https://cdn.ampproject.org/v0.js:532:427
    mikrotrik.com/:1 Uncaught SyntaxError: Unexpected token <
    Thread Starter Kumar

    (@kmr010)

    How to solve this error.
    Please check i have changed codes

    Plugin Author Spacetime

    (@spacetime)

    It seems you are using wrong quotes for amp-ad:

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

    Don’t copy code from web page, use normal double quotes.

    Thread Starter Kumar

    (@kmr010)

    problem solved it was code error i have found and correct it..

    Now ads start working in AMPs
    Thanks for your support

    Plugin Author Spacetime

    (@spacetime)

    ??

    I would appreciate if you could write a short review:
    https://www.ads-software.com/support/plugin/ad-inserter/reviews/#new-post

    Thank you!

    help please, the same problem here. i followed google instruction and activated amp auto ads and add the codes in the header and footer using ad insert, but ads are not showing, page: https://wolfibuzz.com/12-home-remedies-to-cure-bad-breath-fast/amp/

    Hello,

    This is my first post/query on this forum. I am setting up my portal on WP and am mostly through except the AMP monetisation part.

    I intend to touch base with someone on forums who can guide me to insert multiple ads on an AMP post. The theme provides the following option: newspaper > theme panel > mobile theme > AMP Ads to insert 1 ad unit ‘ADSENSE AUTO ADS FOR AMP’

    Can someone guide me the optimum method to have 2-4 ads on an AMP page.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Ads Not Showing in AMP page’ is closed to new replies.