• Hi support team,

    1. Whether this AICP plugin will work if I already have Nitro pack (speed optimising plugin) on my worpress website. Plz suggest me.

    2. My current php is very 7.3. You have suggested that for above php ver 5.5 on the description you have given complete set of codes including short code and along with the as usual ad code. I have confused regarding which type of shortcodes I need to add their.

    So For your reference – my purposes is just I need to protect my site from invalid clicks so for that can you please give me exact code below and suggest me where I need to add the code.it will be more helpful to apply. I’m a beginner so Please provide me.

    3.your suggested code should be in each and every pages of my website or else just by adding function.Php will be enough to implenet. Because I like to prefer manually adding ad codes using via theme option to sidebars and pages. So please suggest me.

    4. Based on your experience please suggest me that, in your description you have mentioned this plugin will not work for mobile. My query is if multiple clicks happend through mobile or tablet whether it may affect the Adsense account through this invalid Clik activity particularly on mobile and tab. Can it lead to ban account. I’m a beginner so please share your opinion regarding this?

    I’m requesting you please provide me solutions for all my queries 1,2,3and 4. It’s my request sir.

    • This topic was modified 4 years, 3 months ago by palaniappan.
Viewing 15 replies - 1 through 15 (of 43 total)
  • Plugin Author iSaumya

    (@isaumya)

    1. Whether this AICP plugin will work if I already have Nitro pack (speed optimising plugin) on my worpress website. Plz suggest me

    AICP will not work with any page caching plugin no matter what.

    2. My current php is very 7.3. You have suggested that for above php ver 5.5 on the description you have given complete set of codes including short code and along with the as usual ad code. I have confused regarding which type of shortcodes I need to add their.

    So For your reference – my purposes is just I need to protect my site from invalid clicks so for that can you please give me exact code below and suggest me where I need to add the code.it will be more helpful to apply. I’m a beginner so Please provide me.

    If you are using the shortcode approach for adding the ad codes to your content then you can add your shortcode like this:

    add_shortcode( 'your_shortcode_name', function() {
        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"></ins>
            <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
            </script>
            </div><!-- end of the aicp div -->';
            return $adCode;
        } else { // Anything within this part will be shown to your banned visitors or to the blocked country visitors
            return '<div class="error">You have been blocked from seeing ads.</div>';
        }
    } );

    If you are using the Ad Inserter plugin to insert ad codes then you will add it like this:

    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"></ins>
            <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
            </script>
            </div><!-- end of the aicp div -->';
            echo $adCode;
        } else { // Anything within this part will be shown to your banned visitors or to the blocked country visitors
            echo '<div class="error">You have been blocked from seeing ads.</div>';
        }

    3.your suggested code should be in each and every pages of my website or else just by adding function.Php will be enough to implenet. Because I like to prefer manually adding ad codes using via theme option to sidebars and pages. So please suggest me.

    I think you should use the Ad Inserter plugin which will give you a much more control over how and where you want to show your ads.

    4. Based on your experience please suggest me that, in your description you have mentioned this plugin will not work for mobile. My query is if multiple clicks happend through mobile or tablet whether it may affect the Adsense account through this invalid Clik activity particularly on mobile and tab. Can it lead to ban account. I’m a beginner so please share your opinion regarding this?

    This generally doesn’t happen. The main problem is the handheld devices don’t use click they use touch which is why it is insanely hard to detect when a touch happens inside and iframe or something like that. I don’t think your account should face any issues.

    Thread Starter palaniappan

    (@palaniappan)

    Hi sir,

    1.can you please suggest me the recommended settings for Adsense invalid Clik protector. Like How many Ad Clik limit, clik counter cookie expiration and ban duration days. Plz suggest me the best settings – I will follow as based on your suggestion.

    2. I need your suggestion that what are the country I need to exclude, because I don’t know about this option to handle. You know very well about Adsense and it’s terms. So please share your suggestions.

    Thank you so much sir! I need your support always. Please reply me.

    Plugin Author iSaumya

    (@isaumya)

    1.can you please suggest me the recommended settings for Adsense invalid Clik protector. Like How many Ad Clik limit, clik counter cookie expiration and ban duration days. Plz suggest me the best settings – I will follow as based on your suggestion.

    The default is good.

    2. I need your suggestion that what are the country I need to exclude, because I don’t know about this option to handle. You know very well about Adsense and it’s terms. So please share your suggestions.

    It’s best to not exclude countries as if you have high page views you can easily go beyond the free API limit quota. Mostly it’s not needed unless you don’t want to show the ads to certain countries.

    Thread Starter palaniappan

    (@palaniappan)

    Hi sir,

    You have given two different Examples of using the codes for the shortcode Approach and also the codes for the Ad inserter plugin. Please let me know whether I need to add the <?php at the first line of these both shortcode & in Ad inserter plugins. pls, suggest to me whether <?PHP is mandatory or not needed?

    Thank You! Please reply to me, sir.

    Plugin Author iSaumya

    (@isaumya)

    You should either use shortcode or ad inserter approach. If you are using ad inserter it should cover basically every possible scenario and you don’t need to use shortcode. In you are using ad inserter you don’t need to add <?php thing at the beginning just enable the PHP option for the block. Screenshot: https://i.imgur.com/LD93KaX.png

    Thread Starter palaniappan

    (@palaniappan)

    Hi sir,

    1. I can’t find the sidebar options in the Ad inserter plugins. I’m interested in adding codes to SIdebar. please provide me the exact code to add in sidebars and suggest me the steps to add the code in sidebars.

    2. Another only one request that I’m Requesting can you please provide me the exact code to directly using via Theme option. It is also more help and support for me.

    SO please Reply me, sir. It’s my Request.

    Plugin Author iSaumya

    (@isaumya)

    1. I can’t find the sidebar options in the Ad inserter plugins. I’m interested in adding codes to SIdebar. please provide me the exact code to add in sidebars and suggest me the steps to add the code in sidebars.

    For the sidebar you need to use shortcode. Ad Inserter works inside your content but not in sidebar.

    2. Another only one request that I’m Requesting can you please provide me the exact code to directly using via Theme option. It is also more help and support for me.

    Adding code in theme options won’t help as they parse the code as our text and not execute the PHP. You have to use ad inserter and shortcode.

    Thread Starter palaniappan

    (@palaniappan)

    Hi sir,

    How can I check whether these codes are working perfectly? can you please provide me the test or dummy codes to check it. I’m requesting please suggest me the solution to me, sir.

    Thank you! Please reply to me, sir.

    Plugin Author iSaumya

    (@isaumya)

    How can I check whether these codes are working perfectly? can you please provide me the test or dummy codes to check it. I’m requesting please suggest me the solution to me, sir.

    There is no dummy code. Simply open in an incognito window and instead of doing a left-click on the ads, do right-clicks as that won’t invoke your ads to open but you can test.

    Thread Starter palaniappan

    (@palaniappan)

    Thank you lot saumya Mahindra sir for such a wonderfull and amazing support. We need your support always.

    Thank you sir.

    Thread Starter palaniappan

    (@palaniappan)

    Hi sir,

    You have said that theme option will not work for this type of codes, so please suggest me how can I insert your codes on header ( I can’t find this option in ad inserter plugin) . Also suggest me the steps and exact codes which I need to prefer. Please suggest me sir.

    • This reply was modified 4 years, 3 months ago by palaniappan.
    Plugin Author iSaumya

    (@isaumya)

    You have said that theme option will not work for this type of codes, so please suggest me how can I insert your codes on header ( I can’t find this option in ad inserter plugin) . Also suggest me the steps and exact codes which I need to prefer. Please suggest me sir.

    For this, you need to edit your theme’s template code and put the PHP code block there.

    Thread Starter palaniappan

    (@palaniappan)

    Hi sir,
    Can you send me the screenshots regarding the exact steps And codes. It will be helpful to follow.

    Thank you! Please reply me sir.

    Plugin Author iSaumya

    (@isaumya)

    Can you send me the screenshots regarding the exact steps And codes. It will be helpful to follow.

    It is not that easy as this will require editing the theme’s code, creating child theme of your parent theme etc. I would recommend hiring a developer to do it for you as it would be way easier and the developer can do it very quickly.

    Thread Starter palaniappan

    (@palaniappan)

    Hi sir,

    Only one query – in ad inserter there is an option to display ads for post. But I
    Have a confusion to enable it for the pages. plz suggest me how can I enable that ad codes for all the pages like contact us, about us, privacy policy, disclaimer etc. Can you please suggest me which option I need to enable. Please send screenshots sir. Its my request.

    Thank you so much sir! Placing reply me sir.

Viewing 15 replies - 1 through 15 (of 43 total)
  • The topic ‘General inquiry’ is closed to new replies.