Go to example tasks

Scrape Inactive & Ended Facebook Ads

Export only ended, inactive Facebook ads by keyword and country from Meta's Ad Library — creatives, CTAs, and run dates. For historical campaign research.

Try for free
Facebook Ad Library Scraper Pro
Facebook Ad Library Scraper Proconstructive_calm/facebook-ad-library-pro
Ad archive id
Page name
Is active
Started
+9 fields
Text
Number
Boolean
List
Object

Input

🔍 Keyword (auto-builds search URL):black friday
🌍 Country:US
Active status:inactive
🖼️ Media type:all
Sort by:most_recent
#️⃣ Limit per input URL:100

Output fields

Ad archive id
Page name
Is active
Started
Ended
Publisher platform
Body text
Cta text
Link
Creative
Video url1
Country
Scraped at

How it works

Sign up on Apify or log in

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

Start the "Scrape Inactive & Ended Facebook Ads" task

The Facebook Ad Library Scraper Pro Actor will start running based on the input automatically. You can also change all the input fields, like 🔍 keyword (auto-builds search url), 🌍 country, and more, to match your specific use case.

Receive the "Scrape Inactive & Ended Facebook Ads" 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 ad archive id, page name, is active, 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 Inactive & Ended Facebook Ads" task via API.

Image

Integrate "Scrape Inactive & Ended Facebook Ads" into your workflow

Connect "Scrape Inactive & Ended Facebook Ads" 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