Update a Creative
Updates the name, the description, or both, of a Creative. A field that the body leaves out does not change. A Variation has its own update, which changes only its Placement.
/library/creatives/{creativeId}AuthorizationBearer token · headerrequiredSend Authorization: Bearer <credential>.
Use an API key (acr_…), from the AdCrunch console under Settings → API keys.
The credential names the organization, and no operation takes an organization parameter.
See https://docs.adcrunch.dev/api/authentication.
creativeIdstringrequiredThe Creative id.
application/jsondescriptionstring | nullThe new description, up to 1000 characters. AdCrunch trims it. Send null or an empty string to remove the description. Leave it out to keep it.
namestring | nullThe new name. AdCrunch trims it. Send null or an empty string to remove the name. Leave it out to keep it.
The Creative, with its new name and description, and the count of its Variations.
createdAtnumberrequiredMilliseconds since the Unix epoch, UTC.
createdBystringrequiredThe user who created the Creative.
deletedAtnumber | nullrequiredAlways null here. A deleted Creative is not answered.
descriptionstring | nullrequiredA free text about the Creative. null when nobody wrote one. There is no fallback text.
idstringrequiredThe id of the Creative, crv_….
namestring | nullrequiredThe name a person gave the Creative. null when nobody named it. There is no fallback name.
organizationIdstringrequiredThe organization that owns the Creative.
updatedAtnumber | nullrequiredWhen the Creative last changed, in milliseconds since the Unix epoch, UTC. null until its first update.
variationCountnumberrequiredHow many live Variations the Creative holds. The read of one Creative holds the first page of them, and the list of the Variations of the Creative gives each page.
The request does not match the schema of this operation: a field is missing or has the wrong type, or the body is not valid JSON. error is invalid_request, and issues names each field. Nothing was changed.
issuesobject[]requiredOne entry for each field that does not match.
Show propertiesHide properties
objectinstringrequiredThe part of the request that holds the field.
bodycookieheadersparamsquerymessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
pathstringrequiredA JSON Pointer into that part of the request, such as /filename. An empty string is the whole part.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
invalid_requestmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
No API key, or one that does not resolve. See the security scheme. error is unauthorized.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
unauthorizedmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
The organization has no active subscription. An owner subscribes at paywallUrl. error is organization_unentitled.
paywallUrlstring<uri>requiredThe page where an owner of the organization subscribes. Show it to the person.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
organization_unentitledmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
The caller does not hold library:write. error is forbidden.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
forbiddenmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
No Creative with that id in this organization. A deleted Creative answers this too. error is not_found.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
messagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.