How To Add Adsense Invalid Click Protection in Blogger Easily

 

How to prevent AdSense from invalid clicks


How To Add Adsense Invalid Click Protection in Blogger Easily

Hi Everybody, Welcome back in YourBloggerThemes. Today in this post I am going to share a tuts on How To Add Adsense Invalid Click protection in Blogger. Friends, if you are showing advertisements on your blog or website through adsense, then this post will be very beneficial for you.

If you are a webmaster then you must really know about adsense and if you know about adsense then you must also know about invalid clicks in adsense. If you do not know about adsense invalid click then no problem, in today's post we will let you know about invalid clicks in adsense and how to protect your adsense account in blogger.


What is Inavlid Clicks in Blogger ?

When a user keeps clicking on the ads shown by adsense from the same ip address on your website or blog more times, then adsense considers it against its guidelines and community. Adsense calls more clicks coming from the same ip address as invalid click.


How To Install Invalid Click Protector in Blogger Website

Step 1 :- First of All, You Need To Go on Blogger.com

Step 2 :- Now Login With Your Blogger Account.

Step 3 :- Now Click on Theme Menu Section.

Step 4 :- Now Click on Edit HTML.

Step 5 :- Now Copy The Code Given Below And Paste it Above The </body> Tag in Your Theme.


 
  
   <script>
   var limitClick = 3;                                  // Set Maximum Number of Clicks //
   var idAdsense = "#Your Custom id";     // Specify the id you want to use in wrapping of ads code //
</script>
<script async="async" src="//cdn.jsdelivr.net/npm/blogspot-clickfraud@0.0.4/index.min.js"/>




Step 6 :-Now wrap your AdSense ad code in an element with #Your Custom id, it must be the same as in the script above. After Wrapping it your ads tag look like below codes.


 
  
   
<div id="#Your Custom id">
  <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-XXXXXXXXXXXXXXXX"
     data-ad-slot="XXXXXXXXXX"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>




Step 7 :- Now Don't Forget to Click on save Button. Finished.


Conclusion

Well thats great tutorial on Adsense Invalid Click Protection in Blogger Website. If you have face any problem regarding to this post then put your comment in to comment box.

Post a Comment

Post a Comment (0)

Previous Post Next Post