Replace a creative. The call replaces the whole creative, so send every field: a field you leave out is cleared, including metadata, ad_domains and mime. To change one field, read the creative with Get campaign creative, copy only these fields into the request, change the one you need, and send them all: type, name, status, file_id, destination_url, ad_domains, mime and metadata. Do not send the whole response back: the request refuses any other field, such as id, with 400. A blank status keeps the current status. The creative stays on its campaign.
Needs the campaigns:write scope, like every campaign write.
An active or paused creative on a launched campaign is re-sent to DelivrDSP, which reviews it again. An archived creative cannot be changed.
Response fields by status. 200: id, organization_id, project_id, campaign_id, file_id, type, name, status, destination_url, ad_domains, mime, metadata, decline_reason, created_at, updated_at. 400: error, code. 403: error, required_scopes, endpoint.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Missing or invalid authentication.
404The campaign is not in the key's organization, or the creative is not on this campaign.
409The creative or its campaign is archived. Also returned, as plain text, for a campaign another ad platform runs (runs_on is not delivr). Make the change on that platform.
