snap_get_stats
Retrieve read-only performance stats for a campaign, ad squad, or ad across a specified time window to audit impressions, spend, and conversions.
Instructions
Stats for one campaign, ad squad or ad over a window (read-only). Times must fall on the hour; spend is in micro-currency.
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": {
"entity": "<entity>",
"id": "<id>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "snap_get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| entity | Yes | ||
| fields | No | ||
| end_time | Yes | ||
| start_time | Yes | ISO date-time on the hour, with offset, e.g. 2026-10-19T00:00:00+00:00 | |
| granularity | No | TOTAL |