Tip for avoiding invalid AdSense clicks

Status
Not open for further replies.

Numbat

Fair to Middlin'
Jun 26, 2006
91
8
0
When setting up one of my sites, I accidentally clicked on one of the ads. I wrote to Google to let them know about it, and they told me about this little gem:

google_adtest='on';

Insert that into your Adsense script section and you won't record any clicks or impressions. If you know about scripting (either client- or server-side), you could pretty easily put it in a conditional statement that checks if the IP address is your test machine.

Hope it's useful.
 


That is crazy, all you see on sites like DP and SP is people getting banned for clicking their own ads and I have never seen this before.

Good find and thanks.
 
Wow, nice. Countless adsense newbies will be saved now! Rep for you buddy.
 
I knew about it already and thought most people did, but great you gave this tip away! as most people apparenty didn't know about it.
 
Status
Not open for further replies.