Skip to content

Bulk create video creatives

Request

Create a set of video creatives (bulk upload) - V3

Bodyapplication/json

List of creative objects to create

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

Responses

Bulk creatives created 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" } }