Get campaign performance
get_campaign_metricsSpend, impressions, clicks, conversions, CTR, CPC, CPA and ROAS for one campaign over a window, broken down per ad network plus a total. Use this to answer how a campaign is performing, which network is cheapest or most expensive per conversion, or where spend went. Figures are what each network itself reported.
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": {
"campaign_id": "<campaign_id>"
},
"name": "get_campaign_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days. | |
| campaign_id | Yes |