Facebook Ad Library Scraper avatar

Facebook Ad Library Scraper

Under maintenance

Pricing

Pay per usage

Go to Apify Store
Facebook Ad Library Scraper

Facebook Ad Library Scraper

Under maintenance

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Donny Nguyen

Donny Nguyen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

What does it do?

Facebook Ad Library Scraper extracts advertising data from Meta's public Ad Library. It searches for ads by advertiser name or keyword and collects ad text, creative images, start dates, active status, platform distribution, and spend estimates. The scraper supports filtering by country and handles scrolling to load multiple ad results.

Why use this scraper?

The Facebook Ad Library is a transparency tool that provides public access to all ads running across Meta platforms. This scraper enables competitive intelligence, marketing research, and ad strategy analysis at scale. Track what competitors are advertising, analyze ad creative trends, monitor political advertising, or build datasets for ad research and benchmarking. Manual browsing of the Ad Library is slow and does not support data export.

How to use

  1. Navigate to the Facebook Ad Library Scraper on Apify.
  2. Enter advertiser names or search keywords.
  3. Select the target country.
  4. Set the maximum number of ads to scrape.
  5. Click "Start" to begin scraping.
  6. Download results in JSON, CSV, or Excel format.

Use the Apify API for automated competitive ad monitoring and scheduled reports.

Input configuration

ParameterTypeDescription
advertisersArrayAdvertiser names or keywords to search (default: Meta, Nike)
countryStringCountry code for filtering (default: US)
maxAdsIntegerMaximum ads per advertiser (default: 200)
proxyConfigObjectProxy settings for the scraper

Output data

The scraper outputs a dataset with the following fields:

{
"advertiser": "Nike",
"adText": "Just Do It. Shop the latest Nike Air Max collection...",
"startDate": "Feb 1, 2026",
"status": "Active",
"platform": "Facebook, Instagram",
"image": "https://scontent.xx.fbcdn.net/...",
"adLibraryUrl": "https://www.facebook.com/ads/library/?id=123456",
"country": "US",
"scrapedAt": "2026-02-19T10:00:00.000Z"
}

Cost of usage

This scraper uses Puppeteer with higher memory instances. Approximate cost is $1.50 per 1,000 ads with Apify proxy. Costs depend on the number of advertisers, scroll depth, and proxy usage. The Ad Library requires browser rendering for dynamic content loading.

Tips

  • Search by brand name for competitor ad analysis.
  • Use country codes to focus on specific markets (US, GB, DE, FR, etc.).
  • The Ad Library shows both active and inactive ads.
  • Schedule regular runs to track new ad launches and creative changes.
  • Ad text is truncated to 2000 characters for dataset management.
  • Combine with sentiment analysis tools for deeper insights.
  • Political ads often include spend data not available for commercial ads.

Built with Crawlee and Apify SDK. See more scrapers by consummate_mandala on Apify Store.