Amend campaign flight
amend_campaign_flightAmend the native campaign flight. Each fulfillment route reports its actual supported change.
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": {
"advertisementId": "<advertisementId>",
"idempotency_key": "<idempotency_key>",
"flightStart": "<flightStart>",
"flightEnd": "<flightEnd>"
},
"name": "amend_campaign_flight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flightEnd | Yes | Local calendar date, YYYY-MM-DD. | |
| flightStart | Yes | Local calendar date, YYYY-MM-DD. | |
| advertisementId | Yes | Native campaign ID returned by save_campaign_draft. | |
| idempotency_key | Yes | Stable unique key for this action. Reuse this key and unchanged arguments when retrying. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| message | Yes | ||
| end_date | Yes | ||
| start_date | Yes | ||
| statusCode | Yes | ||
| lineResults | No | ||
| capabilities | Yes | ||
| amended_lines | Yes | ||
| advertisementId | Yes | ||
| pending_partner_sync | Yes | Original owner IO lines awaiting acknowledged dates; local registry changes apply in the same transaction. | |
| ownedPlacementsAmended | Yes |