Most of the bloggers set up AdSense ads on their WordPress website by placing ad code in the head section. After placing automatic ad code in the header section, Google AdSense shows ads on the website, but it doesn’t show ads in AMP pages if you have AMP integration in your WordPress site.
The normal ad code doesn’t work for AMP pages. So, Google provides a different code for AMP pages to show ads. However, most of the bloggers fail integrating the code because they put the AMP ad code in the AMP
For more detailed tutorial watch my video.