Get Ad Performance
get_ad_performanceGet performance metrics for campaigns, ad sets, or creatives.
Returns impressions, clicks, spend, conversions, CTR, CPC, CPM, ROAS, and custom metrics. Supports date range filtering and breakdown by day.
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": {
"entityType": "<entityType>",
"entityId": "<entityId>"
},
"name": "get_ad_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | End date (YYYY-MM-DD) | |
| metrics | No | Specific metrics to retrieve (optional, returns all by default) | |
| entityId | Yes | Entity ID | |
| breakdown | No | Breakdown dimension | |
| startDate | No | Start date (YYYY-MM-DD) | |
| entityType | Yes | Entity type to get metrics for |