Data catalog › Social media & ads › Facebook Ad Library Public Ads Database

Social media & ads · public web tool

Facebook Ad Library Public Ads Database

Facebook 广告库表|公开广告

A spreadsheet of ads found in Meta's public Facebook Ad Library for a keyword or brand Page, one row per ad, collected after you order.

Source
Pages and data you supply
Coverage
Collect Facebook Ad Library creatives, media links and available advertiser details by keyword or Page across selected countries. Pay per delivered ad row plus a start fee.
Collection modes
Keyword search, Advertiser Page search
Row contract
1 row = 1 entity. Each row is one ad from Meta’s public Facebook Ad Library, with its message and advertiser to compare.
Columns
65 documented output fields; the free sample has 50 columns collected 2026-11-26
Order size
1 to 100,000 rows per order on the shop (default 200)

Overview

You get a file with one row per ad, read from Meta's public Facebook Ad Library. You can compare ads found for a keyword or advertiser Page without a Facebook account.

You can read ad headlines, text and button wording, and see images, videos and destination links. Dates, platforms and running status help you compare campaigns. Advertiser details include Page names, descriptions and public profile links. Public contact details can be empty. Disclosure details can include reach or spending information that Meta makes public.

What the file contains

  • Ad messages and media. You can compare headlines, ad text and button wording, with images, videos and links to the advertised pages.
  • Dates and places ads ran. You can see start dates, platforms and whether each ad is running or stopped.
  • Advertiser Pages. You can compare Page names, descriptions, categories and follower counts, with links to public profiles.
  • Public contact details. You get public Page phone numbers, emails and addresses when the site shows it; they can be empty when access is restricted.
  • Public ad disclosures. You can see the reach or spending details Meta publishes for an ad or Page, which can be empty and are not private account reports.

What does Facebook Ad Library Scraper do?

Facebook Ad Library Scraper collects ads from Meta's public Ad Library. Use it to compare advertiser creatives, organize campaign research or monitor newly seen ads. It returns one ad per row, not an advertiser directory or private account data.

  • Keyword search: fill searchQuery or searchQueries with brands, products or topics.
  • Advertiser search: fill pageIds or pageUrls to collect ads from particular Pages. Keywords and Pages can share a run.
  • Market filters: choose a two-letter country, such as US, GB or DE, or ALL for worldwide searches.
  • Details: enrichDetails is on by default. Available disclosure and public advertiser contact information is added to existing ad rows, not billed as separate contact rows.
  • Creative variants: expandCollations is off by default. Each expanded variant is another ad row and is billed at the same price.

What data can you extract from Facebook Ad Library?

All rows use rowType: "ad". Optional fields depend on what Meta discloses and whether enrichment succeeds.

FieldDescriptionExample
rowTypeEntity represented by this row.ad
idStable row identifier, equal to the ad archive ID.123456789012345
adArchiveIdMeta's ad archive identifier.123456789012345
pageIdAdvertiser Page identifier.1234567890
pageNameAdvertiser name.Example Shop
pageProfileUrlAdvertiser's Facebook Page link.https://www.facebook.com/example-shop/
titleCreative headline.Explore our collection
bodyTextAd copy.Browse this season's products.
ctaTextCall-to-action label.Shop Now
linkUrlAd destination URL.https://example.com/shop
displayFormatCreative format reported by Meta.IMAGE
imageUrlsAvailable image links.[]
videoUrlsAvailable video links.[]
cardsCarousel card content and links.[]
publisherPlatformsPlatforms named in the ad disclosure.["FACEBOOK", "INSTAGRAM"]
startDateAd start time, when available.2026-10-01T00:00:00Z
endDateEnd time; omitted for an active ad.2026-10-12T00:00:00Z
isActiveActive status, or null if not disclosed.true
spendDisclosed spending range, not an estimate made by this Actor.{"lowerBound":"100","upperBound":"199","currency":"USD"}
impressionsDisclosed impression range.{"lowerBound":"1000","upperBound":"4999"}
euTotalReachEU reach where disclosed.1200
euTransparencyAvailable EU audience disclosures.{"euTotalReach":1200,"targetsEu":true}
phonesPublic advertiser phone entries, if available.[]
emailsPublic advertiser email entries.[{"value":"name@example.com","type":"business"}]
addressAvailable advertiser address components.{"full":null}
orgAdvertiser organization identity.{"name":"Example Shop","id":"1234567890"}
webAdvertiser website and social links.{"website":"https://example.com","socials":[]}
leadAbsencesReasons contact fields are missing or unavailable.{}
assetKeysKeys for successfully downloaded media files.["asset-123456789012345-image.jpg"]
scrapedAtCollection timestamp.2026-10-24T08:00:00Z

searchQuery, searchType and searchedPageId identify the search that found a row. leadSource and leadReveal describe the available contact evidence. The current contact extraction leaves geo and person as null; it does not infer coordinates or named people.

How to scrape Facebook Ad Library

  1. Open Facebook Ad Library Scraper in Apify Console.
  2. Enter a keyword or advertiser Page, then choose the country.
  3. Set maxResults to a small number, such as 3.
  4. Click Start and inspect the run status and dataset.
  5. Download the rows or read them through the API.

With every target field empty, the Actor uses the form's sample keyword shopify and returns at most 3 rows. This example run uses normal pricing. Filling one target field selects the matching search automatically; there is no mode setting to choose.

Keyword search

Use searchQuery for one input or searchQueries for several. Duplicate keywords are merged. A brand keyword can also match ads from other advertisers that mention the brand.

Advertiser Page search

Use numeric IDs in pageIds, or Facebook Page links and exact Page names in pageUrls. Clear the prefilled keyword for a Page-only run. Unresolved Page names are skipped with a page_unresolved warning rather than replaced with another advertiser.

What you can do with it

  • Sort by the start date to compare when advertisers began running ads.
  • Filter ad text for discount terms to compare promotional offers.
  • Count ads by advertiser Page to compare how many appear in your file.

Why use this Facebook Ad Library scraper?

  • Pay for delivered rows. Row charges apply to ads written to the dataset, not unsuccessful searches; a start fee also applies.
  • Keep delivered results. A run that reaches its timeout delivers the rows collected so far and gives you a cursor to continue.
  • Understand missing data. Unavailable fields stay empty or absent instead of being invented.
  • Combine inputs. Research several keywords and Pages in one run.
  • Reduce setup. You do not need to set up proxies or supply a Facebook login.

中文简介

每条是 Meta 公开 Facebook 广告库中的一条广告,可比较广告内容和广告主。填写关键词或 Facebook 主页链接,再选择国家和“广告状态”,查找所需广告。

你会得到一份文件,每条是一条广告,来自 Meta 公开的 Facebook 广告库。无需 Facebook 账户,就能比较按关键词或广告主主页找到的广告。

你可以阅读广告标题、正文和按钮文字,查看图片、视频和目标链接。日期、平台和投放状态方便比较广告活动。广告主信息包括主页名称、介绍和公开主页链接;公开联系方式可能留空。披露信息可能包含 Meta 公开的触达人数或支出情况。

  • 广告内容与媒体:你可以比较标题、广告正文和按钮文字,并查看图片、视频及广告页面的链接。
  • 投放日期与平台:你可以查看开始日期、投放平台,以及每条广告正在投放还是已停止。
  • 广告主主页:你可以比较主页名称、介绍、类别和关注人数,并查看公开主页链接。
  • 公开联系方式:网站展示时会包含公开主页的电话、邮箱和地址;访问受限时可能留空。
  • 公开广告披露:可查看 Meta 公布的广告或主页触达人数及支出信息;这些信息可能留空,不是私人账户报表。

用法:按开始日期排序,比较广告主何时开始投放广告。 在广告正文中筛选折扣词,比较促销优惠。 按广告主主页统计广告数,比较文件中各主页的广告数量。

Where to get it

Every link below is a direct link to the live channel page for this source.

Encyclopedia article with every channel side by side: Facebook Ad Library Public Ads Database (wiki).

Input parameters

All 19 parameters of the Apify Actor lentic_clockss/facebook-ad-library-scraper, read from its input schema. The shop form, the MCP tool and the APIs accept the same fields.

ParameterTitleTypeDefault and allowed valuesWhat it does
searchQuerySearch Querystring / textfieldform prefill "shopify"Keyword to search. Leave empty when you only want Page searches. With no keyword and no Page the run searches 'shopify'.
Batch / Page search
searchQueriesSearch Queries (batch)array / stringList—More keywords in the same run; each ad carries the keyword that found it in searchQuery. maxResults applies to each keyword or Page.
pageIdsPage IDsarray / stringList—Numeric Meta Page IDs (e.g. 1049581460176100), each searched as an advertiser Page. Keywords above still run too; clear searchQuery for a Page-only run.
pageUrlsPage URLsarray / stringList—Facebook Page links, Ad Library links with view_all_page_id, or exact Page names. Unresolved names are skipped with a page_unresolved warning; groups, posts and links to other sites are rejected.
countryCountrystring / textfielddefault "US"ISO country code of the market the ads reached (e.g. US, GB, DE). 'ALL' searches worldwide and is capped at 50 ads per input.
adTypeAd Typestring / selectdefault "all"
all All ads, political_and_issue_ads Political and issue ads
Type of ads: 'all' or 'political_and_issue_ads'.
activeStatusActive Statusstring / selectdefault "active"
active Active ads only, inactive Inactive ads only, all Active and inactive
Filter by ad status.
Filters
mediaTypeMedia Typestring / selectdefault "all"
all Any media, image Image, video Video
Filter creatives by media. Carousel ads are not a separate mediaType — use displayFormat after scrape.
sortBySort Bystring / selectdefault "relevancy"
relevancy Most relevant, newest Newest, impressions Most impressions
Choose relevance, newest or impressions ordering. Newest groups ads by month rather than guaranteeing exact date order.
startDateFromStart date fromstring / textfield—Keep ads that started on or after this date (YYYY-MM-DD or ISO date-time, UTC). With a date filter set, ads without a start date are left out.
startDateToStart date tostring / textfield—Keep ads that started on or before this date; a bare YYYY-MM-DD includes the whole day (UTC).
maxResultsMax rows per keyword or Pageintegerdefault 70
form prefill 3
1 to 5000
Maximum billed ad rows collected for each keyword or advertiser Page. Default 70. Larger numbers are collected in parts of 70. Ads and expanded collation variants all count together. The run stops at your maximum total charge. Free Apify plan: 200 rows per run and 10 runs.
Enrichment
enrichDetailsEnrich ad and advertiser detailsbooleandefault true
form prefill true
Add available ad disclosures and public advertiser contact details to each ad row. Missing contact fields stay empty; invalid or reserved phone numbers are discarded.
maxDetailsMax detail enrichmentsintegerdefault 25
0 to 500
Limit how many ads receive detail and advertiser-contact enrichment; 0 means every collected ad. Ads beyond the limit are returned without those extra details.
expandCollationsExpand collation variantsbooleandefault false
form prefill false
Expand grouped creatives into separate ad rows when variants are available. Each variant counts toward maxResults and is billed at the same row price.
downloadAssetsDownload creative assetsbooleandefault falseStore each ad's first image and first video in this run's key-value store as asset- -image. / asset- -video. (files over 9 MB are skipped). Each row lists its keys in assetKeys.
Monitoring
incrementalIncremental modebooleandefault falseReturn only ads not returned by an earlier incremental run of the same search (same keywords, Pages, country, adType and activeStatus). The history is kept in your named key-value store facebook-ad-library-checkpoints; ads dropped at your charge limit stay new for the next run.
Advanced
workerBaseUrlDeveloper test settingstring / textfield—Leave empty. Used only by the developer for testing.
cursorContinue from cursorstring / textfield—Continue a run that stopped at its time limit or was aborted gracefully: paste RUN_SUMMARY.nextCursor from that run and keep the rest of the input the same. A cursor works once and is valid for 6 hours. Usually leave empty.

Example input

Example input

{
  "searchQuery": "shopify",
  "country": "US",
  "maxResults": 3
}

Example input

{
  "pageUrls": [
    "https://www.facebook.com/nike/"
  ],
  "country": "US",
  "maxResults": 3
}

Output fields

65 fields from the dataset schema. Optional fields stay empty when the source does not publish them; nothing is estimated.

FieldTypeTitleDescriptionIn sample
rowTypestringRow type Values: adyes
idstringStable row IDyes
adArchiveIdstringAd archive IDyes
pageIdstringPage IDyes
pageNamestringPage nameyes
pageProfileUrlstringPage profile URLyes
pageProfilePictureUrlstringPage profile picture URL
bodyTextstringAd body textyes
titlestringAd titleyes
linkUrlstringDestination URLyes
ctaTextstringCTA textyes
displayFormatstringDisplay formatyes
createdAtstringCreated atyes
startDatestringStart dateyes
endDatestringEnd dateWhen the ad stopped running; absent while it still runs.
imageUrlsarrayImage URLsyes
videoUrlsarrayVideo URLsyes
cardsarrayCarousel cardsyes
publisherPlatformsarrayPublisher platformsyes
categoriesarrayCategoriesyes
spendobjectDisclosed spend range (political/issue ads when available)
impressionsobjectDisclosed impressions range (when available)
currencystringCurrencyyes
collationIdstringCollation IDyes
collationCountintegerCollation countyes
isActiveboolean | nullIs activeWhether Meta lists the ad as running; null when the Ad Library did not say.yes
searchQuerystringKeyword or advertiser search labelyes
searchTypestringKEYWORD or PAGEyes
searchedPageIdstringPage ID used for PAGE search
euTotalReachintegerEU total reach (when enriched)yes
euTransparencyobjectEU audience disclosuresyes
reachBreakdownarrayEU age/country/gender reach breakdownyes
payerBeneficiaryarrayPayer / beneficiary disclosure entries
hasViolatingPayerBeneficiarybooleanHas violating payer/beneficiary (EU)yes
pageLikeCountintegerPage like count (when enriched)yes
pageCategorystringPage category (About)yes
pageVerificationstringPage verification statusyes
instagramUsernamestringLinked Instagram username
instagramFollowersintegerLinked Instagram followersyes
pageAboutTextstringPage About textyes
pageEntityTypestringPage entity typeyes
pageIsDeletedbooleanPage is deletedyes
pageIsRestrictedbooleanPage is restrictedyes
pageIsProfilePagebooleanPage is a personal profile pageyes
pageAliasstringPage alias / vanityyes
pageCoverPhotoUrlstringPage cover photo URLyes
isPoliticalPagebooleanPage flagged political by Ad Libraryyes
pageSpendobjectPage political spend buckets (when disclosed)yes
disclaimersarrayDisclaimer labels from political spend
detailsEnrichedbooleanAd details addedyes
phonesarrayAdvertiser phones
emailsarrayAdvertiser emails
addressobjectAdvertiser addressyes
geoobject | nullAdvertiser coordinatesyes
personobject | nullAdvertiser contact person
orgobject | nullAdvertiser organizationyes
webobjectAdvertiser website and social profilesyes
leadSourcestringContact information source Values: search, detail, entity, contact, reveal-xhryes
leadRevealstringContact information visibility Values: visible, click, xhr, gated, image, absentyes
leadAbsencesobjectReasons contact fields are unavailableyes
cardsCountintegerTotal cards when the list was capped at 50
imageUrlsCountintegerTotal image URLs when the list was capped at 50
videoUrlsCountintegerTotal video URLs when the list was capped at 50
assetKeysarrayDownloaded media record keys
scrapedAtstringScraped atyes

Sample preview

All 3 rows of the free sample, collected 2026-11-26, shown one column per line. Columns that name or contact individual people were removed and email addresses masked before publishing. Download the full sample CSV.

ColumnRow 1Row 2Row 3
adArchiveId13394899317150402087216342231765957889050704315
pageId71740214065380039845369159238939146624
pageNameKURU FootwearSHEINOn
pageProfileUrlhttps://facebook.com/kurufootwearhttps://facebook.com/SHEINOFFICIALhttps://facebook.com/On
bodyTextYou saw the apocalypse. The zombies were scary. Now meet the shoes that make foot pain the real casualty. 🦶Built for Heel Pain Relief 🌟50,0…Don't miss out. Shop SHEIN and find what you really wanDiscover performance-driven shoes, apparel and accessories. Designed to power your every move.
titleGet Comfort in the ChaosAdidas Black Letter Print T-Shirt Men's Gym Wear Workout Activewear Tops Round Neck Regular Fit Knitted Fabric Casual Comfortable Short SleePerformance Long-T Black | Eclipse
linkUrlhttps://www.kurufootwear.com/pages/outbreakhttps://m.shein.com/us/ark/default?scene=1&test=5051&ad_type=DPA&url_from=adhub2078091784470519811&pf=Facebook&placement={{placement}}&site…http://www.on.com/
ctaTextShop nowShop nowShop now
displayFormatDCODPADPA
imageUrls["https://scontent-hou1-1.xx.fbcdn.net/v/t39.35426-6/735287112_941136988978881_7755665091702434084_n.jpg?_nc_cat=107&_nc_map=urlgen_bucketl…["https://scontent-hou1-1.xx.fbcdn.net/v/t39.35426-6/749355505_1060036969892479_6892401710408182803_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=…["https://scontent-hou1-1.xx.fbcdn.net/v/t39.35426-6/839531771_1753109839243001_6164504946887302702_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=…
videoUrls["https://video-hou1-1.xx.fbcdn.net/o1/v/t2/f2/m412/AQMU5hVt2lF9e9kVLPUttid_lM3coEezBlnEHFK6MZ69A-_vVafq5gh_vWaskP2BxtsZFtFNpFK0oDVKboF6XNX…[][]
cards[{"bodyText":"You saw the apocalypse. The zombies were scary. Now meet the shoes that make foot pain the real casualty. \n🦶Built for Heel P…[{"bodyText":"Don't miss out. Shop SHEIN and find what you really wan","title":"Adidas Black Letter Print T-Shirt Men's Gym Wear Workout Ac…[{"bodyText":"Discover performance-driven shoes, apparel and accessories. Designed to power your every move.","title":"Performance Long-T B…
publisherPlatforms["FACEBOOK","INSTAGRAM","AUDIENCE_NETWORK"]["FACEBOOK","INSTAGRAM"]["FACEBOOK","INSTAGRAM","AUDIENCE_NETWORK","THREADS"]
categories["UNKNOWN"]["UNKNOWN"]["UNKNOWN"]
currency
collationId1962576714495079
collationCount111
isActivetruetruetrue
scrapedAt2026-11-26T00:07:29Z2026-11-26T00:07:29Z2026-11-26T00:07:29Z
createdAt2026-07-06T07:00:00Z2026-07-17T07:00:00Z2026-10-07T07:00:00Z
startDate2026-07-06T07:00:00Z2026-07-17T07:00:00Z2026-10-07T07:00:00Z
address{"street":null,"unit":null,"locality":null,"region":null,"postalCode":null,"country":null,"full":null}{"street":null,"unit":null,"locality":null,"region":null,"postalCode":null,"country":null,"full":null}{"street":null,"unit":null,"locality":null,"region":null,"postalCode":null,"country":null,"full":null}
geo
org{"name":"KURU Footwear","id":"71740214065"}{"name":"SHEIN","id":"380039845369159"}{"name":"On","id":"238939146624"}
web{"website":"https://www.kurufootwear.com/","socials":["https://facebook.com/kurufootwear/"]}{"website":"https://m.shein.com/","socials":["https://facebook.com/SHEINOFFICIAL/"]}{"website":null,"socials":["https://facebook.com/On/"]}
leadSourceentityentityentity
leadRevealgatedgatedgated
leadAbsences{"phones":"gated (Live About link missing on advertiser Page)","emails":"gated (Live About link missing on advertiser Page)","address":"gat…{"phones":"gated (Live About link missing on advertiser Page)","emails":"gated (Live About link missing on advertiser Page)","address":"gat…{"phones":"gated (Live About link missing on advertiser Page)","emails":"gated (Live About link missing on advertiser Page)","address":"gat…
searchQueryrunning shoesrunning shoesrunning shoes
searchTypeKEYWORDKEYWORDKEYWORD
rowTypeadadad
id13394899317150402087216342231765957889050704315
euTransparency{"euTotalReach":1,"ageAudience":null,"genderAudience":null,"locationAudience":null,"targetsEu":true}{"euTotalReach":1,"ageAudience":null,"genderAudience":null,"locationAudience":null,"targetsEu":true}
euTotalReach11
reachBreakdown[{"country":"IT","age_gender_breakdowns":[{"age_range":"45-54","male":1,"female":null,"unknown":null}]}][{"country":"FR","age_gender_breakdowns":[{"age_range":"25-34","male":null,"female":1,"unknown":null}]}]
hasViolatingPayerBeneficiaryfalsefalse
pageAboutTextHealthiest Shoes on Earth | Heel Better™ with KURU's revolutionary heel-hugging KURUSOLE technology.🌟Fashion for Everyone! 💕SHEIN offers endless finds at affordable prices, so you can get more of what you really love.#SHEINtrends #SHEINsav…Igniting the human spirit through movement: www.on.com
pageLikeCount186222396094131300990
pageCategoryFootwear storeClothing (Brand)Sports & recreation
pageVerificationNOT_VERIFIEDBLUE_VERIFIEDBLUE_VERIFIED
instagramFollowers85801421909094214154
pageEntityTypePERSON_PROFILEPERSON_PROFILEPERSON_PROFILE
pageIsDeletedfalsefalsefalse
pageIsRestrictedfalsefalsefalse
pageIsProfilePagefalsefalsefalse
pageAliaskurufootwearSHEINOFFICIALOn
pageCoverPhotoUrlhttps://scontent-hou1-1.xx.fbcdn.net/v/t39.30808-6/898714567_1581476134016803_1742725530444118411_n.avif?stp=dst-jpg_tt6&_nc_cat=106&_nc_ma…https://scontent-hou1-1.xx.fbcdn.net/v/t39.30808-6/487463069_1328998032586216_6970582690240455141_n.jpg?_nc_cat=109&_nc_map=urlgen_bucketle…https://scontent-hou1-1.xx.fbcdn.net/v/t39.30808-6/670217975_1397389372416698_2958913590495482568_n.jpg?_nc_cat=106&_nc_map=urlgen_bucketle…
isPoliticalPagefalsetruetrue
detailsEnrichedtruetruetrue
pageSpend{"lifetimeByDisclaimer":[{"disclaimer":"","spend":66280}]}

Public Page phone numbers, emails and addresses can be empty when the contact page is not accessible.

Use it from Claude and Gemini

This source is not on the OpenData MCP server yet. Claude and Gemini can still run the Apify Actor lentic_clockss/facebook-ad-library-scraper through the Apify MCP server with your own Apify token.

Prompt to collect data

Use the OpenData MCP server to collect Facebook Ad Library Public Ads Database data. Request: Keyword or brand to search ads for: running shoes; Country the ads were shown in: US; Ad status: Running now. Return up to 20 rows (one row per entity) as a table with these columns: adArchiveId, pageId, pageName, pageProfileUrl, pageProfilePictureUrl, bodyText, title, linkUrl, ctaText, displayFormat. Tell me how many rows were delivered and what they cost before showing them.

Prompt to analyse the CSV

I attached a CSV export of Facebook Ad Library Public Ads Database (50 columns, one row per entity). Sort by the start date to compare when advertisers began running ads. Filter ad text for discount terms to compare promotional offers. Count ads by advertiser Page to compare how many appear in your file. Use only the values in the file and point out empty columns instead of guessing. Note: Public Page phone numbers, emails and addresses can be empty when the contact page is not accessible.

n8n, Clay and Make

All three run the Apify Actor lentic_clockss/facebook-ad-library-scraper with your Apify token. Set a spending cap with maxTotalChargeUsd: the run stops when it reaches that amount, and you pay only for delivered rows.

Apify API (any tool that can send HTTP)

curl -X POST "https://api.apify.com/v2/acts/lentic_clockss~facebook-ad-library-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=1" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"searchQuery": "shopify", "country": "US", "maxResults": 3}'

n8n

  1. Add the Apify node (Apify n8n integration), choose Run an Actor and get dataset, and enter Actor lentic_clockss/facebook-ad-library-scraper.
  2. Paste the example input above as the Input JSON and set the memory and timeout you need.
  3. Or install the n8n-nodes-opendata-actors community node: it exposes the main inputs as fields and a Max Total Charge (USD) setting sent as maxTotalChargeUsd (default $1). It covers a growing set of these Actors; use the Apify node for the rest.

Clay

Add the Run Apify Actor enrichment from Clay's Apify integration, choose the Actor and paste this input. Replace the {{…}} placeholder with a column reference (type / in Clay).

{
  "actorId": "lentic_clockss/facebook-ad-library-scraper",
  "input": {
    "searchQuery": "{{Search Query}}",
    "country": "US",
    "maxResults": 3
  }
}

Make

  1. Add the Apify module Run an Actor (Apify Make integration), pick lentic_clockss/facebook-ad-library-scraper, paste the input JSON and turn on Run synchronously.
  2. Add Get Dataset Items with the run's defaultDatasetId.
  3. Send the rows to Google Sheets, Airtable or your CRM with an iterator.

Pricing, billing and limits

  • Billing unit: one delivered row is one billable unit on every channel. A confirmed empty result, an input error, a source failure or a timeout creates no billable rows.
  • OpenData Shop: the first 1,000 rows cost $5.00 per 1,000 and additional rows $3.00 per 1,000, with a $1.00 minimum; the product page shows the exact price before you pay. If fewer rows are delivered than you paid for, the amount for the missing rows is credited to your account balance automatically (refund policy).
  • Apify: $0.002 per delivered row on the Free plan plus a $0.005 start event per GB of memory; the run stops at your maxTotalChargeUsd.

How much does it cost to scrape Facebook Ad Library?

The Actor uses pay-per-event pricing. Platform usage is included in these prices.

Apify planStart eventPrice per rowPrice per 1,000 rows
Free$0.005$0.002$2.00
Starter$0.005$0.0018$1.80
Scale$0.005$0.0016$1.60
Business$0.005$0.0014$1.40
Platinum$0.005$0.0014$1.40
Diamond$0.005$0.0014$1.40

The start charge counts one event per GB of memory, with a minimum of one event. At the default 512 MB, starting a run costs $0.005.

  • maxResults applies to each input, with a default of 70. Larger requests are collected in parts of 70; expanded variants count toward the same limit.
  • country: "ALL" caps each input at 50 rows regardless of a larger requested limit.
  • Free Apify plan runs are capped at 200 rows, with 10 total runs of this Actor.
  • The whole run stops at Maximum cost per run, set through maxTotalChargeUsd in the API. Available matches and this cap may reduce the number delivered.
  • The Apify Free plan includes $5.00 in monthly usage credit (about 2,499 rows at $0.002 per row across Free-plan runs capped at 200 rows per run).

Example: at 512 MB, three keywords delivering 5 rows each produce 15 rows. On the Free plan, the cost is 15 × $0.002 + $0.005 = $0.035. A run that delivers no rows has no row charge, but its start event can still be charged.

What happens when the run timeout is too short

If your run timeout ends before everything is collected, the run does not fail. It stops shortly before the timeout, delivers every row collected so far to the dataset, and finishes as SUCCEEDED. You are charged only for the rows it delivered.

To get the rest, run the Actor again with the same input and set cursor to the value of nextCursor from the run's RUN_SUMMARY record (key-value store). The new run first delivers rows that were already collected, then collects what is left. Rows are never delivered or charged twice. A cursor can be used once and is valid for 6 hours; after that, a run with the same input starts from the beginning.

RUN_SUMMARY also tells you why the run stopped early: partial: true and partialReason: "run_timeout".

Stopping a run yourself? Use Abort gracefully (Console) or POST /v2/actor-runs/{runId}/abort?gracefully=true (API). The run then keeps the rows collected so far and writes a cursor the same way. A plain abort stops the run immediately and delivers nothing.

Calling the Actor synchronously (run-sync, run-sync-get-dataset-items) works as usual: you get the rows delivered before the timeout.

Limitations

  • Private ad spending, detailed audience targeting and custom audiences tracked on websites are excluded; political ads follow Meta disclosure rules.
  • Public contacts can include personal profile Pages, but may be empty; no ads are placed and no Pages are contacted for you.
  • ALL gives at most 50 ads; the general order range is 1 to 100,000 rows.
  • Keyword searches and Page links return separate sets of ads, not only a Page's ads containing your keyword.
  • This Actor collects Ad Library ads, not Facebook posts, groups, comments or private profiles. Non-Page target links are rejected.
  • Results reflect available public disclosures, not a complete historical archive or guaranteed market coverage.
  • Contact enrichment is enabled by default but does not guarantee phones, emails or addresses. Current extraction does not populate geo or person.
  • Source restrictions can reduce results or prevent collection. Disclosed spend and reach are not available for every ad.
  • Creative lists are capped at 50 entries; fields such as cardsCount, imageUrlsCount and videoUrlsCount retain the original count when truncated.
  • Date filters exclude ads with no start date. Carousel is not a mediaType option; inspect displayFormat after collection.
  • A plain (not graceful) abort stops the run immediately and delivers nothing.

Frequently asked questions

What information is in the Facebook Ad Library file?

Each row describes one public ad. You can compare advertiser Pages, ad headlines, text and button wording, with images, videos and links. Dates, platforms and running status help you compare campaigns. Public Page contacts can be empty. Public disclosure details may include reach or spending information, not private account reports. No Facebook account is needed. The sample on this page shows the exact column names.

How do I search the Facebook Ad Library for a brand or keyword?

Enter words from the ads in Keyword or brand to search ads for, or paste up to 3 Facebook Page links of advertisers, such as https://www.facebook.com/nike. Give Country the ads were shown in as a two-letter code such as US, GB or DE, or ALL for every country (at most 50 ads); left empty, it is US. Under Ad status choose Running now, Stopped or Running and stopped; there is no platform filter, so filter platforms in the sheet. Keyword searches and Page links return separate sets, not only a Page’s ads containing the words.

Does the Ad Library export include ad spend or targeting?

No private ad account spending, detailed audience targeting or custom audiences tracked on websites are included. You get public ad text, dates and platforms. Political and issue ads follow Meta's disclosure rules. Public Page phone numbers, emails and addresses can appear, including for personal profiles, but can be empty if access is restricted. An order can ask for 1 to 100,000 rows.

Can I audit a competitor's active Facebook ads?

Yes. Paste the competitor's Facebook Page link and choose Running now under Ad status. Sort by the creation date and read the ad text and button wording side by side. For offer research, search weight loss with country code US and filter ad text for promo codes or discounts. The shop does not place ads or contact Page administrators for you.

How long does a Facebook Ad Library order take?

The ads are collected from the public Ad Library after you pay, so the file shows what the library lists at that moment. Most orders arrive within 24–48 hours and every order within 72 hours of payment; download the file from the order page. If the search finds fewer ads than you paid for, the amount for the missing rows is credited to your account balance automatically.

Is it legal to scrape Facebook Ad Library?

This Actor collects public data, not private account content. You are responsible for complying with applicable terms and data-protection law. Publicly visible personal data still requires a lawful basis for your intended use. This is not legal advice.

Why did my run end as ABORTED?

Runs no longer pause as ABORTED when the timeout is too short; they end SUCCEEDED with partial results, as described above. ABORTED means the run was aborted. Use Abort gracefully to keep the rows collected so far and get a cursor.

How many results can I get?

maxResults accepts up to 5000 per keyword or Page, not a guaranteed number of matches. Worldwide searches allow at most 50 per input. Free-plan limits, available matches and your maximum cost can reduce the total.

Why are some fields empty?

Meta does not disclose every field for every ad. Contact details vary by advertiser; enrichment may be unavailable or stop before completion. leadAbsences explains missing contact data. A missing active-status flag remains null .

Why do `leadAbsences` reasons look different from earlier runs?

From November 2026 each reason is an English code. Earlier runs returned Chinese labels: Earlier label (JSON-escaped) Now "\u672a\u9a8c\u8bc1" not_verified "\u672c\u7ad9\u65e0\uff08\u8be5\u5e7f\u544a\u4e3b Contact \u9875\uff09" not_verified (no found on the advertiser Contact page) , where is phone number , email address , US street address or website or social profile link "\u95f8\u95e8\u9501\uff08 \uff09" gated ( ) , such as gated (Live About link missing on advertiser Page) Gate reasons were already English except "\u5e7f\u544a\u7ed3\u679c\u7f3a\u5c11\u5e7f\u544a\u4e3b\u4e3b\u9875\u8eab\u4efd" , which is now Advertiser Page identity missing on ad result .

Does this return ad performance metrics?

It returns disclosed spend and impression ranges when available, commonly for political or issue ads. It does not provide private Ads Manager metrics such as click-through rate or conversions. An active ad is not proof that it performs well.

Can I monitor only new ads?

Set incremental to true . History is shared across matching keywords, Pages, country, adType and activeStatus in facebook-ad-library-checkpoints . Only delivered ads are marked seen. History retains the latest 10,000 IDs per search scope, so this is not an unlimited archive.