When using AMP Auto Ads, I get the following errors (in Console):
1. 3x No anchor element found
https://www.dropbox.com/s/6h9r3bc9yyrpciv/AMP%20Auto%20Ads%20No%20anchor%20Elements.PNG?dl=0
2. Cannot resize
https://www.dropbox.com/s/cka58hm469sc9bh/AMP%20Auto%20Ads%20cannot%20resize.PNG?dl=0
Result: Ads only appearing in AMP post footer (Please don’t tell me this is Google optimization)
Example: https://babynews.de/familie/produktwarnung/gesundheitsgefahr-verbotene-weichmacher-in-puppe-beauty-my-girl/?amp
Hi,
I see that only one ad seems to appear, the one in the footer. There is another one at the top below the header but it has no size – http://prntscr.com/nlg9rz
I remember when we tested the AMP auto ads that they worked fine, all there is to it is to enter the ad code in the theme panel dedicated section – http://prntscr.com/nlgaq2 and they should appear. After refreshing the page a couple of times the top ad appeared as well – http://prntscr.com/nlgfko
On Firefox I get quite a lot of ads – http://prntscr.com/nlgh56
– http://prntscr.com/nlgh9q – http://prntscr.com/nlghib (usually 3 ads)
While on Chrome I get 1 or two ads.
I did find some similar topics with the same issues, but no actual solution
– https://github.com/ampproject/amphtml/issues/19952 – http://prntscr.com/nlgi5i
– https://stackoverflow.com/questions/55426552/how-to-fix-amp-auto-ads-on-wordpress-with-with-error-cannot-resize-element-and
I don’t quite know what one could do in such cases.
Hi Simion,
Thank you very much for your very extensive answer! The automatic ads don’t seem to be quite mature yet, I think the best will be when I switch to manual placement.
If I insert the ad code in AMP format into the ad placements of the mobile theme, will the ads be displayed on the AMP pages? If not, could you please provide me with a code to display the mobile ads on AMP pages?
Thanks
Hi,
Yes, the ads that are set in mobile theme will be show in amp version if you chose the option mobile + amp
-> https://www.screencast.com/t/KHEMsXJqgdfO
-> https://www.screencast.com/t/FKa250uv
Thank you.