Go to example tasks

Track a page's ads over a date range

Track any advertiser's Meta ads over time: point at a Facebook Page, set a date range, and pull every ad they ran. Ideal for competitor monitoring.

Try for free
Facebook Ads Library Scraper
Facebook Ads Library Scraperapify/facebook-ads-scraper
Page name
Page about
Total count
Ad text
+10 fields
Text
Number
Boolean
List
Object

Input

Scrape ads newer than:2024-01-01
Scrape ads older than:2024-12-31
🖱️ Active status (if not specified within the Meta Ad Library URL):active
🔗 Meta Ad Library URL or Facebook Page URL(required)
url:https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=ALL&q=penguin%20books&search_type=keyword_unordered
💯 Results limit per URL:10

Output fields

Page name
Page about
Total count
Ad text
Ad format
Is active
Spent
Reach estimate
Impressions
Published at
Start date
End date
Age gender data
Location data

How it works

Sign up on Apify or log in

The Facebook Ads Library Scraper Actor is ready to run with the inputs already set for "Track a page's ads over a date range". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Track a page's ads over a date range" task

The Facebook Ads Library Scraper Actor will start running based on the input automatically. You can also change all the input fields, like scrape ads newer than, scrape ads older than, and more, to match your specific use case.

Receive the "Track a page's ads over a date range" 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 page name, page about, total count, 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 "Track a page's ads over a date range" task via API.

Image

Integrate "Track a page's ads over a date range" into your workflow

Connect "Track a page's ads over a date range" 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

The task provides fields such as ad text, estimated spend, reach estimates, impressions, and the platforms on which the ad was published.

The task allows users to set a specific Facebook Page URL and a date range to extract all ads the page has run during that time.

The 'totalCount' field indicates the total number of ads found for the specified Facebook Page within the given date range.

Yes, this task can be scheduled to run automatically via the Apify Console.

Yes, the output includes a field indicating whether each ad is currently active.

The task extracts ads from Facebook, Instagram, WhatsApp, Threads, and more.

Yes, the task can be accessed programmatically via the Apify API for integration with other tools or AI workflows.