Apply portfolio creation
apply_portfolio_creationExecutes only a confirmed AD_PORTFOLIO_CREATE plan on the authorized Amazon Ads account. Creates advertising portfolios with optional budgets. Requires the plan's one-time confirmation receipt and an idempotency key. Review Sandbox simulates advertising writes.
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": {
"planId": "<planId>",
"confirmationReceipt": "<confirmationReceipt>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "apply_portfolio_creation"
}
}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. | |
| 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 |