Search Meta Ad Library
meta_search_ad_librarySearch Meta's Ad Library for any advertiser's ads without ad account access. Filter by country, keywords, Page ID, ad type, and status to retrieve creatives, spend, impressions, and demographics.
Instructions
Searches the Meta Ad Library for ads from any advertiser. This is a transparency tool — no ad account access needed.
Args:
ad_reached_countries (string[]): Required. ISO country codes where ads were shown (e.g., ["US", "GB"])
search_terms (string, optional): Keywords to search ad text
search_page_ids (string[], optional): Specific Page IDs to search
ad_type (string): ALL, POLITICAL_AND_ISSUE_ADS, HOUSING_ADS, EMPLOYMENT_ADS, CREDIT_ADS (default: ALL)
ad_active_status (string): ALL, ACTIVE, INACTIVE (default: ALL)
ad_delivery_date_min (string, optional): Min delivery date YYYY-MM-DD
ad_delivery_date_max (string, optional): Max delivery date YYYY-MM-DD
limit (number): Max results (1–100, default 25)
after (string, optional): Pagination cursor
Returns: Ad creatives, spend ranges, impressions, demographics, and targeting info.
Note: Requires a valid access token but does NOT require ad account ownership.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| limit | No | ||
| ad_type | No | ALL | |
| search_terms | No | Keywords to search | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |
| search_page_ids | No | Page IDs to filter by | |
| ad_active_status | No | ALL | |
| ad_delivery_date_max | No | Max delivery date YYYY-MM-DD | |
| ad_delivery_date_min | No | Min delivery date YYYY-MM-DD | |
| ad_reached_countries | Yes | ISO country codes (e.g., ["US"]) |