Update an existing creative. Only provided fields are modified.
message or offer_links are updated, the character_count and segment_count are automatically recalculated.
{{linkN}} placeholder if provided.{{linkN}} placeholder in the message (current or updated) must have a matching entry.active, paused, archived. Note that unlike creation, you can set the status to archived during an update.automated, one_time, welcome.| HTTP Status | Error Code | Description |
|---|---|---|
| 400 | name_too_long | The name exceeds 255 characters. |
| 400 | message_too_long | The message exceeds 1600 characters. |
| 400 | invalid_status | The provided status is not active, paused, or archived. |
| 400 | invalid_creative_type | The provided creative_type is not automated, one_time, or welcome. |
| 400 | missing_link_placeholder | The updated message must contain at least one {{linkN}} placeholder. |
| 400 | missing_offer_links_for_placeholders | One or more {{linkN}} placeholders in the message do not have a matching entry in offer_links. |
| 400 | missing_offer_link_key | An entry in offer_links is missing the required key field. |
| 400 | missing_offer_link_offer_id | An entry in offer_links is missing the required offer_id field. |
| 401 | unauthorized | API key is missing or invalid. |
| 404 | not_found | No creative exists with the given ID. |
| 400 | offer_not_found | An offer referenced in offer_links does not exist or does not belong to your account. |