• Resolved mastermason

    (@mastermason)


    Hello!

    I am experiencing problems with the implementation of Adsense ads in AMP. A few days ago I started using AMP on my site, I have tried to get the Adsense automatic ads to work and they work partially since only the anchor ads are shown, leaving the in-line ads or bullets not showing.

    In the Adsense configuration page, I already have the automatic ads option enabled

    The code implementation is done directly with Site Kit, which does not show any problem (apparently). I should also mention that I have tried placing the codes manually and with Advanced Ads, but the same thing happens.

    I’m using the transitional version of the Official AMP Plugin and getting these plugin compatibility errors. I don’t know if they are part of the problem.

    I should mention that I am working with the GeneratePress theme which natively does not have AMP compatibility. However, on their support page, they provide a compatibility plugin (which I already have active). Anyway, I tried testing with Twenty Twenty themes and “AMP Friendly” themes. In all cases, the same issue remains, no ads are displayed (except for the anchors)

    Additionally, I must say that in the “Non-AMP” version all the ads are shown, so I can’t find where the problem is and I think that “waiting” will not be the solution, because the ads are already shown in the “Non-AMP” version.

    Thank you very much for your help.`

    • This topic was modified 3 years, 11 months ago by mastermason.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @mastermason

    Thank you for contacting us, as we checked your site we are seen that there are several 423 HTTP errors in the browser console for the AMP pages.

    Can you please check if something is locking resources from being loaded?

    Additionally, Please also check WP GDPR Cookie Notice Settings

    Goto Appearance->Customize->Cookie Notice->Intergration-> Make sure you have unchecked Block AMP third-party integrations such as analytics, ads and embedded content? option (recommended that all should be left unchecked)

    Let me know if that resolves your issue.

    • This reply was modified 3 years, 11 months ago by Milind More.
    Thread Starter mastermason

    (@mastermason)

    @milindmore22

    Thanks a lot for your help. I’d like to check the issues with the 423 HTTP errors but I don’t know how to do it. Would you mind explain it to me? Thank you.

    About the Cookies plug-in, I already checked it with the instructions you gave me and all the options are unchecked.

    Again, thanks for your help

    Plugin Support Milind More

    (@milindmore22)

    Sure, Please follow the below steps

    1) Open the AMP version of your page in Google Chrome.

    2) On Chrome goto View->developer->developer tool

    3) on the browser tool click on the Console tab

    4) Reload if you don’t see the 423 error

    (Screenshot)

    Thread Starter mastermason

    (@mastermason)

    Thanks!

    I did it, but I don’t see any 423 error, instead I see these.Screenshot

    I also re-checked the AMP error index for some info and I found that the Adsense Script in both head and body was causing an error. Those Scripts were put manually in the past and now I just use Site Kit to serve the Adsense Code by itself. I also disabled all plugins that had incompatibility issues with AMP, purged Cache, and reload amp pages both on the web and mobile versions of AMP. It didn’t work, I just see:

    – All Ads on “no AMP version” of Web.
    – Anchor Ads on “AMP version” of Mobile.

    Anywhere, the problem is still in progress and I don’t know what to do

    Plugin Support Milind More

    (@milindmore22)

    Hello @mastermason

    Can you please try to access this URL it should respond with json response

    eg:

    {
      "consentRequired": false
    }

    but instead, it shows Locked

    Here is an example URL from my test site

    Plugin Support Milind More

    (@milindmore22)

    @mastermason As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘AMP and Adsense Automatic Ads problem’ is closed to new replies.