Title: Bug in Custom Code
Last modified: July 26, 2019

---

# Bug in Custom Code

 *  [faina1988](https://wordpress.org/support/users/faina1988/)
 * (@faina1988)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/bug-in-custom-code/)
 * I have a problem:
 * when i use custom code and i put this tag:
    <amp-ad width=300 height=1 type=”
   teads” data-pid=”xxxxxx” layout=”responsive”> </amp-ad>
 * after publication it transforms it in
    <amp-ad width=”300″ height=”1″ type=”teads”
   ></amp-ad>
 * With Advanced AMP Ads it worked
 * any solutions?
 * thank you so much

Viewing 1 replies (of 1 total)

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/bug-in-custom-code/#post-11775955)
 * I tried on my localhost and the output was perfectly fine of the Teads ad
 * Can you please share the URL where you are using it so that I can check and debug
   on that site?

Viewing 1 replies (of 1 total)

The topic ‘Bug in Custom Code’ is closed to new replies.

 * ![](https://ps.w.org/ads-for-wp/assets/icon-256x256.png?rev=1919470)
 * [Easy Google Adsense and Banner Ads Manager - AdsforWP](https://wordpress.org/plugins/ads-for-wp/)
 * [Support Threads](https://wordpress.org/support/plugin/ads-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/ads-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ads-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ads-for-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Magazine3](https://wordpress.org/support/users/magazine3/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/bug-in-custom-code/#post-11775955)
 * Status: not resolved