How to Prevent Invalid AdSense Clicks in Blogger | Invalid Click Protector for AdSense

 

Hi to all, in this article I am going to tell you all about how to prevent invalid AdSense clicks in your blogger website easily without any error by using a simple JavaScript code.


Invalid AdSense clicks are the results of clicks and impressions typically generated by bots or spammers.


What is AICP Script ?

Invalid Ads Click Protection is a type of JavaScript code, helps for blogger creators to prevent invalid AdSense clicks in their blogger blogs.


What is Invalid Ad Click ?

Clicks on ads that google considers to be illegitimate, such as unintentional clicks or click coming from any robots or any other source.


A high number of invalid clicks can get your AdSense account suspended, and if your account is suspended then you can appeal to google by filling a form and then google team reviews your activity and if they found clear then they will enable your account and to appeal for this click here.


If you don't know how to get fast AdSense approval, then you can read this article for approval tips.


Read the below provided steps carefully and completely to get clear understanding about adding the AdSense prevention script in your blogger website without any error or issue.







Steps to Prevent Invalid AdSense Clicks in Blogger



Step-1: First of all you need to login to your blogger website dashboard by using your login credentials.




Step-2: Now you need to follow the below provided path carefully:

Blogger dashboard -> Click on theme section -> Click on arrow icon -> Click on backup -> Click on download theme.




Step-3: Again you need to follow the below provided path carefully:

Blogger website dashboard -> Theme section -> arrow icon -> Edit HTML -> Blogger theme editor.




Step-4: Here we have two types of code, one is direct code with default settings and other is editable script code.


1st Script:- Direct Code with default settings

In this below code you no need to edit any piece of code, you can directly add the code in your theme </head> tag or </body> tag, this code automatically detects the invalid activity and disable the ads based on their IP address.


<script type='text/javascript'>
//<![CDATA[
function downloadJSAtOnload(){var e=document.createElement("script");e.src="https://rawcdn.githack.com/mhdfasilwyd/script/e10713efcec5a681123c8cc8b74312cd4441b065/adsense-guard.js",document.body.appendChild(e)}window.addEventListener?window.addEventListener("load",downloadJSAtOnload,!1):window.attachEvent?window.attachEvent("onload",downloadJSAtOnload):window.onload=downloadJSAtOnload;
//]]>
</script>


2nd Script:- Editable Script code

In this below code you need to change the based on your interest.

Here clicks is nothing but, the maximum number of clicks after which the AdSense ad will not be shown.

Coming to interval, until completion of this time ads will not be shown to the user after this time interval as will show gain and you can set time based on your interest.

After successful modification of the below code, you can directly add the code in your theme </head> tag or </body> tag.

Here you need to change number of clicks and interval time and default settings are as follow:

Clicks: 3 (You can set based on your choice) 

Interval: 23000 (Time is given in milliseconds)


  
<script type='text/javascript'>
//<![CDATA[
function downloadJSAtOnload(){var e=document.createElement("script");e.src="https://rawcdn.githack.com/mhdfasilwyd/script/b5ef06b19b4dcfe84de574c318ccb65a439bb182/adsense-click.js",document.body.appendChild(e)}window.addEventListener?window.addEventListener("load",downloadJSAtOnload,!1):window.attachEvent?window.attachEvent("onload",downloadJSAtOnload):window.onload=downloadJSAtOnload;
Arlina.init({click:3,interval:4000000});
//]]>
</script>  



From the above two scripts, my suggestion is to use the editable script, which you can modify based on your choice or if you don't know about editing the script  then go for direct code with default settings.




Note


If you get any error while saving the code then you need to restore your backup code again and need to repeat the same process as provided in above steps carefully.


You can any one code from the above two, and you need to paste the code based on your website theme, because in some templates this code works in </body> tag and in some templates it works in </head> tag, so you need to test once by just adding the code in any one tag and test for some days and of works then ok, else remove and paste it in other tag accordingly.




Conclusion


I hope that you have understood about how to prevent invalid AdSense clicks in blogger website easily in just few minutes by using JavaScript code.





Next Post Previous Post

Cookies Consent

This website uses cookies to analyze traffic and offer you a better Browsing Experience. By using our website.

Learn More