Skip to content

Update video creative (full update)

Request

Update the video creative - must post all data, any omitted fields will be removed

Path
creativeIdintegerrequired

Creative ID

Bodyapplication/json

Creative update data

activeboolean
Default:false
advertiserinteger, (int64)required

T1 Advertiser ID

namestring, <= 256 charactersrequired
conceptinteger, (int64)

T1 Concept ID

startTimeinteger, (int64)
endTimeinteger, (int64)
clickthroughUrlstring
customVASTstring
customVASTUrlstring
viewabilityTemplatestring
landingUrlstring
eventPixelsArray of objects(EventPixelRequest)
vendorsArray of integers, (int64), unique
vastVersionstring(VASTVersion)
Default:"VAST2"
Enum:"VAST2""VAST3""VAST4"
disabledVariantsArray of integers, unique
externalIdentifierstring, <= 64 characters
clockNumberstring, <= 15 characters
customVASTExtensionXMLstring
curl -i -X POST \
  'https://api.mediamath.com/v3.0/creatives/{creativeId}' \
  -H 'Content-Type: application/json' \
  -d '{
    "active": false,
    "advertiser": 0,
    "name": "string",
    "concept": 0,
    "startTime": 0,
    "endTime": 0,
    "clickthroughUrl": "string",
    "customVAST": "string",
    "customVASTUrl": "string",
    "viewabilityTemplate": "string",
    "landingUrl": "string",
    "eventPixels": [
      {
        "typ": "string",
        "url": "string"
      }
    ],
    "vendors": [
      0
    ],
    "vastVersion": "VAST2",
    "disabledVariants": [
      0
    ],
    "externalIdentifier": "string",
    "clockNumber": "string",
    "customVASTExtensionXML": "string"
  }'

Responses

Creative updated successfully

Bodyapplication/json
object
Response
{}