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 deterministic setting changes between daily snapshots, which catches changes regardless of whether they were made in the console or through the API, making it the reliable 'what changed to my SP campaigns' surface (it needs at least two days of snapshots to show a delta). This is not a live write readback and does not return performance metrics; use get_campaign_performance for metrics.
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 | False returns compact rows. Default true. | |
| include_diagnostics | No | True may add expanded freshness diagnostics. Basic empty-result data-window diagnostics are included by default when available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No |