Go to example tasks

Facebook Meta Ads Library Search Export

Searches the Meta Ad Library for a keyword in a country you choose and returns the live ads as structured data. Each row has the ad ID, headline, ad copy, format, advertiser page name and likes, images, videos, start and end dates, the Meta platforms it runs on and whether it is active. Good for competitor and creative research.

Try for free
Facebook(Meta) Ad Scraper
Facebook(Meta) Ad Scrapergetdataforme/facebook-ad-scraper
Ad ID
Advertiser
Headline
Ad text
+6 fields
Text
Number
Boolean
List
Object

Input

List of Facebook Ad Search Queries(required):iphone

Output fields

Ad ID
Advertiser
Headline
Ad text
Format
Page
Page likes
Platforms
Start
Active

How it works

Sign up on Apify or log in

The Facebook(Meta) Ad Scraper Actor is ready to run with the inputs already set for "Facebook Meta Ads Library Search Export". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Facebook Meta Ads Library Search Export" task

The Facebook(Meta) Ad Scraper Actor will start running based on the input automatically. You can also change all the input fields, like list of facebook ad search queries, to match your specific use case.

Receive the "Facebook Meta Ads Library Search Export" 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 id, advertiser, headline, 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 "Facebook Meta Ads Library Search Export" task via API.

Image

Integrate "Facebook Meta Ads Library Search Export" into your workflow

Connect "Facebook Meta Ads Library Search Export" 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

Frequently asked questions

For every ad it returns the ad ID, headline, ad copy, format, advertiser page name, likes and categories, images, videos, start and end dates, the Meta platforms and whether the ad is active.

Change queries for the keywords, countries for two-letter country codes such as US or GB, and item_limit for how many ads you want.

A run with 10 ads takes a few seconds. Raise item_limit for more; the run stops once that many ads were collected.

No login is needed, it reads the public Ad Library. The residential proxy default should stay on because datacenter IPs are rate limited.

Download the dataset as JSON, CSV, Excel, XML or HTML, or read it through the Apify API.