• Resolved mvneobux

    (@mvneobux)


    After I updated the plugin, my automatic adsense ads stopped showing. The page is with the auto-ads script and also with the tag right after the <body> tag. But the ads do not appear. What happened?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mvneobux

    (@mvneobux)

    I noticed that the plugin is including this tag before the body:
    <amp-sticky-ad>

    Maybe this is blocking the loading of auto ads, as I get the error: [amp-auto-ads] No anchor element found

    Because the plugin is inserting this tag and because the auto ads returns: No anchor element found

    Can you help me ?

    Thanks for reaching out. Updating the plugin should have no impact on ads being served, I can’t be sure what occurred. It may have been a temporarily issue on your ad network side. From inspecting your site at present I do see ads on your AMP URLs.

    Can you check your site now and confirm all is working as expected?

    I also notice your navigation menu isn’t working your AMP URLs. Have you tried switching to one of the available reader mode themes other than the legacy theme? We have more information on this here, or you can watch the YouTube video below:

    Thread Starter mvneobux

    (@mvneobux)

    The advertisements that appear are placed manually. But the automatic ones don’t work, see: https://prnt.sc/10zazj6

    And how do I insert the amp stick script in the head ??

    Thanks for the update. The “No anchor element found” console error can appear in many cases, I have it on one site although it doesn’t stop Auto ads from appearing. In some cases it can be due to document formatting, there’s an open GitHub issue on this below:
    https://github.com/ampproject/amphtml/issues/26734

    Note that if you have multiple ad units appearing on a page AdSense may determine there are no additional suitable placements for Auto ads, and some of the ads I see on your site are Auto ads (see here one example)

    And how do I insert the amp stick script in the head ??

    The plugin inserts all the required header scripts once any related body markup is found. If you’re referring to sticky ads you can paste the example body code into your site from this playground and you’ll notice the required header script appearing.

    I’ll close this now as Auto ads are appearing. Be sure to checkout the different reader mode templates and reach out if you have any further plugin related queries.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Automatic ads are not appearing’ is closed to new replies.