Execute campaign
Launch/execute a campaign to start delivering ads. Pass debug: true in the request body to include detailed debug information in error responses.
Authorizations
API key or access token
Path Parameters
Unique identifier for the campaign
1"cmp_987654321"
Body
Optional request body for executing a campaign. Unknown fields are rejected.
When true, includes detailed debug information in error responses from media buy execution
Response
Execute campaign
Response from executing or pausing a campaign
Campaign ID
"cmp_987654321"
Previous campaign status
DRAFT, ACTIVE, PAUSED, COMPLETED, ARCHIVED New campaign status
DRAFT, ACTIVE, PAUSED, COMPLETED, ARCHIVED Whether the status change was fully successful. False when any media buy execution failed.
Number of media buys that execution was attempted for. Always present on execute responses; absent on pause responses. 0 indicates a no-op execute (nothing to execute, campaign status preserved).
0 <= x <= 90071992547409912
Machine-readable reason for a no-op execute. Present only when the campaign had no media buys to execute, in which case the campaign status is preserved rather than set to ACTIVE.
no_media_buys_to_execute Structured error details per failed media buy. Only present when there are failures.