Search advertisers in the Meta Ad Library
meta_ads_search_companiesFind advertisers in the Meta Ad Library by brand or page name. Each result includes the Page ID to search the advertiser’s ads with, the page’s name, username, category, likes, verification and country, and its linked Instagram account. Returns up to 15 advertisers; this list is not paginated. Read-only: returns public data and changes nothing. Costs 1 credit per request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>",
"country": "<country>"
},
"name": "meta_ads_search_companies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Name of the brand or advertiser to look for, e.g. "nike". | |
| country | Yes | Two-letter country code to favor advertisers from, e.g. "US", or "ALL". Defaults to "ALL". | ALL |
| cacheOnly | No | Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true. | |
| cacheMaxAgeHours | No | Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24. |