Title: adsense code error
Last modified: April 19, 2020

---

# adsense code error

 *  Resolved [Livingstone](https://wordpress.org/support/users/livingstone/)
 * (@livingstone)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-1338/)
 * Halo sir
 * I started experiencing this error [https://prnt.sc/s2e5zg](https://prnt.sc/s2e5zg)
   on: [https://mobifree.co.ke/ad/toyota-vanguard-2012/](https://mobifree.co.ke/ad/toyota-vanguard-2012/)
   and on every ad
 * Kindly assist. remote debugging enabled
    -  This topic was modified 5 years, 11 months ago by [Livingstone](https://wordpress.org/support/users/livingstone/).
    -  This topic was modified 5 years, 11 months ago by [Livingstone](https://wordpress.org/support/users/livingstone/).
    -  This topic was modified 5 years, 11 months ago by [Livingstone](https://wordpress.org/support/users/livingstone/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-1338/#post-12698159)
 * This is javascript code form blocks 2 and 3.
 * Something has stripped away `<script>` tags from your ad code.
 *  Thread Starter [Livingstone](https://wordpress.org/support/users/livingstone/)
 * (@livingstone)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-1338/#post-12698187)
 * [@spacetime](https://wordpress.org/support/users/spacetime/) Should I generate
   another ad code and do a replacement? Will it work correctly?
    -  This reply was modified 5 years, 11 months ago by [Livingstone](https://wordpress.org/support/users/livingstone/).
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-1338/#post-12698194)
 * No, you need to figure out what is removing the script tags.
 * Try to disable all plugins, flush the cache and then enable one by one.
 *  Thread Starter [Livingstone](https://wordpress.org/support/users/livingstone/)
 * (@livingstone)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-1338/#post-12698198)
 * Ok. Thanks
 *  Thread Starter [Livingstone](https://wordpress.org/support/users/livingstone/)
 * (@livingstone)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-1338/#post-12698267)
 * Nothing found sir
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-1338/#post-12698291)
 * The issue you have has nothing to do with Ad Inserter.
    It inserts the codes 
   into the content as configured. However, something removes script tags from the
   content.
 * For block 3:
 *     ```
       <div class='code-block code-block-3' style='margin: 8px auto; text-align: center; display: block; clear: both;'>
       <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
       <!-- Paragraph Mobi -->
       <ins class="adsbygoogle"
            style="display:block"
            data-ad-client="ca-pub-7840641255180449"
            data-ad-slot="8925818277"
            data-ad-format="auto"
            data-full-width-responsive="true"></ins>
       <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
       </script></div>
       ```
   
 * Maybe some security setting on the server.
    I would suggest to contact your hosting
   company.
 *  Thread Starter [Livingstone](https://wordpress.org/support/users/livingstone/)
 * (@livingstone)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-1338/#post-12698316)
 * Thank you

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘adsense code error’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Livingstone](https://wordpress.org/support/users/livingstone/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/error-1338/#post-12698316)
 * Status: resolved