The short answer
Meta lets you download Facebook Ad Library data as CSV only for ads about social issues, elections or politics, through the Ad Library Report and the search export. Commercial ads have no export button: you get them through the official API (only if they reached the EU), a scraper, or by hand. The clean way is the Ad Radar Data API: page through /ads/search into a CSV of winning Meta ads in about 20 lines of Python, or stream the whole library as NDJSON from /export on Reseller.
In this article10 sections
The short answer
If you want to download Facebook Ad Library data, the first thing to know is that Meta only offers a download for one kind of ad: ads about social issues, elections or politics. For those you get CSV reports and a search export. For every other ad, the commercial ones you are probably studying, the web Ad Library has no export button at all.
So the real question is how to export Facebook Ad Library data to CSV for commercial ads. There are four routes: the official API, scrapers, manual copying, and a ready-made dataset. This guide walks through each, with what you get and what you don't, and ends with the clean way: about 20 lines of Python that page through the Ad Radar Data API into a CSV of winning Meta ads, and a full NDJSON export for bigger jobs.
3
Ad Library CSV downloads a day per account (Bellingcat, 2024)
0
export buttons for commercial ads
~20
lines of Python from API to CSV
2,761
winning Meta ads in the Ad Radar Data API
Every way to get data out of the Ad Library
| Method | Which ads | Format | Spend | Transcripts | Effort |
|---|---|---|---|---|---|
| Ad Library Report | Political and issue ads, aggregated by advertiser | CSV by date range | Yes, totals | No | Minutes |
| Ad Library search export | Political and issue ads | CSV, logged in, limited per day | Ranges | No | Minutes |
| Official Ad Library API | Political ads worldwide; commercial only if delivered in the EU | JSON | Political only | No | Days to set up |
| Scrapers and extensions | Whatever the web Library shows | JSON, CSV, Excel | No | No, or paid per video | Hours, plus upkeep |
| Manual copy | What you can scroll | Spreadsheet by hand | No | No | Hours per brand |
| Ad Radar Data API | 2,761 winning Meta ads, $50k+ estimated spend | JSON to CSV, NDJSON export | Estimated, every ad | Full script | Minutes |
Method 1: the Ad Library Report (political ads only)
The Ad Library Report is Meta's only real download. It covers ads about social issues, elections or politics, country by country, and shows each advertiser (the "paid for by" disclaimer), the amount spent and the number of ads in the Library. You can download the full report as a CSV for a chosen date range, as described in Whole Whale's walkthrough.
The political search in the Library also offers a CSV export of individual ads with page, platforms, dates, delivery regions, a spend range and the ad text. Bellingcat's guide (November 2024) notes that you need to be logged in to download, and that "each Facebook account can only download three of such files a day."
If you research elections, this is excellent first-party data. If you research DTC brands, none of it applies: commercial ads are not in the report and the export isn't offered for them.
Method 2: the official Ad Library API
The Meta Ad Library API returns JSON that you can write to CSV yourself. It is free, after identity confirmation and a developer app. The catch is in Meta's ads_archive reference: "Ads that did not reach any location in the EU will only return if they are about social issues, elections or politics." A US-only commercial ad never comes back.
For EU-delivered commercial ads you get text, dates, Page and EU reach, but no spend and no video, only an ad_snapshot_url. If that is enough, our Facebook Ad Library API with Python tutorial has a working client with a CSV and SQLite writer, so we won't repeat it here.
Method 3: scrapers and extensions
Scrapers read the web Library, so they see the US commercial ads the API hides. Apify actors, scraper APIs like ScrapeCreators and SearchAPI, open-source tools on GitHub and Chrome extensions all export to JSON or CSV; our Facebook Ad Library scraper roundup compares them with prices.
What lands in your CSV is the raw card: library ID, Page, start date, copy, CTA, link and a video URL. The spend column is empty for commercial ads, there is no transcript, nothing says which ads are winning, and the video URLs are signed with an expiry, so the links in last month's CSV are already dead. Running scrapers on a schedule to build history is a project of its own, covered in how to build an ad spy tool.
Method 4: manual copy
For ten ads, a spreadsheet and patience work: open the brand's Library page, copy the copy, note the start date, save the video. It doesn't scale past one brand, it captures nothing the Library doesn't show, and it is the most expensive method per row once you count your hours.
Which method fits which job
- Election or issue research: the Ad Library Report and the political search export. First-party spend data, free, one CSV per date range.
- EU commercial ads, text only: the official API, written to CSV with your own client.
- A one-off look at one competitor: an extension or a single scraper run, downloaded the same day before the media links expire.
- Anything you will rank, filter, brief from or build on: you need spend, a winner signal, transcripts and tags in the file, and none of the four methods above puts them there. That is what the next section is for.
The clean way: winning ads to CSV with the Ad Radar Data API
All four methods export the Library's own view of an ad, which leaves out the columns that matter. The Ad Radar Facebook ads API exports the finished record instead. It is the best database of winning Meta ads: 2,761 Meta ads with $50k+ estimated spend from 734 brands, Facebook and Instagram, built from the public Meta Ad Library and refreshed every day.
Each row you export has the ad's brand, headline, body, CTA, full video transcript, estimated spend in USD (derived from public engagement), score and tier (winner = top 10% by score and live 21+ days, or rising), days running, variants, tags on ten dimensions, start date, active status, and public poster and video URLs that don't expire on you.
/ads/search, paginated, to CSV
This writes every winning video ad to winning_ads.csv. GET /ads/search returns data plus pagination with hasMore and nextCursor, up to 100 ads per page, and one page is one request.
import csv, os, requests
URL = "https://app.ad-radar.dev/api/v1/ads/search"
HEAD = {"Authorization": f"Bearer {os.environ['AD_RADAR_KEY']}"}
params = {"tier": "winner", "format": "video", "sort": "spend", "limit": 100}
COLS = ["adKey", "brand", "headline", "cta", "spendEstimate", "startedAt", "isActive",
"tier", "score", "daysRunning", "variants", "tags", "transcript", "video"]
with open("winning_ads.csv", "w", newline="", encoding="utf-8-sig") as f:
w = csv.DictWriter(f, fieldnames=COLS, extrasaction="ignore")
w.writeheader()
while True:
r = requests.get(URL, params=params, headers=HEAD, timeout=30)
r.raise_for_status()
page = r.json()
for ad in page["data"]:
w.writerow({**ad, **ad["metrics"],
"tags": "; ".join(f"{t['dimension']}:{t['slug']}" for t in ad["tags"]),
"video": (ad.get("media") or {}).get("video")})
if not page["pagination"]["hasMore"]:
break
params["cursor"] = page["pagination"]["nextCursor"]
A few notes on the details:
encoding="utf-8-sig"writes a byte-order mark so Excel opens accented characters and emoji correctly. Thecsvmodule quotes transcripts that contain commas or line breaks, so they stay in one cell.extrasaction="ignore"lets you spread the whole ad and itsmetricsinto the row and keep only the columns you listed. Addbody,libraryIdorlinkstoCOLSif you want them.- Change the filters to change the export:
q=searches headline, body, brand and transcript;brand=takes a slug or ID fromGET /brands;tags=awareness:problem-awarefilters on the taxonomy fromGET /taxonomy;min_spend=100000andstarted_after=2026-09-01narrow further. - The cursor is only valid with the same filters, so don't change
paramsmid-loop.
A full export of the winner tier is a few dozen requests at most: the whole corpus is 26 pages of 100. Every parameter is in the API reference.
Keep it current: /winners and /feed
To refresh the CSV weekly, call GET /winners?since=2026-11-12 with the same loop: it returns only the ads that entered the winner tier after that date. On the Scale plan, GET /feed returns everything that changed since your last cursor (new ads, new measurements, tier and delivery changes), which is the right tool for keeping a database in sync instead of rewriting a file.
The whole library as NDJSON: /export on Reseller
For a data team, a warehouse load or a product that ships the data, the Reseller plan adds GET /export: the entire library streamed as NDJSON, one complete Ad object per line, then a control line {"type":"end"}. One call counts as one request, with up to four exports a day per workspace. If the stream stops early, the last line is {"type":"error","resumeCursor":...}, and you pass that cursor as after to continue.
import json, os, requests
URL = "https://app.ad-radar.dev/api/v1/export"
HEAD = {"Authorization": f"Bearer {os.environ['AD_RADAR_KEY']}"}
params, done = {}, False
with open("ad_radar.ndjson", "w", encoding="utf-8") as out:
while not done:
with requests.get(URL, params=params, headers=HEAD, stream=True, timeout=600) as r:
r.raise_for_status()
for line in r.iter_lines():
if not line:
continue
row = json.loads(line)
if row.get("type") == "end":
print(f"{row['ads']} ads exported")
done = True
break
if row.get("type") == "error":
params = {"after": row["resumeCursor"]}
break
out.write(line.decode("utf-8") + "\n")
else:
raise RuntimeError("stream ended without an end or error line")
NDJSON loads straight into most tools: pandas.read_json("ad_radar.ndjson", lines=True), DuckDB's read_json, or a BigQuery or Snowflake load job. Reseller is the plan for resale, white-label and full exports, and it is arranged by request.
For AI agents
The same key works on the MCP server, so Claude or ChatGPT can run the query and hand you the table. Each tool call is one request.
Plans
| Plan (billed every 4 weeks) | Price | Requests | Export options |
|---|---|---|---|
| Builder | $299 | 10,000 | /ads/search and /winners to CSV, use inside your product, the web app included |
| Scale | $799 | 50,000 | Everything in Builder, plus /feed for incremental sync and a higher rate limit |
| Reseller | From $2,000 | Custom | Everything in Scale, plus full NDJSON /export, resale and white-label |
Over quota, the API answers 429 with an upgrade link, and there are no overage charges. Full details are on the pricing table.
The verdict
You can download Facebook Ad Library data directly only if you study political ads. For commercial ads, Meta gives you no export, the API hides US-only brands, and scrapers fill a CSV with raw cards: no spend, no transcripts, no winner signal, and video links that expire.
The Ad Radar Data API turns the export into a short script that produces the file you actually wanted: winning Meta ads with estimated spend, transcripts and tags, one row per ad. Start on Builder at $299 every 4 weeks, move to Scale for the incremental feed, or ask for Reseller for the full NDJSON export. If you'd rather browse and save ads than write code, use the Ad Radar app.
Figures marked as estimated spend come from Ad Radar's model of engagement on public Meta Ad Library ads. They are estimates, labeled as such, and are best used to rank ads against each other. How the board is built.