Validate launch
Checks whether the launch can be published. Returns valid plus, per campaign, the missing required assets and the structural errors on each campaign, ad set and ad, each with an inputId and message. Changes nothing.
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.
Validate launch
application/json- response
valid*booleanresults*array<>[key: string]?unknowncurl -X GET "https://example.com/v1/brands/0/launches/string/validation" \ -H "Authorization: Bearer koast_sk_..."{ "valid": true, "results": [ { "campaignId": "string", "errors": { "campaignErrors": [ { "inputId": "string", "message": "string", "property1": null, "property2": null } ], "adsetErrors": { "property1": [ { "inputId": "string", "message": "string", "property1": null, "property2": null } ], "property2": [ { "inputId": "string", "message": "string", "property1": null, "property2": null } ] }, "adErrors": { "property1": [ { "inputId": "string", "message": "string", "property1": null, "property2": null } ], "property2": [ { "inputId": "string", "message": "string", "property1": null, "property2": null } ] }, "invariantErrorCount": 0, "property1": null, "property2": null }, "property1": null, "property2": null } ], "property1": null, "property2": null}Required scope: read. CLI: koast validate-launch, see Launches commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.
Get campaign tree
Returns the launch's structure as a campaign, ad set and ad tree with ids, names, statuses, budgets and live flags, plus counts per level. Settings, metrics and creative data are not included. importInProgress is true while a background import is still filling the tree.
Move pipeline card
Moves the pipeline card campaignLaunchId to stage: REQUESTED, ASSETS_UPLOADED, IN_REVIEW, APPROVED or FAILED. PUBLISHED cannot be set; a card reaches it only by publishing.