Click Adsense protection is invalid for Blogger

In this article, we are going to see how to implement an Adsense invalid click protector for blogger with javascript. Invalid click would lead to suspension of Adsense account so it should be taken very seriously.
Adsense is always the first choice of every blogger and it is used by almost every blogger. It is trying to improve the ad experience and the conversion rate without hurting the advertiser’s money.
What is an Invalid Click
In short, an Invalid click can be termed as an unintentional click which doesn’t benefit the advertisers. It can happen in several ways Eg. Your competitor or enemy can click your ads in a move to disable your account.
Invalid clicks create a huge loss to advertisers so it is the duty if Google to disable such accounts which have such behavior.
Read this article – Table of Content in Blogger

How Invalid Click Occurs

Invalid clicks can be divided into intentional or non-intentional based on the motive of the action. However, there are many ways to protect your account from these actions.
  1. Poor and Spammy Contents
  2. Lots of Ads
  3. Lack of knowledge about Adsense (children)
  4. Enemy
I don’t think I have to explain each one but you should stop sharing your blog on everywhere, don’t write spammy contents which irritate readers.

Adsense Invalid Click Protector for Blogger

It is very easy in WordPress to protect your Adsense account with plugins but blogger doesn’t support this feature. But we can utilize the javascript to implement an invalid click protector.
First of all, we should appreciate the coder behind this awesome script which has solved years of problem and I think this would really help a huge number of blogger who is depending upon Blogger CMS.
Read this article – Top SEO Optimized Blogger Templates

Adsense Invalid Click Protector Script

Follow every step carefully to avoid errors and make sure that you have taken a backup of your theme so that you don’t have worry if something goes wrong.
1. Goto your blogger dashboard and click Edit HTML after that paste this code above 
 or  tag.
This the default code with all pre-configured values and settings.
<script async='async' defer='defer'>
function downloadJSAtOnload(){var e=document.createElement("script");e.src="[email protected]/adsense-guard.js",document.body.appendChild(e)}window.addEventListener?window.addEventListener("load",downloadJSAtOnload,!1):window.attachEvent?window.attachEvent("onload",downloadJSAtOnload):window.onload=downloadJSAtOnload;

How this code works

This small piece of javascript will hide your Ads if someone clicks your ad multiple times ( you can set this no in the script) and will show only after a fixed interval of time.
You can change all the default variable like ads click and time with your own data but proceed with the utmost care.
Read this article – Top 5 Mobile Friendly Blogger Template Free

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 with your own values and paste as shown in the above step.


Neither the author or we guarantee the safety of your Adsense account and this script doesn’t ensure 100% blocking of invalid clicks.
This code is actually adapted from Installing the AdSense Click Anti Bomb Script on Blogger
About My name is Nguyen Manh Cuong. I was born in a poor village in Ba Vi district, HA NOI province - windy and sunny land. Currently. Mr Cuong.
Newer Posts Newer Posts Older Posts Older Posts