search_meta_ads_by_keyword
Find who advertises a product, niche, or creator partnership by searching the whole Meta Ad Library with any keyword or phrase, even without knowing the advertiser. Returns page_id and page_name for follow-up.
Instructions
Search the whole Meta Ad Library by keyword, topic or phrase, without knowing the advertiser. Use it to find who advertises a product or problem, ads in a niche, or partnership ads run through creators (get_meta_ads only returns a brand's own page). Returns ads with page_id and page_name, so you can follow up with get_meta_ads on any advertiser.
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": "search_meta_ads_by_keyword"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trim | No | ||
| limit | No | ||
| query | Yes | ||
| status | No | ||
| country | No | ||
| sort_by | No | ||
| end_date | No | ||
| media_type | No | ||
| start_date | No | ||
| search_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |