• Resolved MIHIRBABU

    (@mihirbabu)


    Hello,

    Before couple of days, I installed AMP plugin on my blog. I have added the google analytics code on the required field, it worked. But when I try to add the adsense code as per the description, The ad are not showing on my webpages. Is there any fault on the plugin or I am not able to insert that properly.

    I have inserted the ad code through the AMP plugin
    (plugin editor – AMP- html-start.php) – Both the codes that need to insert in head and body.

    But the ads are not showing. I have used the ad code for auto ads.

    I have added the following codes on the AMP plugins through the plugin editor.

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

    on the body section
    <amp-auto-ads type=”adsense”
    data-ad-client=”ca-pub-xxxxxxxxxxxxxxxxxxxx”>
    </amp-auto-ads>
    Is there anything i need to modify or any other process do i need to follow?

    Guide me a simple way to add auto placement adsense codes or How can I place ad on the middle of the article or after a particular paragraph.starting of the article or end of the article or in the middle of the article?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • @mihirbabu It looks like you have ads placed on your AMP site now. The snippets you provided are correct.

    For more controlled placement of ads in your AMP site you you can use an ads plugin, here is an AdSense Help Center article that may help, with some suggested plugins.

    I can see you’re also using a different AMP plugin, you’ll need to submit any further requests to that plugins support forum.

    Thread Starter MIHIRBABU

    (@mihirbabu)

    @jamesosborne As my ads are not showing on the plugins. That is why I have choosed the different one.

    Can You guide me on ads placement. As ads are not showing on your AMP plugin.

    @mihirbabu If you’re looking to implement Auto ads for AMP the easiest method may be to use the Site Kit plugin.

    For single ad units the plugins listed on this page are popular among AMP users.

    If you implement Auto ads for AMP (as opposed to single AMP ad units) you may need to wait for ads to appear, regardless of what AMP plugin you use. If you’re new to Auto ads for AMP give it a couple of days for ads to appear.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘AMP-Adsense Code are not working’ is closed to new replies.