Campaigns
Update a campaign
Change a campaign’s name, dates, description or hold.
PUT
Needs
campaigns:update, and a role in the workspace that can edit campaigns: owners, managers, content managers and content creators can. See Permissions.start_date sent must be in the future, and the end (the one sent, or the campaign’s) must be after the start.
As on create, the dates sent are read as UTC and the answer gives them in the workspace’s timezone; see Create a campaign.
status: "DRAFT" or "CANCELLED" holds the campaign at that status. Sending SCHEDULED, ACTIVE or COMPLETED lifts a hold, and the dates then decide which of the three it shows.
Campaigns are on paid plans. When the workspace owner is on Free, nothing changes and the answer is 403 with error: plan_limit_reached and limit: campaigns. The role and the plan are checked before the body, so on Free a bad body still gets the 403.
Errors
Related
- Get a campaign: the campaign as it is now.
- Delete a campaign: remove it.
Authorizations
Body
application/json
Response
The campaign after the change.
A campaign that groups posts.
SCHEDULED until start_date, ACTIVE until end_date, then COMPLETED: these follow the dates when the campaign is read. DRAFT and CANCELLED are holds set on the campaign, which stay until it is changed. The status only describes the campaign: it doesn't hold back or send its posts.
Available options:
DRAFT, SCHEDULED, ACTIVE, COMPLETED, CANCELLED The campaign's workspace, as List workspaces gives it, with no accounts or brand_voice.