/
Preview creative assets b...
This endpoint allows you to preview creative assets before they are permanently uploaded to the system. It validates the files and metadata, returning a preview of what will be created without actually storing the creatives. This is useful for verifying that your files and metadata are correct before committing to the upload.
Security
Auth0(Required scopes: offline_accessmanage:services)
POST
- Single image preview request
- Multiple images preview request
- HTML5 creative (zip) preview request - backup can be omitted if it has the same filename as main file (interactive_ad) differing only in extension
curl -i -X POST \
https://api.mediamath.com/api/v3.0/creative_draft \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F 'filename=["banner_300x250.jpg"]' \
-F 'metadata={"advertiser_id":100212,"is_https":true,"submissions":[{"name":"banner_300x250.jpg","click_through_url":"https://example.com/click","landing_page":"https://example.com/landing","concept_id":4157184}]}'Response
- Single image preview
- Multiple images preview
- HTML5 creative preview (zip)
- HTML5 creative upload with non-blocking warnings
{ "data": { "uploaded_files": [ … ], "metadata": { … } }, "meta": { "status": "success" } }