Support » Plugin: AdSense Invalid Click Protector (AICP) » Confused about plugin

  • Hi, the plugin seems great, but what does this “150 Requests” mean. ARE they “the visitors per minute” “impressions” or what?? My website traffic is around 15k (Unique visitor) and 40-50,000 pageviews per day.. Whether the free version is enough to handle?? further, if i say per minute visitors, these are far less than 150…waiting for your kind reply..REGARDS

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Saumya Majumder

    (@isaumya)

    Hi,
    first of all, you have to understand that the plugin uses the third party ip-api.com only when you are enabling the country wise block feature. Now coming to the question of 150 req/min thing. See, a request is when you load any page of the website. So, let’s say you show your ads inside each blog article. Now if someone opens up 150 articles in one min that is 150 req. In short, each time a page is getting load it is a request sent to the server and/or the APIs. In fact, let’s say you open up one blog article and refresh the same page 150 time in one min, that is also 150 request. So, each time a page is getting loaded where AICP is being implemented is counted as one request.

    Moreover, I would like to clarify this very clearly that I have no sorts of affiliation or ownership of ip-api, so regardless of whether you get the PRO API or not, I won’t be getting any money. It is just a third party API that is being used by the plugin. If you pay for the PRO key for more request, the full amount will be received by ip-api team and I won’t even get a penny.

    The reason I’m saying this so that you don’t feel like I have some sorts of financial benefit out of the purchasing of IP-API PRO.

    HI, Sir thanks for having a detailed answer. I have just one more confusion, everywhere in your support i saw, and you showed this way to wrap the Adsense code (check code below).. my question is whether we have to put our ads code with the extra sentences like (This part will show ads to your non-banned visitors).. Sorry I’m not much learned to coding. For example can you please wrap my code (ads code provided below) in ready to be implemented condition.. idon’t want to use any shortcode etc. and i want simply a blank page (just default) on user getting banned. I use “Quick Adsense Plugin”

    MY EXAMPLE ADS Code (Please make it ready to be implemented straightaway).. thankful heartedly.

    `<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <!– AdSense Responsive Ad Code –>
    <ins class=”adsbygoogle”
    style=”display:block”
    data-ad-client=”ca-pub-1234567890″
    data-ad-slot=”0987654321″
    data-ad-format=”auto”>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

    AND THIS IS THE EXAMPLE CODE YOU USUALLY PROVIDE, WHICH IS CONFUSING… Like its must to USE “<?php” ??? also “aicp-can-see-ads” this is also must to be thre and what about this line “””<!– Don\’t forget to add this div with aicp class –>””””

    I Mean too many extra sentences in this code are confusing me from the standard code which you put everywhere. i will be very thankful for the help

    <?php
    if( aicp_can_see_ads() ) { // This part will show ads to your non-banned visitors
    $adCode = ‘<div class=”aicp”><!– Don\’t forget to add this div with aicp class –>
    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <!– AdSense Responsive Ad Code –>
    <ins class=”adsbygoogle”
    style=”display:block”
    data-ad-client=”ca-pub-1234567890″
    data-ad-slot=”0987654321″
    data-ad-format=”auto”>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    </div><!– end of the aicp div –>’;
    return $adCode;
    }
    ?>

    Plugin Author Saumya Majumder

    (@isaumya)

    Hi,
    the comments like This part will show ads to your non-banned visitors are just for you to understand not for actual use. The actual code would be something like these:

    <?php 
    	if( aicp_can_see_ads() ) {
    		$adCode = '<div class="aicp">
    		<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    		<!-- AdSense Responsive Ad Code -->
    		<ins class="adsbygoogle"
    		style="display:block"
    		data-ad-client="ca-pub-1234567890"
    		data-ad-slot="0987654321"
    		data-ad-format="auto"></ins>
    		<script>
    		(adsbygoogle = window.adsbygoogle || []).push({});
    		</script>
    		</div>';
    		echo $adCode;
    	} else {
    		echo '<div class="error">You have been blocked from seeing ads.</div>';
    	}
    ?>

    Thanks for replying so quick. A final question Sir.. Is this plugin Adsense friendly and i hope Adsense won’t restrict to apply such strategies.. looking for your kind reply…

    Plugin Author Saumya Majumder

    (@isaumya)

    This plugin does not modify the Adsense codes anyways just wrap it inside another div which is completely legal and the logic happens at PHP level.

    Hello SIR. When i tried to check my code, I have found my site is only using autoads from Adsense (Match content ads, anchor ads, txt and display ads, article ads). This code enables all possible kinds of Adsense ads on the site with a single code. the example code is below.. My question is.. will the same process of wrapping the code works for Auto ads code?? will it be working on all different kinds of ads from that single code? Thank You

    <script>
    (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: “ca-pub-532961613968659”,
    enable_page_level_ads: true
    });
    </script>

    • This reply was modified 1 year, 7 months ago by jobs4pak.
    Plugin Author Saumya Majumder

    (@isaumya)

    Hi,
    Autoads isn’t supported by AICP.

    HI, this is my ad code below. it shows error when i implemnt this on my site please see screenshot below.

    <?php
    if( aicp_can_see_ads() ) {
    $adCode = ‘<div class=”aicp”>
    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <!– adscode1 –>
    <ins class=”adsbygoogle”
    style=”display:inline-block;width:336px;height:280px”
    data-ad-client=”ca-pub-1636395388299708″
    data-ad-slot=”7894502890″>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    </div>’;
    echo $adCode;
    } else {
    echo ‘<div class=”error”>You have been blocked from seeing ads.</div>’;
    }
    ?>

    THIS IS THE SCREENSHOT
    https://pasteboard.co/HgHkAQ5.png

    • This reply was modified 1 year, 7 months ago by jobs4pak.
    Plugin Author Saumya Majumder

    (@isaumya)

    If the plugin you are using to show ads doesn’t allow PHP parsing then it won’t work. Your code seems correct, but you have to use a plugin that allowed PHP parsing e.g. Ad Inserter.
    Check: https://wordpress.org/support/topic/does-this-work-with-ad-inserter-plugin/

    Thanks Alot. Worked perfectly with Ads Inserter. Can you please also give me short code for my code below..i mean wrap my code (below) in short code so i can put it in functions.php…BESTEE

    <?php
    if( aicp_can_see_ads() ) {
    $adCode = ‘<div class=”aicp”>
    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <!– adscode1 –>
    <ins class=”adsbygoogle”
    style=”display:inline-block;width:336px;height:280px”
    data-ad-client=”ca-pub-89456392323675254″
    data-ad-slot=”57345028907″>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    </div>’;
    echo $adCode;
    } else {
    echo ‘<div class=”error”>You have been blocked from seeing ads.</div>’;
    }
    ?>

    Plugin Author Saumya Majumder

    (@isaumya)

    That code example has already been shown in the description section of the plugin.

    Thanks,, you are right, it’s there but i’am little confused with this “your_shortcode_function_name” idk what to write here. i’am using PHP 5.6 for my site. can u plz wrap my above mentiond code up.. it would be easy.. thankful

    it took my several days to understand and implement this code. Dear author your work is great but you should make an easy video for beginners. though you have already uploaded a video tutorial yet there are many things which confuse a beginner… it is my humble request to make step by step easy tutorial.. i will also make a tutorial in urdu language for you… Thanks for the plugin i will soon donate something for this plugin..

    Plugin Author Saumya Majumder

    (@isaumya)

    The video I made is simply a step by step thing, where you just need to understand and paste some code which wraps your Adsense code and implement it using Ad inserter.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Confused about plugin’ is closed to new replies.