AMP is not valid

Posted in: Newsmag
Post count: 55

Hi,

website can’t pass AMP validation, says I have amp-auto-ads.

Solution?


</div>
</div>

</div><!-- close td-outer-wrap -->

<div data-theiastickysidebar-sidebarselector='"#secondary, #sidebar, .sidebar, #primary"' data-theiastickysidebar-options='{"containerSelector":"","additionalMarginTop":0,"additionalMarginBottom":0,"updateSidebarHeight":false,"minWidth":0,"sidebarBehavior":"modern","disableOnResponsiveLayouts":true}'></div>

<!--
Theme: Newsmag Mobile Theme by tagDiv 2019
Version: 4.8 (rara)
Deploy mode: deploy
Speed booster: v4.9.3

uid: 5cdd35aa4460f
-->

<!-- Header style compiled by theme -->

</body>
</html>
<!-- Page generated by LiteSpeed Cache 2.9.7.2 on 2019-05-16 13:04:26 -->

  • This topic was modified 7 years by aleister.
  • This topic was modified 7 years by aleister.
Post count: 9544

Are you submitting mobile end point or AMP endpoint ?

e.g., for AMP
yoursite.com/post/amp

Post count: 55
Post count: 23312

Hi aleister,

Most likely, you do not correctly add the auto amp ad in the right section. Please check the following steps from here -> https://support.google.com/adsense/answer/7480616?hl=en
-> https://support.google.com/adsense/answer/9011465?hl=en -> https://prnt.sc/npctxz Clear all the caches, purge CDN files and check the results.

Thank you!

Post count: 55

OK, there was old code in AMP ads in theme panel. Code updated, cache purged, all fine.

Thank you.

  • This reply was modified 7 years by aleister.
Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newsmag’ is closed to new topics and replies.