export_statistics_csv
Export campaign performance data as a CSV file for specified time periods and metrics to analyze marketing results.
Instructions
Export campaign statistics as a CSV file
This retrieves statistics for all campaigns in CSV format.
Args: user_id: User ID account_id: Account ID from_timestamp: Statistics start timestamp (Unix timestamp) to_timestamp: Statistics end timestamp (Unix timestamp) curves: List of statistic types to retrieve (same values as get_statistics) time_zone: Timezone for statistics (e.g., "America/New_York", "Europe/Belgrade")
Returns: CSV file data with campaign statistics
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": {
"user_id": "<user_id>",
"account_id": "<account_id>",
"from_timestamp": "<from_timestamp>",
"to_timestamp": "<to_timestamp>",
"curves": "<curves>",
"time_zone": "<time_zone>"
},
"name": "export_statistics_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| account_id | Yes | ||
| from_timestamp | Yes | ||
| to_timestamp | Yes | ||
| curves | Yes | ||
| time_zone | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||