Duplicate and vary
Duplicates the node count times and sets one settings path, vary.path, to a different value on each copy, taken in order from vary.values (its length must equal count). Paths and values are validated against the settings schema. nameTemplate names the copies.
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 node to duplicate
1 <= lengthIdempotency-Key?stringRetrying with the same key within 24 hours returns the first response without acting again.
length <= 255application/json- body
count*number1 <= value <= 20vary*nameTemplate?stringOptional name template, e.g., "{original} - Variant {i}"
Duplicate and vary
application/json- response
[key: string]?unknowncurl -X POST "https://example.com/v1/brands/0/launches/string/nodes/string/variations" \ -H "Authorization: Bearer koast_sk_..." \ -H "Content-Type: application/json" \ -d '{ "count": 1, "vary": { "path": "string", "values": [ null ] } }'{ "property1": null, "property2": null}Required scope: write. CLI: koast duplicate-and-vary, see Launches commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.
Rename campaign, ad set or ad
Renames a campaign, ad set or ad in the launch to newName.
Launch campaign
Publishes the launch to the ad platform. Without confirm: true nothing is published: the launch is validated and a preview of its campaigns, ad sets, ads and budgets is returned (mode: preview). With confirm: true the publish jobs are queued and mode: publish is returned. A launch that fails validation (in either mode) answers 400 validation_failed with the message Launch validation failed: N issues. and one { field, message } per issue in details, where field names the node (campaigns[<id>], adSets[<id>] or ads[<id>]) and, when known, its setting (ads[<id>].creative).