Go to example tasks

Scrape Facebook Ads from an Ad Library URL

Paste a Facebook Ad Library search URL and export every ad it returns filters like country and media type carry over automatically.

Try for free
Facebook Ads Scraper Pro
Facebook Ads Scraper Prodz_omar/facebook-ads-scraper-pro
๐Ÿ–ผ๏ธ Primary Thumbnail
๐Ÿ”— Ad Library URL
๐Ÿ†” Ad ID
๐Ÿ“„ Page Name
+10 fields
Text
Number
Boolean
List
Object

Input

๐Ÿ”— Facebook Ad Library URLs (optional)
url:https://www.facebook.com/ads/library/?active_status=active&ad_type=all&content_languages[0]=en&country=ALL&is_targeted_country=false&media_type=video&publisher_platforms[0]=facebook&q=pokemon&search_type=keyword_unordered&sort_data[mode]=relevancy_monthly_grouped&sort_data[direction]=desc&source=fb-logo
๐Ÿ“Š Max Results Per Search:50

Output fields

๐Ÿ–ผ๏ธ Primary Thumbnail
๐Ÿ”— Ad Library URL
๐Ÿ†” Ad ID
๐Ÿ“„ Page Name
๐Ÿ“น Ad Title
๐Ÿ“ Ad Text
๐ŸŽจ Media Type
โœ… Is Active
๐Ÿ‘ Page Likes
๐Ÿ“ฑ Platforms
๐Ÿ“… Start Date
๐Ÿ“… End Date
๐Ÿท๏ธ Ad Category
โฐ Scraped At

How it works

Sign up on Apify or log in

The Facebook Ads Scraper Pro Actor is ready to run with the inputs already set for "Scrape Facebook Ads from an Ad Library URL". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Scrape Facebook Ads from an Ad Library URL" task

The Facebook Ads Scraper Pro Actor will start running based on the input automatically. You can also change all the input fields, like ๐Ÿ”— facebook ad library urls (optional) and ๐Ÿ“Š max results per search, to match your specific use case.

Receive the "Scrape Facebook Ads from an Ad Library URL" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as ๐Ÿ–ผ๏ธ primary thumbnail, ๐Ÿ”— ad library url, ๐Ÿ†” ad id, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Scrape Facebook Ads from an Ad Library URL" task via API.

Image

Integrate "Scrape Facebook Ads from an Ad Library URL" into your workflow

Connect "Scrape Facebook Ads from an Ad Library URL" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay