Edit live campaign budget
Changes the daily or lifetime budget of a campaign or ad set that is already live, and pushes the change straight to the ad platform. amount is in cents (minimum 100). Returns 409 for a node that is still a draft; draft budgets are changed through the settings endpoint.
bearerAuthAuthorizationBearer <token>An organization API key (koast_sk_…) with the API surface enabled, or an OAuth access token issued by Koast (koast_at_…) whose audience covers this API. REST access requires an active Agency plan.
brandId*integerThe brand the request acts on. Every brand-scoped resource lives under its brand.
launchId*stringThe campaign launch (batch) id.
nodeId*stringID of the live campaign or ad set node to edit
1 <= lengthIdempotency-Key*stringRequired here. Retrying with the same key within 24 hours returns the first response without acting again.
length <= 255application/json- body
level*stringLevel of the node. Budget cannot be edited on an ad.
"CAMPAIGN""ADSET"budgetType*stringWhether to set the daily or lifetime budget.
"daily""lifetime"amount*integerNew budget in CENTS (5000 = $50.00). Minimum 100 ($1.00). If the user said "$50", pass 5000.
100 <= value <= 10000000Edit live campaign budget
application/json- response
updated*stringlevel*string"CAMPAIGN""ADSET"budgetType*string"daily""lifetime"amount*numbermetaId*stringnodeName?string|nullpreviousBudget?|nullcurrencyCode?string|null[key: string]?unknowncurl -X POST "https://example.com/v1/brands/0/launches/string/nodes/string/live-budget" \ -H "Authorization: Bearer koast_sk_..." \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{ "level": "CAMPAIGN", "budgetType": "daily", "amount": 100 }'{ "updated": "string", "level": "CAMPAIGN", "budgetType": "daily", "amount": 0, "metaId": "string", "nodeName": "string", "previousBudget": { "type": "daily", "amountMinorUnits": 0, "property1": null, "property2": null }, "currencyCode": "string", "property1": null, "property2": null}Required scope: publish. CLI: koast edit-live-campaign, see Launches commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.