Validate launch
Read-only check whether the campaign launch is publishable to the ad platform.
Tool name: validate-launch.
Read-only check whether the campaign launch is publishable to the ad platform. Returns any missing required assets (for example a Facebook Page, Pixel or conversion event on Meta) and structural validation errors with per-node inputId + message. Call this during wrap-up after a build/edit flow BEFORE offering launch to the user, if valid: false, surface each issue (with its inputId + message) as actionable next steps and DO NOT propose launch. NOT a write; safe to call anytime. Pure validation against the current tree state.
When to use
Pre-launch / wrap-up readiness check. Returns whether the launch is publishable plus per-node inputId + message for each issue. Use to gate any "offer to launch" decision: if errors are present, surface each one verbatim and suggest the fix.
Access
| Property | Value |
|---|---|
| Required scope | read |
| Publishes | No |
| Read-only | Yes |
| Destructive | No |
| Idempotent | Yes |
| Open world | Yes |
Input
| Field | Type | Required | Description |
|---|---|---|---|
campaignLaunchId | string | Yes | Campaign launch ID (a.k.a. batch ID). Read it from the Current Context block when one is in scope, or resolve it from a mention via listAccountCampaigns / the campaign tree when the user @-mentioned a different launch. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
valid | boolean | Yes | |
results | object[] | Yes |
REST equivalent
GET /v1/brands/{brandId}/launches/{launchId}/validation, Validate launch. CLI: koast validate-launch.