androidadmob

How to prevent invalid user clicks?


I implemented Admob ads in my Android application. Since I know the strict rules of admob that lead very easily to ban, I would like to know if there is a way to limit the number of clicks that a user can do. If there is a way to do that, what many max clicks number do you recommend?


Solution

  • If you really want to limit clicks per user, you could count the number of onPresentScreen() callbacks and just stop showing ads if they reach a certain threshold.

    However, I agree with the comments on the original post. It's not your job to worry about malicious users who continually click on ads. Just make sure to prevent accidental clicks by not placing your ads very close to user controls, and don't encourage clicks by rewarding users for clicking ads.