Title: Help needed to implement codes
Last modified: June 12, 2017

---

# Help needed to implement codes

 *  Resolved [clickinweb](https://wordpress.org/support/users/clickinweb/)
 * (@clickinweb)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/help-needed-to-implement-codes/)
 * Hello,
    Thanks for the great plugin, needed it the most to safeguard adds from
   invalid clicks. However i am facing difficulty implementing the codes. I have
   installed the plugin on Spottask.com and able to modify only the footer add [
   With given instructions i.e. Put a if( aicp_can_see_ads() ) { /* return your 
   ad code here */ } block before returning your ad code to the front end Wrap your
   ad code within a simple div tag like this <div class=”aicp”>…your ad code goes
   here…</div>]
 * The other adds header and in between content and on pages are throwing a error
   whenever i insert the given codes.
 * DOES IT REQUIRE A Php tag? Can someone simplify and provide me exactly what code
   i need to insert, without effecting the current website design.

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

 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/help-needed-to-implement-codes/#post-9219684)
 * If you watch the explanation video I have already simplified it and yes it require
   PHP tags as the if statement, function calling, echo all PHP thing. That is why
   I recommended using the shortcode method. Please watch the video carefully.
 *  Thread Starter [clickinweb](https://wordpress.org/support/users/clickinweb/)
 * (@clickinweb)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/help-needed-to-implement-codes/#post-9219714)
 * I have to remove the codes from footer also as it switches off my slider. Can
   someone have a look at the site and let me know what exactly i have to do to 
   make this plugin work.
 *  Thread Starter [clickinweb](https://wordpress.org/support/users/clickinweb/)
 * (@clickinweb)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/help-needed-to-implement-codes/#post-9219960)
 * This is the output when i see it through source codes .. let me know if that 
   correct and done.
 * <div class=”aicp”><!– Don’t forget to add this div with aicp class –>
    <script
   async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script
   > <!– Header –> <ins class=”adsbygoogle” style=”display:block” data-ad-client
   =”ca-pub-2258577635372871″ data-ad-slot=”1270653146″ data-ad-format=”auto”> <
   script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
 *  </div><!– end of the aicp div –>
 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/help-needed-to-implement-codes/#post-9220236)
 * As I can see it is working just fine on your site….
 *  Thread Starter [clickinweb](https://wordpress.org/support/users/clickinweb/)
 * (@clickinweb)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/help-needed-to-implement-codes/#post-9222772)
 * Ads are protected from invalid clicks, but the website is not protected from 
   bots and unsafe visits. I have blocked an attack but still have certain queries,
   pls connect so that i can discuss more and share snapshots.
 * Please contact me on clickinwebstudio attherate gmail dot com
 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/help-needed-to-implement-codes/#post-9223051)
 * This plugin is supposed to safeguard your ads not your entire site. For that 
   you better go with a good hosting instead of sniffing through plugins. Trust 
   me on long rung it will help you greatly…

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

The topic ‘Help needed to implement codes’ 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
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/help-needed-to-implement-codes/#post-9223051)
 * Status: resolved