Apply campaign changes
apply_campaign_changesExecutes only a confirmed AD_CAMPAIGN_CHANGE plan on the authorized Amazon Ads account. Changes campaign budgets, states, or names. Requires the plan's one-time confirmation receipt and an idempotency key. A linked structure draft may automatically prepare the next preview without confirming or executing it. Review Sandbox simulates advertising writes and skips continuation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | Confirmed immutable workflow plan ID. If this call times out or disconnects, do not prepare a replacement plan: query get_workflow_plan, or retry this exact plan with the same idempotency key. An INDETERMINATE item means Amazon may have accepted the write and must be reconciled before any retry. | |
| idempotencyKey | Yes | Client-generated key unique to this plan. Generate a new key for every newly prepared plan; include the planId or another random value. Reuse the exact key only when retrying apply for this same plan; never reuse it for a newly prepared plan. | |
| applyContinuation | No | For atomic plans belonging to an AD_STRUCTURE_CREATE draft. Pass the applyContinuation object returned by continue_workflow_draft or the previous apply result unchanged with its current plan. After the approved write finishes, the server prepares the next-stage preview without confirming or executing it. If omitted, continuation may still be recovered from the active linked plan. Review Sandbox skips automatic continuation. | |
| confirmationReceipt | Yes | One-time receipt returned by confirm_workflow_plan for this exact plan. A receipt for the current plan does not confirm subsequent plans. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| planId | No | ||
| status | No | ||
| storeId | No | ||
| summary | No | ||
| planHash | No | ||
| policyId | No | ||
| warnings | No | ||
| createdAt | No | ||
| expiresAt | No | ||
| simulated | No | ||
| parameters | No | ||
| confirmedAt | No | ||
| nextActions | No | ||
| planVersion | No | ||
| continuation | No | ||
| workflowType | No | ||
| executionMode | No |