Title: Plugin can&#8217;t block Ad
Last modified: August 20, 2018

---

# Plugin can’t block Ad

 *  Resolved [yassinejemmali](https://wordpress.org/support/users/yassinejemmali/)
 * (@yassinejemmali)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-cant-block-ad/)
 * I installed your plugin.
    I configure the plugin Ads appear but there is no ad
   blocking after 2 clicks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-cant-block-ad%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [yassinejemmali](https://wordpress.org/support/users/yassinejemmali/)
 * (@yassinejemmali)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-cant-block-ad/#post-10606510)
 * <?php
    if( aicp_can_see_ads() ) { echo ‘<div class=”aicp”> <script async src=”//
   pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script> <!– C IPTV –
   Bannière –> <ins class=”adsbygoogle” style=”display:block” data-ad-client=”ca-
   pub-xxxxxxxxxxxxxxxxx” data-ad-slot=”xxxxxxxxxxxxxx” data-ad-format=”auto”> <
   script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div>’;
 * } else {
    echo ‘PUB’; }
 * ?>
 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-cant-block-ad/#post-10606549)
 * Can you share your page link where I can see it in action? Also, are you using
   any caching plugin of any sorts? If you do, then disable it.
 *  Thread Starter [yassinejemmali](https://wordpress.org/support/users/yassinejemmali/)
 * (@yassinejemmali)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-cant-block-ad/#post-10607196)
 * Hello
 * Sorry for late
 * Thank you very much for the plugin.
    it works now. 🙂 After disabling the cahe
   plugin. Can I install the plugin in multiple sites? Is there a traffic limit 
   problem? Does the code work on another plugin other than Ad Inserter like Better
   Ads ??
 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-cant-block-ad/#post-10607217)
 * Hi,
    yes, it works on multiple pages. If you are not using the country level 
   blocking then there should not be an issue with a limit.
 * Regarding your last question, check: [https://wordpress.org/support/topic/does-this-work-with-ad-inserter-plugin/](https://wordpress.org/support/topic/does-this-work-with-ad-inserter-plugin/)
 *  [cow9599](https://wordpress.org/support/users/cow9599/)
 * (@cow9599)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-cant-block-ad/#post-10645553)
 * can i use cache plugin after i set up AICP?
    because i am using WP fast cache
   plugin for faster page loading.
 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-cant-block-ad/#post-10645852)
 * [@cow9599](https://wordpress.org/support/users/cow9599/) AICP doesn’t work with
   any cache plugin because to work AICP needs PHP to execute the page and make 
   calculations instead to delivering the page from some cache

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

The topic ‘Plugin can’t block Ad’ is closed to new replies.

 * ![](https://ps.w.org/ad-invalid-click-protector/assets/icon-256x256.png?rev=1534940)
 * [Ad Invalid Click Protector (AICP)](https://wordpress.org/plugins/ad-invalid-click-protector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-invalid-click-protector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-invalid-click-protector/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-invalid-click-protector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-invalid-click-protector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-invalid-click-protector/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-cant-block-ad/#post-10645852)
 * Status: resolved