get_ad_unit_performance
Retrieve ad unit performance metrics including CTR, RPM, impressions, clicks, and earnings for a specified date range.
Instructions
Get performance metrics per ad unit: CTR, RPM, impressions, clicks, and earnings.
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_range": "<date_range>"
},
"name": "get_ad_unit_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | YYYY-MM-DD. Required for custom range. | |
| date_range | Yes | The date range to query. | |
| start_date | No | YYYY-MM-DD. Required for custom range. | |
| ad_client_id | No | Optional ad client ID to filter by. |