Home Journals IJTER Archives Vol. 2, No. 4 Machine Learning Based Real-Time Ad Click Fraud Detection an...

International Journal of Technology & Emerging Research

e-ISSN: 3068-109X p-ISSN: 3068-1995 DOI: 10.64823 Current Volume: 2 — Issue 6 (2026)
Open Access monthly Peer Reviewed Submit Manuscript
Article Info
Open Access Research Article

Machine Learning Based Real-Time Ad Click Fraud Detection and IP Mitigation System

by A Kameswara Rao , J Sujay , R Radhika

International Journal of Technology & Emerging Research , 2 (4)

Received: 24 Apr 2026

Abstract

The rapid expansion of digital advertising has created a lucrative target for fraudulent actors who exploit the pay-per-click model by generating illegitimate clicks through automated bots, click farms, and malicious scripts. These fraudulent activities distort campaign analytics, exhaust advertiser budgets, and progressively erode trust in online advertising platforms. Rule-based detection systems — which rely on fixed thresholds and manually defined heuristics — are easily circumvented by adversaries who deliberately engineer their traffic to remain below detection limits while still causing meaningful financial damage. This paper presents a modular, data-driven system that addresses this challenge by combining a 21-feature behavioural representation with a trained XG-Boost gradient boosting classifier to detect fraudulent clicks in real time. The system handles the severe class imbalance inherent to fraud datasets through cost-sensitive learning and threshold optimization guided by the precision-recall curve. Transparency is embedded at the core: SHAP-based explainability generates per-prediction feature-level rationales that are surfaced directly on the advertiser dashboard, converting opaque model decisions into actionable human-readable insights. The complete solution is implemented as a full-stack web application with a React frontend, Node.js/Express backend, Python Flask ML microservice, and MongoDB data layer. Evaluated on the large-scale TalkingData AdTracking benchmark, the deployed XGBoost model achieves an AUC of 0.9549 and a recall of 0.7673, while the hybrid LightGBM–XGBoost ensemble reaches 0.9815 AUC, demonstrating strong predictive performance and practical deployability.

Keywords: Ad Click Fraud, XGBoost, LightGBM, SHAP, Feature Engineering, Real-Time Detection, IP Mitigation.

Share Your Research

Spread the word across academic networks

/280 characters

Download and attach while posting

Generating image...

Could not generate image preview.

Share card preview
DOI:

IORO Support

Usually replies in minutes

Common Questions

Leave us a message: