Get an Ad's history
get_ad_snapshotsUse when you need one stored Ad's history: each observation's running state, placements, countries, and disclosed spend and reach. Not for the Ad's details: get_ad. Not for an Advertiser's Ads: get_tracker_ads. Price: Free. library plus the id search_ads or get_tracker_ads returned. An Ad never observed is not_found. next_cursor pages.
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": {
"library": "<library>",
"id": "<id>"
},
"name": "get_ad_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The Ad's library id. | |
| limit | No | ||
| cursor | No | ||
| library | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| next_cursor | No | Pass back as `cursor`. |