get_account_report
Retrieve a calendar-month report of active ads and per-ad totals for a Telegram Ads account, using the provided account ID or configured default.
Instructions
Get per-ad totals for a calendar month.
Returns a report of active ads for the given year and month. Monetary values use each item's currency.
Omitted account_id uses TELEGRAM_ADS_ACCOUNT_ID if set, otherwise the token owner's account.
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": {
"year": "<year>",
"month": "<month>"
},
"name": "get_account_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| month | Yes | ||
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||