Detect Stolen Card Fraud on Meta Ads Payments
Last updated: November 29, 2026
Quick Overview
Fraudsters buy Meta ads with stolen cards or compromised business accounts and run scam ads until the charge is disputed. Design an ML system that scores ad accounts and payment attempts to stop this fraud while keeping onboarding smooth for legitimate small businesses.
Meta
November 29, 20260
0
0 solved
Fraudsters buy Meta ads with stolen cards or compromised business accounts and run scam ads until the charge is disputed. Design an ML system that scores ad accounts and payment attempts to stop this fraud while keeping onboarding smooth for legitimate small businesses.
Ads payment fraud hurts Meta twice: chargebacks and scam ads shown to users. This prompt checks whether a candidate can deal with long label delays from chargebacks, combine payment and ad content signals, and set actions such as spend limits and holds instead of only block or allow.
What the Interviewer Expects
- Scores at payment method add, campaign creation and each billing threshold
- Handles chargeback label delay of weeks with proxy labels and survival style modeling
- Uses spend limits and prepay requirements as graduated controls
- Combines payment, account, business manager graph and ad creative signals
- Accounts for cost asymmetry between lost revenue and chargebacks plus user harm
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How would you set the initial spend limit for a brand new advertiser?
- How do you catch a legitimate business account that was just compromised?
- What do you do when card issuers start declining more because of your fraud signals?
- How would you evaluate a model whose labels arrive 60 days late?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
- Decision points: adding a payment method, creating or editing a campaign, and each billing charge.
- Labels: chargebacks (arrive 30 to 90 days later), confirmed account takeovers, policy takedowns o...
High-Level Design
- Feature sources: card BIN country versus account and IP country, number of cards tried, card decline history, business manager graph (shared admins with banned accounts), account age and login ...