Skip to content

Bulk update video creatives

Request

Update a set of video creatives (bulk update) - V3

Bodyapplication/json

List of creative objects to update

creativesArray of objects(PatchCreativeUpdate)required
curl -i -X PATCH \
  https://api.mediamath.com/v3.0/creatives/bulk \
  -H 'Content-Type: application/json' \
  -d '{
    "creatives": [
      {
        "id": 0,
        "active": true,
        "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",
        "customVASTExtensionXML": "string",
        "clockNumber": "string"
      }
    ]
  }'

Responses

Bulk creatives updated successfully

Bodyapplication/json
dataArray of objects(CreativeDetailsResponse)
errorsobject(ErrorInfoList)
metaobject(BulkResponseMeta)
statusobject(Status)
Response
{ "data": [ { … } ], "errors": { "field_error": [ … ] }, "meta": { "status": "string", "count": 0 }, "status": { "code": "string", "message": "string" } }