Block repetitive IP addresses with specific URL parameter
I am running google ads and having invalid click issues my ad serve only in Dubai, problem i face my competitor click bomb my ad from UK, FRACE and other countries mostly from Europe and Britain, I excluded all the world expect Dubai but my competitor still able to see my ad and clicking them with some kind of bot till Dawn to Dusk.
I talked with google and they said our system filter invalid clicks but still 30 to 50 percent clicks google consider legit.
I come up with a solution by installing a plugin in WordPress and filtering traffic by filtering URL with "/?gclid=" parameter. But now I have to do it manually.
My question is there any automate rule in WordPress so I can block an IP address automatically if he click on my ad more then a couple of times.