Skip to content

Update Component Creative

Request

Update an existing component creative with optional fields. When assets are provided, all previous assets are completely replaced.

Security
BearerAuth
Path
atomic_creative_idintegerrequired

Creative ID

Example:3200795
Bodyapplication/jsonrequired

Creative update request

advertiser_idinteger
assetsstring

JSON string of AssetRequest array

bodystring
brandNamestring
clickThroughUrlstring
clickTrackingUrlstring
concept_idinteger
creative_namestring
descriptionstring
destinationUrlstring
displayUrlstring
end_datestring
external_identifierstring
heightinteger
impressionTrackingTagstring
impressionTrackingUrlstring
start_datestring
statusboolean
titlestring
tpas_ad_tag_namestring
viewabilityTrackingTagstring
widthinteger
curl -i -X PUT \
  https://api.mediamath.com/component_creatives/v3.0/creatives/3200795 \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "advertiser_id": 0,
    "assets": "string",
    "body": "string",
    "brandName": "string",
    "clickThroughUrl": "string",
    "clickTrackingUrl": "string",
    "concept_id": 0,
    "creative_name": "string",
    "description": "string",
    "destinationUrl": "string",
    "displayUrl": "string",
    "end_date": "string",
    "external_identifier": "string",
    "height": 0,
    "impressionTrackingTag": "string",
    "impressionTrackingUrl": "string",
    "start_date": "string",
    "status": true,
    "title": "string",
    "tpas_ad_tag_name": "string",
    "viewabilityTrackingTag": "string",
    "width": 0
  }'

Responses

Component creative updated successfully

Bodyapplication/json
dataobject(models.ComponentCreativeData)

Component Creative object with assets and metadata

metaobject(models.MetaInfo)

Response metadata

Response
{ "data": { "advertiser_id": 0, "advertiser_name": "string", "assets": [ … ], "atomic_creative_id": 0, "clickthrough_url": "string", "concept_id": "string", "concept_name": "string", "creative_id": 0, "creative_name": "string", "end_date": "string", "external_identifier": "string", "fb_status": "string", "feedback": {}, "landing_url": "string", "last_modified": "string", "last_published": "string", "previews": {}, "start_date": "string", "status": true, "unpublished": true }, "meta": { "code": 0, "count": 0, "next_page": "string", "offset": 0, "prev_page": "string", "status": "string", "total_count": 0, "type": "string" } }