Campaign snapshots
get_campaign_snapshotsUse for Sponsored Products campaign settings snapshots from the campaign_snapshots sync. view='history' returns daily state, budget, bidding, portfolio, and placement bid adjustment rows. view='changes' returns observed setting differences between daily snapshots, including changes made in the console or through the API. It requires at least two days of snapshots and cannot show intermediate changes between captures. This is not a live write readback and does not return performance metrics; use get_campaign_performance for metrics.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_campaign_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Snapshot view: history returns daily settings snapshots; changes returns setting deltas between snapshots. | history |
| limit | No | Max rows (1-1000, default 20). | |
| state | No | History view only. Filter by campaign state | |
| offset | No | Pagination offset (0-100000, default 0). Use the returned pagination.next_offset to continue. | |
| sort_by | No | History view only. Column to sort by. Changes view sorts by snapshot_date. | |
| end_date | No | Optional. YYYY-MM-DD. Defaults to today. | |
| profile_id | No | Filter by ad account profile ID | |
| sort_order | No | Sort order | desc |
| start_date | No | Optional. YYYY-MM-DD. Defaults to 30 days ago. | |
| campaign_id | No | Filter by campaign ID | |
| change_types | No | Changes view only. Optional change types to include | |
| campaign_name | No | Filter by campaign name (LIKE match, use % for wildcards) | |
| include_raw_rows | No | For tabular results, false returns compact rows capped at MCP_TEXT_ROW_PREVIEW_LIMIT (default 10), regardless of limit. Complete-page and custom non-tabular responses may ignore this option; see tool-specific notes. Default true; large full-row responses are capped separately. Freshness fields require include_diagnostics=true in either row mode, where supported. | |
| include_diagnostics | No | True enables expanded freshness diagnostics. Where supported, snapshot_capture_at and snapshot_data_through_date are populated only when include_diagnostics=true, in both compact and full-row modes; values may still be null if source data is unavailable. Default false. Basic empty-result data-window diagnostics are included by default when available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No |