Hello,
can you please provide some information about the errors?
The latest version brings some additional support for AMP pages:
Normally the code will not be inserted on AMP pages. There are two settings that can be used to insert code on AMP pages:
1. AMP pages checkbox in Misc / Insertion section – If checked it enables insertion also on AMP pages. Use this approach only if you need to insert the same code on normal and AMP pages. To insert different codes on AMP pages use [ADINSERTER AMP] separator as described below.
2. Separate the codes with [ADINSERTER AMP] separator – the code above the separator will be inserted on normal pages, the code below the separator will be inserted on AMP pages. This separator can be used also for Header and Footer code.
Example of code for AdSense
<script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" async=""></script>
<!-- Normal page -->
<ins class="adsbygoogle"
style="display: block;"
data-ad-client="ca-pub-1234567890123456"
data-ad-slot="12345678901"
data-ad-format="auto"></ins>
<script type="text/javascript">// <![CDATA[
(adsbygoogle = window.adsbygoogle || []).push({});
// ]]></script>
[ADINSERTER AMP]
<amp-ad
layout="fixed-height"
height=100
type="adsense"
data-ad-client="ca-pub-1234567890123456"
data-ad-slot="12345678901">
</amp-ad>