Find the Longest-Running Facebook Ads for a Keyword
Ads that have run for months are the ones that are working. This preset searches the Meta Ad Library by keyword and returns every matching ad with a days-running count, its copy and creative.
Input
Output fields
Sign up on Apify or log in
The Meta Ad Library Scraper — Resume, Media & $0-on-Block Actor is ready to run with the inputs already set for "Find the Longest-Running Facebook Ads for a Keyword". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Find the Longest-Running Facebook Ads for a Keyword" task
The Meta Ad Library Scraper — Resume, Media & $0-on-Block Actor will start running based on the input automatically. You can also change all the input fields, like search terms (brand or keyword), countries (iso codes), and more, to match your specific use case.
Receive the "Find the Longest-Running Facebook Ads for a Keyword" 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, country, ad archive 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 "Find the Longest-Running Facebook Ads for a Keyword" task via API.

Integrate "Find the Longest-Running Facebook Ads for a Keyword" into your workflow
Connect "Find the Longest-Running Facebook Ads for a Keyword" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay