Adsense not showing ads on Amp
-
I have a wordpress blog with official amp and site kit plugins.
I am trying to make adsense to deliver ads, but it only works on desktops. I can even see ads when simulating a mobile page on chrome developer tools (F12), but nothing happens on mobile.At adsense I see AMP is activated.
Site kit says everything is fine.When testing the page at https://search.google.com/test/rich-results, it says there were problems loading the page.
Resources not loaded:
https://pagead2.googlesyndication.com/getconfig/ama?client=ca-pub-8213648978638116&plah=eunolivro.com.br&ama_t=amp&url=https%3A%2F%2Feunolivro.com.br%2Fblog%2Fpresente-6-anos%2F&__amp_source_origin=https%3A%2F%2Feunolivro.com.br
–> I see a message telling there was a XHR error and googlebot was blocked by robots.txt (it’s weird, since there is no restriction in robots.txt)There are also 2 JS errors:
Access to fetch at ‘https://pagead2.googlesyndication.com/getconfig/ama?client=ca-pub-8213648978638116&plah=eunolivro.com.br&ama_t=amp&url=https%3A%2F%2Feunolivro.com.br%2Fblog%2Fpresente-6-anos%2F&__amp_source_origin=https%3A%2F%2Feunolivro.com.br’ from origin ‘https://eunolivro.com.br’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.[amp-auto-ads] amp-auto-ads config xhr failed: Error: XHR Failed fetching (https://pagead2.googlesyndication.com/…): Failed to fetch???
Thanks in advance for your help.
Regards,
RobertoThe page I need help with: [log in to see the link]
- The topic ‘Adsense not showing ads on Amp’ is closed to new replies.