Meta Ad Library
Pricing
$1.49 / 1,000 ads
Go to Apify Store
One keyword or phrase per line, searched the way the Ad Library search box does it: ads whose text contains the words. Every term is searched separately and its rows are labelled with it. Give search terms, Pages, or both.
Advertisers whose ads you want, one per line: a Facebook Page URL (https://www.facebook.com/nike), a numeric Page ID (15087023444), or an Ad Library link that already has view_all_page_id in it. For a Page URL the numeric Page ID is read from the Page's public page first.
Where the ads were shown: "ALL" for every country, or a two-letter country code such as "US", "GB", "DE", "BR", "JP".
"all" searches every ad. "political_and_issue_ads" searches ads about social issues, elections or politics - the only category for which the Ad Library publishes spend, impressions and the "Paid for by" line.
Only ads still running, only ads that have stopped, or both.
Only ads with this kind of creative.
Match search terms as an exact phrase instead of any order of the words.
Upper bound on the ads one search term or Page may produce. The Ad Library pages 10 ads at a time.
Hard ceiling on the requests this run sends to the Ad Library: browser sessions, result pages, Page lookups and retries together. At the ceiling collection stops - the targets not reached are written with partialReason "upstream_request_cap" and the run then ends normally. Leave empty and the Actor works a ceiling out from your targets and limits, so a run is never unbounded.