Page 1 of 1
Protecting Adsense from false clicks?
Posted: Tue Sep 23, 2008 4:55 pm
by Sindarin
I consider using Google adsense ads for a site, but I don't know what I have to do in order to prevent false continuous clicks. I tried Googling but came up with no solution so far. I can't find any scripts for the job or any info on what exactly I have to do.
By the way, if they detect adsense fraud, do they ban your site from their search engine as well?
And I can't believe a big company like Google went lazy and did not include built-in protection for their scripts.

Re: Protecting Adsense from false clicks?
Posted: Wed Sep 24, 2008 3:19 am
by Maugrim_The_Reaper
Adsense create HTML links, right? So if a current user clicks one - use some javascript to disable the link completely. You can probably apply some wrapping around the adsense block rather than try connecting to the adsense content directly which you detect clicks on. Once the count passes a safe level - disable the whole wrapped block (remove it from DOM, and maybe replace it with something else).
Sure it means the user can just reload the page - but if the cost of clicking repetively is high enough it will discourage misuse. Maybe you could throw in a session counter as well so they have to reload the page, and delete a cookie.
Re: Protecting Adsense from false clicks?
Posted: Wed Sep 24, 2008 7:02 pm
by Sindarin
Can't we use PHP to interfere and count user clicks in some way? That'd be much more secure.
And what stops bad people from making a bot that clicks on your ads indirectly?
Re: Protecting Adsense from false clicks?
Posted: Thu Sep 25, 2008 3:50 am
by arjan.top
bots can't see the adds (javascript)
Re: Protecting Adsense from false clicks?
Posted: Thu Sep 25, 2008 5:42 am
by Sindarin
bots can't see the adds (javascript)
Are you sure about it?
I present you 2 cases,
1. one bot that simulates clicks at x,y location and then simulates a vk_backspace press to go back and click again.
2. A spider bot that scans the page html/javascript and clicks on the links. As far as I know there are bots for scanning javascript as well.
Re: Protecting Adsense from false clicks?
Posted: Thu Sep 25, 2008 5:57 am
by onion2k
arjan.top wrote:bots can't see the adds (javascript)
I know of at least one bot, albeit only an experimental one, that can parse javascript. A friend of mine is working on it for a search engine for AJAX websites. It wouldn't surprise me at all to find out someone has written one to attack AdSense adverts.
Re: Protecting Adsense from false clicks?
Posted: Fri Sep 26, 2008 9:56 am
by VirtuosiMedia
You may want to be careful about trying to build something that "protects" AdSense. From what I understand, most of what has been suggested here would modify their code in some way, which is strictly against the TOS. In all honesty, I wouldn't worry about it all that much.
Re: Protecting Adsense from false clicks?
Posted: Fri Sep 26, 2008 10:15 am
by Sindarin
So it seems that analytics can help you solve any problems?
Also can someone verify me if banned from Adsense also means from Google search?