When using AMP, you cannot directly add traditional JavaScript or AdSense scripts, including the standard Google ads script. Instead, you should use AMP-specific ad components.
To display ads in an AMP-enabled blog, you’ll need to utilize the <amp-ad> component which enables you to integrate ads that comply with AMP's restrictions.
Ensure you replace the standard AdSense script with the appropriate <amp-ad> tag, specifying the ad type, client ID, and other necessary attributes to adhere to AMP standards.
If you attempt to place the <script async='async' crossorigin='anonymous' src='...'/> tag directly in an AMP template, you'll receive validation errors due to AMP's strict guidelines regarding external scripts.
Collection
[
|
...
]