How to Protect Adsense Account from Invalid Clicks in Blogger | PC Week

How to Protect Adsense Account from Invalid Clicks in Blogger

Wednesday, May 22, 2019

How to Protect Adsense Account from Invalid Clicks in Blogger

How to Protect Adsense Account from Invalid Clicks in Blogger
Most of the newbie bloggers would prefer blogger platform more than any other free platform around the web. But Invalid clicks are the real enemy when you have Adsense enabled in your blog.

In this article, we will learn how to protect Adsense account from invalid clicks in blogger with a simple Adsense invalid click protector script made by one of the blogger developers.

Adsense is one of the central sources of earnings for most of the blogger. But what happens when your Adsense get disabled without any errors from your side, this can be because of invalid clicks which could be occurred by multiple reasons.

How to Protect Adsense Account from Invalid Clicks in Blogger

First of all please don't check whether this script is working or not which will put your Adsense account in danger. This script is not developed by us and we do not hold any responsibility for any errors
This code is tested successfully by the developer, carefully follow every instruction and comment if you have any doubt regarding the installation, not the script.

How Invalid Clicks Occur

Invalid clicks can be classified as intentional or non-intentional based on the motive of the action. This is a great loss for advertisers, So Google tracks invalid clicks which haven't initiated any action.
  1. Poor and Spammy Contents
  2. Lots of Ads
  3. Lack of knowledge about Adsense (children)
  4. Enemy
Always create good quality contents rather than going for spammy and irrelevant content this could make your visitor angry. I have seen that most of the people fill the page with lots of Ads which too irritating.

If your enemy intentionally wants to harm you then there is nothing we can do even if you're using any of the platforms, therefore, it is advised that never share your blog to anyone.

Adsense Invalid Click Protector Script

Follow this step carefully and protect your Adsense accounts from invalid clicks.

Step 1

Goto your blogger dashboard and click Edit HTML after that paste this code above </head> or </body> tag.

Direct Code with Default Settings

<script async='async' defer='defer'>
function downloadJSAtOnload(){var e=document.createElement("script");e.src="[email protected]/antiboomclick.js",document.body.appendChild(e)}window.addEventListener?window.addEventListener("load",downloadJSAtOnload,!1):window.attachEvent?window.attachEvent("onload",downloadJSAtOnload):window.onload=downloadJSAtOnload;

Editable Script

<script async='async' defer='defer'>
function downloadJSAtOnload(){var e=document.createElement("script");e.src="[email protected]/clickonme.js",document.body.appendChild(e)}window.addEventListener?window.addEventListener("load",downloadJSAtOnload,!1):window.attachEvent?window.attachEvent("onload",downloadJSAtOnload):window.onload=downloadJSAtOnload;

click:3 maximum number of clicks after which the Adsense ad will not be shown.

interval:23000 time-interval after which the ad will be shown again (time in milliseconds)
You can change the values as you wish but proceed with atmost care
Step 2

Click Save and Enjoy

How Adsense Invalid Click Protector Script Works

Working of this script is very simple, It will automatically hide your Adsense Ads if someone clicks your Ad with the same IP for more than 3 times (default variable) and reloads the ad after a fixed interval that can be declared by the user itself.

We all know the difficulties in getting an Adsense account and make earnings from it. Please don't follow any black hat techniques to earn money today or tomorrow your Adsense account will get disabled.


I Hope that you liked this post on Mobile Friendly Blogger Template Free. You can freely comment on your doubts and queries below.

If you liked this article, then please share this with your friends. You can also find us on Twitter, Facebook, YouTube, and Instagram.


I'm an Electronics Engineer with years of experience in Blogging and DIY Projects. I like to make new gadgets and write contents related to technology and Blogging.

Disclaimer : Muhammed Fasil K is a participant in the Amazon Services LLC Associates Program, an affiliate program to earn commission by advertising and linking sites to Amazon products.