Preview & validate a campaign before launching
campaign_previewDry-run a campaign to validate its settings and generate a single-use preview token for launch. The token expires in 5 minutes and is invalidated by any edits.
Instructions
Dry-run the campaign and return the launch plan + a single-use preview_token. The token is bound to the current state of audience/channels/creative/metric/budget/schedule and ALL of these must be present and valid for the token to be returned. Pass the token to campaign_launch within 5 minutes — editing the campaign in between invalidates it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign UUID. |