Facebook Ads Library Scraper
Pricing
from $0.45 / 1,000 ads
Facebook Ads Library Scraper
Facebook Ads Library scraper for collecting public ads from search results and advertiser pages. Extract ad creatives, advertiser details, dates, platforms, and available metrics for ad research and monitoring.
Pricing
from $0.45 / 1,000 ads
Rating
5.0
(1)
Developer
laisi
Maintained by CommunityActor stats
1
Bookmarked
2
Total users
2
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Collect publicly available ads from Facebook Ad Library search results and advertiser pages. Add one or more Facebook URLs, choose your filters, and find the collected ad records in the run's default dataset.
✨ Features
- 🔎 Search URLs can target keywords or other Ad Library query criteria.
- 📄 Public Facebook page URLs can be used to find ads associated with a page.
- 🔗 Process multiple URLs in one run.
- 📊 Get ad identifiers, advertiser page information, creative data, and available delivery or impression information.
- 🧾 Collect additional advertiser and AAA-related information when available.
- 🛡️ Uses residential proxies by default; no proxy setup or separate proxy fee is required.
📊 Dataset results
Each dataset item represents an ad returned for an input URL. Depending on the ad and the data available from Facebook, a result can include the following fields:
| Field | Description |
|---|---|
| Ad Archive ID | Archive identifier for locating the ad entry in the Ad Library. |
| Archive Types | Archive classification values associated with the record. |
| Categories | Category labels attached to the ad or its advertiser. |
| Contains Digitally Created Media | Indicator for whether the creative is identified as digitally created or altered. |
| Collation Count | Number of ad variants represented in a grouped result. |
| Collation ID | Identifier used to associate related ad variants. |
| Currency | Currency code associated with reported financial values. |
| End Date | Reported end date for the ad's delivery. |
| Entity Type | Type of advertiser or page entity. |
| Gated Type | Audience or content gating classification, when provided. |
| Has User Reported | Indicator of whether the ad has a user report flag. |
| Hidden Safety Data | Safety-related data returned by the source. |
| Hide Data Status | Status information for fields hidden or restricted by the source. |
| Impressions With Index | Impression range or indexed impression value. |
| Is AAA Eligible | Indicator for eligibility in the source's AAA-related reporting. |
| Is Active | Indicates whether the ad is currently active. |
| Is Profile Page | Indicates whether the advertiser is represented as a profile page. |
| Page ID | Identifier of the advertiser's page. |
| Page Name | Display name of the advertiser's page. |
| Political Countries | Countries associated with political or social-issue ad classification. |
| Reach Estimate | Estimated audience reach, when the source provides it. |
| Report Count | Number of reports or report-related records available for the ad. |
| Snapshot of Ad Creatives | Creative payload, which may contain text, images, videos, or other format details. |
| Spend | Reported spending range or amount, when available. |
| Start Date | Reported date when the ad began running. |
| State Media Run Label | Label indicating a state-affiliated media designation, when present. |
| Publisher Platform | Platforms where the ad is shown, such as Facebook or Instagram. |
| Menu Items | Additional menu or action metadata associated with the ad record. |
| Advertiser | Advertiser details returned by the source;availability may depend on scrapeAdDetails. |
| Insights | Performance or delivery insights included in the response. |
| AAA Info | Additional AAA-related details; availability may depend on scrapeAdDetails. |
⚙️ Actor input
urls (required)
Type: array of strings
Facebook page URLs or Facebook Ad Library search URLs. To create a search URL, open the Ad Library, set the desired query filters, and use the resulting URL.
Example:
["https://www.facebook.com/Meta","https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&media_type=all&q=coffee&search_type=keyword_unordered"]
scrapeAdDetails
Type: boolean
When enabled, request additional ad detail data, including advertiser or AAA-related fields when the source makes them available. Defaults to false.
limitPerSource
Type: integer
Maximum number of ads to collect for each URL. Leave it unset or use 0 for no per-URL limit beyond what the source provides.
count
Type: integer
Maximum total number of ads to collect across all URLs. If unset or 0, no run-wide count limit is applied.
period
Type: string
Date window for page-based ad searches. Available values: all, last24h, last7d, last14d, and last30d. Defaults to all.
activeStatus
Type: string
Choose which ads to include: all, active, or inactive. Defaults to all.
sortBy
Type: string
Choose impressions_desc to order by impressions or most_recent to prioritize recent ads. Defaults to impressions_desc.
countryCode
Type: string
Country filter for page-based searches. Use an uppercase two-letter country code such as US or IN, or use ALL for all countries. Defaults to ALL.
🧪 Example input
{"urls": ["https://www.facebook.com/Meta","https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=US&is_targeted_country=false&media_type=all&q=coffee&search_type=keyword_unordered&sort_data[mode]=total_impressions&sort_data[direction]=desc"],"scrapeAdDetails": false,"limitPerSource": 50,"count": 100,"period": "last30d","activeStatus": "all","sortBy": "impressions_desc","countryCode": "ALL"}
Not every field is available for every ad. Values and formats depend on the source record, country, ad type, and the data returned during the run. Creative and source-specific metadata may also appear inside snapshot.
🚀 How to run
- Add one or more Facebook page or Ad Library URLs to
urls. - Set optional limits and filters for the run.
- Enable
scrapeAdDetailsif you need additional detail fields. - Start the Actor and review the results in the default dataset.
⚠️ Notes
- This Actor is intended for publicly visible Ad Library information.
- Use collected data in accordance with applicable laws, privacy requirements, and the source platform's terms.
- Facebook may change its pages or data formats, which can affect availability and structure.
keywords: facebook ads scraper, meta ads scraper, facebook ads library scraper, scrape facebook ads