AdSense doesn’t show ads on AMP page: No ad placements found for publisher ID

Google Adsense logo
Google Adsense

After placing code for automated AdSense ads, ads are not shown and a warning appears in the browser’s toolbar: No ad placements found for publisher ID ‘ca-pub-123456789123456’. Check that the provided publisher ID is correct. Most likely you are trying to see ads from non-supporting devices on AMP pages. Continue reading AdSense doesn’t show ads on AMP page: No ad placements found for publisher ID