facebook: Find advertisers running ads
facebook_adLibraryAdvertisersFind advertisers running ads. Distinct advertisers whose ads match a search term, with the page_id needed by /v1/facebook/ad-library/page-ads. Derived from the ads an Ad Library search returns, ranked by how many of them each advertiser ran. Costs 1 credit.
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": {
"query": "<query>"
},
"name": "facebook_adLibraryAdvertisers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Ads sampled, 1-100. More ads means more advertisers. | |
| query | Yes | Advertiser name or a term from their ad copy | |
| status | No | active | |
| country | No | US | |
| cache_max_age | No |