Collect ads data snapshot
ads_snapshot_collect[writes flayr data · write scope] Save an immutable, org and brand scoped snapshot for selected ad accounts and an inclusive 1–30 day window. Reads vendors only; no charge, analysis, ad writes or spend. Each source reports availability.
(Wraps POST /api/v2/ads/snapshots.)
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": {
"fromDate": "<fromDate>",
"toDate": "<toDate>",
"adAccountIds": "<adAccountIds>"
},
"name": "ads_snapshot_collect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toDate | Yes | ||
| brandId | No | A brand id (GET /api/v2/brands) or "personal"; default: the key owner's active brand. A brand-bound key is always pinned to its brand; any other value is 403. | |
| fromDate | Yes | ||
| adAccountIds | Yes |