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

International Journal of Technology and Emerging Research

e-ISSN: 3068-109X p-ISSN: 3068-1995 DOI: 10.64823/ijter Volume: 2 — Issue 4 (2026)
Article Info
Open Access Research Article
12 pages PDF

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

by , ,

International Journal of Technology and Emerging Research 2026 , 2 (4) , 135–146

10.64823/ijter.2604016
Received: 23 Apr 2026 Published: 24 Apr 2026
View PDF Download

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: LightGBM, feature engineering, Ad Click Fraud, XGBoost, SHAP, Real-Time Detection, IP Mitigation.

© 2026 The Author(s). Published by IORO Publications. This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits use, distribution, and reproduction in any medium, provided the original author and source are credited, a link to the license is provided, and any changes are indicated.

IORO Support

Usually replies in minutes

Common Questions

Leave us a message: