Meta winners and losers
get_top_performersRank a Meta account's ads or ad sets by a metric: what to scale, what to cut. Get top and worst performing ads/adsets ranked by a metric. Perfect for "what is working" or "what should I scale/kill" questions.
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": {
"date_preset": "<date_preset>",
"metric": "<metric>",
"level": "<level>",
"ad_account_id": "<ad_account_id>"
},
"name": "get_top_performers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Level to analyze | |
| limit | No | ||
| metric | Yes | Metric to rank by | |
| date_preset | Yes | ||
| ad_account_id | Yes | Meta ad account id (act_…), from list_ad_accounts |