PenciDesign replied
Hi,
1/ Yeah, that's one example on the documentation. Some google adsense auto ads will doesn't exists [data-ads-slot]. But, that's easy to modify that code for AMP. With your ads, you just need change it to:
\ <amp-ad width="300" height="250" type="adsense" data-ad-client="ca-pub-1234567890"></amp-ad>\
Dont fill ads slot there.
Also, if you're use google adsense auto ads, you can check more this guide to know how to config adsense auto ads for your site:
https://support.google.com/adsense/answer/9011465
And you can put that code from the guide to Appearance > Customizer AMP ( not Customize ) > Header Options
2/ Currently, Google doesn't allow custom <script> for AMP pages. So, I recommend you ask amazon affiliate about this about amazon affiliate code for AMP![]()
Best Regards,
PenciDesign