Design Async Report Export Jobs for Meta Ads Manager

Last updated: November 29, 2026

Quick Overview

Design the system behind Ads Manager's export button, where advertisers request large CSV or Excel reports of campaign performance that are generated in the background, tracked with progress, and delivered as a download link or email.

Meta
System Design
Data Engineer
Meta
November 29, 2026
Data Engineer
Technical Screen
System Design
Easy

0

0

0 solved


Design the system behind Ads Manager's export button, where advertisers request large CSV or Excel reports of campaign performance that are generated in the background, tracked with progress, and delivered as a download link or email.

Advertisers with thousands of ad sets often export more data than a synchronous request can return, so Meta's ads products use async report jobs. The interviewer checks a clean job lifecycle, chunked query execution, storage of results with expiring links, and per-account limits so a few heavy users cannot clog the queue.

What the Interviewer Expects
  • Define a job lifecycle API: create, poll status, download
  • Run the query in chunks with progress reporting
  • Store output in blob storage with an expiring download URL
  • Limit concurrent exports per ad account
  • Make retries safe and resumable
Key Topics to Cover
async jobs
job status polling
chunked queries
expiring URLs
per-account limits
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you deduplicate two identical export requests made seconds apart?
  • What if the export needs 50 million rows?
  • How would you support recurring scheduled reports emailed weekly?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements
  • Advertiser picks a date range, breakdowns (age, placement, country) and metrics, then clicks export.
  • Request returns a report_run_id immediately. UI polls and shows percent complete.
  • When done...
High-Level Design

Export API validates the request and writes a job row (id, account_id, params_hash, status, progress, result_url, created_at) then enqueues it into a job queue. Report workers pull j...


Submit Your Answer
Markdown supported