- Create companion ad - V3
Bulk create video creatives
Bulk update video creatives
Create a new video creative
Bulk get creatives by IDs
Get creative details
Update video creative (full update)
Update video creative (partial update)
Validate VAST XML - V3
List history for a creative - V3
Delete history entry for creative - V3
Get all companions - V3
Get specific companion - V3
Update companion - V3
Delete companion - V3
Create companion ad - V3
Post new companion details and receive the new companion ID. Regenerates the creative's MetaVAST document after the companion is created.
- https://api.mediamath.comhttps://api.mediamath.com/v3.0/creatives/{creativeId}/companions
curl -i -X POST \
'https://api.mediamath.com/v3.0/creatives/{creativeId}/companions' \
-H 'Content-Type: application/json' \
-d '{
"details": {
"adServer": "string",
"typ": "static",
"width": 32,
"height": 32,
"landingUrl": "string",
"iFrameUrlOrHTML": "string",
"clickthroughUrl": "string"
},
"fileExtension": "string",
"fileName": "string",
"resourceUrl": "string",
"resourceData": "string"
}'Response
{ "companionId": 0 }