Design Concurrent Campaign Editing With Conflict Detection in Ads Manager
Last updated: November 29, 2026
Quick Overview
Design how Meta Ads Manager lets several people at an agency edit the same campaign, ad sets, and ads at the same time without silently overwriting each other's budget or targeting changes.
Meta
November 29, 20260
0
0 solved
Design how Meta Ads Manager lets several people at an agency edit the same campaign, ad sets, and ads at the same time without silently overwriting each other's budget or targeting changes.
Ads Manager edits move real money, so silent lost updates are unacceptable. The interviewer looks for optimistic concurrency at the right granularity, clear conflict UX, and an audit trail, rather than real-time co-editing of text.
What the Interviewer Expects
- Identify the right conflict granularity (field level vs object level)
- Use versions and conditional writes
- Design the client experience when a conflict occurs
- Handle bulk edits across hundreds of ads
- Keep an audit log of who changed what
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- Would you lock the campaign while someone edits it?
- How do you handle a bulk edit where 3 of 200 ads conflict?
- What if an automated rule changes the budget while a human edits?
- How do you show other editors are present?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: multiple users open the same campaign; each edits fields (budget, schedule, targeting, creative) and publishes; conflicting changes are detected and shown; non-conflicting changes merg...
High-Level Design
- Ads object store with each campaign, ad set, ad row carrying a
versionand per-fieldfield_versionmetadata. - Edit API: client sends changes as `{object_id, base_version, changed_fields...