More than one extension .jp script AMP warning after update
-
I manually placed the following AdSense AMP ads.
– AMP auto ads
– AMP sticky ad
– flying carpetAfter the recent update of AMP for WP plugin, we got the following AMP warning messages.
The tag ‘amp-fx-flying-carpet extension .js script’ appears more than once in the document. This will soon be an error.
The tag ‘amp-ad extension .js script’ appears more than once in the document. This will soon be an error.
I took a look at the source code of AMP page, and found the following scripts inserted by AMP for WP.
<script type=’text/javascript’ src=’https://cdn.ampproject.org/v0/amp-fx-flying-carpet-latest.js’ async custom-element=”amp-fx-flying-carpet”></script>
<script type=’text/javascript’ src=’https://cdn.ampproject.org/v0/amp-ad-latest.js’ async custom-element=”amp-ad”></script>
As a temporary fix, I deleted manually placed the following script for Flying carpet.
<script async custom-element=”amp-fx-flying-carpet” src=”https://cdn.ampproject.org/v0/amp-fx-flying-carpet-0.1.js”></script>
It also looks like the plugin automatically inserts amp-ad script, and we got warning on The AMP Validator.
<script async custom-element=”amp-ad” src=”https://cdn.ampproject.org/v0/amp-ad-0.1.js”></script>
After the temporary fix, the page passed AMP test, but I still got warning from the AMP validator.
Can you please stop automatically inserting extension .js script for AdSense AMP ads, or add settings to prevent from insertion of AMP ads extension script?
Thank you for your support and help in advance.
Regards,
Chico
The page I need help with: [log in to see the link]
- The topic ‘More than one extension .jp script AMP warning after update’ is closed to new replies.