Budget pacing
get_budget_pacingUse for SP, SB, or SD budget usage and pacing snapshots: Amazon's near-real-time usage percentage plus derived estimated used and remaining budget by campaign. The omitted ad_product default remains SP. Do not treat estimated used budget as finalized advertising cost; use retained campaign performance for finalized spend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows (1-1000, default 20). | |
| offset | No | Pagination offset (0-100000, default 0). Use the returned pagination.next_offset to continue. | |
| sort_by | No | Column to sort by | budget_usage_percent |
| end_date | No | Optional. YYYY-MM-DD. Defaults to today in the connection reporting timezone. | |
| ad_product | No | Sponsored ad product to return. SP preserves the existing default; ALL includes SP, SB, and SD. | SP |
| profile_id | No | Filter by ad account profile ID | |
| sort_order | No | Sort order | desc |
| start_date | No | Optional. YYYY-MM-DD. Defaults to 7 days ago in the connection reporting timezone. | |
| campaign_id | No | Filter by sponsored ads campaign ID | |
| latest_only | No | When true, return the latest retained daily snapshot per ad product and campaign in the selected date range | |
| campaign_name | No | Filter by campaign name (case-insensitive LIKE match, use % for wildcards) | |
| at_risk_percent | No | Threshold used to label campaigns as at_risk | |
| include_raw_rows | No | False returns compact rows. Default true. | |
| min_usage_percent | No | Only return campaigns at or above this budget usage percentage | |
| 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 |