Skip to main content
PUT
Update Campaign

Authorizations

Authorization
string
header
required

Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.

Path Parameters

campaignId
string
required

Body

application/json
expectedRevision
integer
required
Required range: x <= 9007199254740991
plan
object
required
organizationId
string

Required for session auth. Optional for an API key, which already identifies the organization.

Required string length: 1 - 120
expectedStage
enum<string>
Available options:
draft,
approved
expectedPendingVersion
integer | null
Required range: 0 < x <= 9007199254740991

Response

Campaign detail: plan, revision, executions, audit, schedule, and progress.

campaign
object
required
executions
object[]
required
audit
object[]
required
readiness
string[]
required

Issues that block approving or running the current plan.

pendingChangeIssues
string[]
required

Issues that block approving the proposed live change.

pendingScheduleCount
integer
required
Required range: 0 <= x <= 9007199254740991
failedScheduleCount
integer
required
Required range: 0 <= x <= 9007199254740991
waitingBrowserJobCount
integer
required
Required range: 0 <= x <= 9007199254740991
scheduleIssues
object[]
recovery
object[]
cleanupFailed
boolean
progress
object