Facebook Meta Ads Library Search Export
GetDataForMe
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.
Input
Output fields
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.

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.