Hey. I have perfectly placed header codes in the header for amp ads.
My ad unit appears on non-amp pages but not on amp pages.
I am searching for solutions but failed. I have disabled amp for homepage. I use ampforwp plugin.
Enabled insertion into amp pages, Disabled cache, remote debugging is ON (I don’t know what that is). But I can’t see any ads on my amp pages.
It shows me a 8 block 8 but in red but there is no ad.
My website: https://gamingsym.com
Codes I used….
Header:
<script async custom-element=”amp-ad” src=”https://cdn.ampproject.org/v0/amp-ad-0.1.js”></script>
Code in Block 8:
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– For amp –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-8775992225118205″
data-ad-slot=”4243960637″
data-ad-format=”auto”
data-full-width-responsive=”true”>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Plz help!!