Title: Adsense Error Code 2.1a
Last modified: August 23, 2020

---

# Adsense Error Code 2.1a

 *  Resolved [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/)
 * Hello there , i have been using this plugin for more than a year but From the
   last 10 days an error is showing on my adsense.
 * the error is like
 * “We’ve detected an issue on your IAB TC string on one or more of your sites or
   apps”
 * Adsense also added a error file and a link for help but i cant understand any
   thing from there. the link is [https://support.google.com/adsense/answer/9999955](https://support.google.com/adsense/answer/9999955)
 * Problems that are showing in error file are ( 2.1a , 1.1 , 5.1 ) briefly described
   in the adsense link.
 * basically what i understood from there is in my site my ads are showing before
   my consent is accepted or rejected.
 * Now is there any solution/advise from you guys to solve this problem .
 * my site : [gamersdunia.com](https://gamersdunia.com/)
 * thank you in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadsense-error-code-2-1a%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 33 total)

1 [2](https://wordpress.org/support/topic/adsense-error-code-2-1a/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/adsense-error-code-2-1a/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/adsense-error-code-2-1a/page/2/?output_format=md)

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13300826)
 * Hello,
 * AdSense reported this error because you are serving ads before the consent is
   given.
 * Please check this page on how to whitelist ads after the consent is given:
    [https://adinserter.pro/faq/gdpr-compliance-cookies-consent#tcf](https://adinserter.pro/faq/gdpr-compliance-cookies-consent#tcf)
 *  Thread Starter [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13301170)
 * Ok i understand upto url parameters. but since i use a caching pugin ( Wp rocket)
   so i should look into “Dynamic blocks” and i also make “dynamic block” to “Client
   side inset”.
 * other than ad inserter i also use my theme to show ads only on my header. does
   it make Any Cause ?
 * thank for the reply.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13301175)
 * Set Dynamic blocks to Client side insert.
 * Yes, that ad cdoe will be isnerted before teh consent is given.
    Configure one
   Ad Inserter block and use shortcode in the theme settings. [https://adinserter.pro/documentation/manual-insertion#shortcodes](https://adinserter.pro/documentation/manual-insertion#shortcodes)
 *  Thread Starter [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13301420)
 * Thank you for your valuable time. Thank you very much 🥰.
 * Just one last thing, now I can control all of my ads through ad inserter but 
   is there any way to control auto ads codes ?
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13301430)
 * Not aware of any such solution yet.
    maybe Google with take care automatically.
 * > Thank you for your valuable time. Thank you very much
 * Please say it here:
    [https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post](https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post)
 * Thank you!
 *  Thread Starter [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13302477)
 * [@spacetime](https://wordpress.org/support/users/spacetime/) Hello again. I did
   all the settings As per your instruction.
 * with this settings all ads are perfectly working on desktop only , no ads are
   showing in mobile.
    Where my 98% traffic comes from mobile devices.
    -  Check my site Here
 *  : [gamersdunia.com](https://gamersdunia.com/)
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13302490)
 * Remote debugging doesn’t seem to be enabled.
    Please check.
 *  Thread Starter [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13302607)
 * Where to check can you tell??
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13302615)
 * Remote debugging: tab ⚙ / tab Debugging.
 * [https://adinserter.pro/documentation/debugging#global](https://adinserter.pro/documentation/debugging#global)
 *  Thread Starter [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13302649)
 * I Enabled Remote debugging , still not showing ads.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13302684)
 * Remote debugging only enables remote debugging, it has nothing to do with the
   ads.
 * It seems one of the plugins is causing javascript errror:
 *     ```
       PermissionManager.js:
       Uncaught (in promise) TypeError: Cannot read property 'pushNotification' of undefined
       ```
   
 * which prevents ads from showing.
 * Very likely OneSignal – Web Push Notifications.
    Try to disable it.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13302718)
 * You also have an error generated by Adsense ad code:
 * `{message: "adsbygoogle.push() error: Fluid responsive ads must be at least 250px
   wide: availableWidth=168`
 * It seems one block is inserted into too narrow space. The code needs at least
   250 px wide space.
 *  Thread Starter [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13302720)
 * I disabled it. Still no change.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13302732)
 * Yes, see the post above.
    There is still one error on the page.
 *  Thread Starter [Prasanta Ghosh](https://wordpress.org/support/users/gamersdunia16/)
 * (@gamersdunia16)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/#post-13302766)
 * I removed that ad which causing the problem.
 * And More Concern about this [pages](https://gamersdunia.com/coin-master-daily-free-spins-link-today/)
   ads

Viewing 15 replies - 1 through 15 (of 33 total)

1 [2](https://wordpress.org/support/topic/adsense-error-code-2-1a/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/adsense-error-code-2-1a/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/adsense-error-code-2-1a/page/2/?output_format=md)

The topic ‘Adsense Error Code 2.1a’ 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/)

 * 33 replies
 * 3 participants
 * Last reply from: [solo rd](https://wordpress.org/support/users/solord/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/adsense-error-code-2-1a/page/3/#post-13379976)
 * Status: resolved