get_analytics
Retrieve account statistics and analytics by specifying a date range, with options to filter by subaccount, label, and group by country, date, label, or subaccount.
Instructions
Get account statistics and analytics
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Start date (YYYY-MM-DD) | |
| end | No | End date (YYYY-MM-DD) | |
| subaccounts | No | Subaccount filter: "only_main" for main account only, "all" for all accounts, or specific subaccount ID (integer) | |
| group_by | No | Group analytics by (country, date, label, subaccount) | |
| label | No | Filter by label |