Browse the help center

Upload a video file to an Advanced Local Video(s) banner

Adds a video to the banner's video files, as the console's Video files grid does: a multipart 'file', or a public http(s) 'url' the server downloads once.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}/vast/media-files.do

Adds a video to the banner's video files, as the console's Video files grid does: a multipart 'file', or a public http(s) 'url' the server downloads once. Where the network compresses video creatives, 'scaleTo' picks the renditions to store (ORIGINAL, _1080P, _720P, _480P, _360P, _320P, _240P; ORIGINAL when none); otherwise the file is stored as uploaded. The network's video size limit applies. Needs the Advanced Local Video(s) permission and update rights on the banner's advertiser. Answers with the banner's video files and the ids of the new ones.

Path Params

bannerId integer required

Advanced Local Video(s) banner id

5001

Query Params

url string

Public http(s) link to the video; used when no file is sent

https://cdn.northwind.example/spring_30.mp4

scaleTo array<string>

Renditions to store where the network compresses video creatives

_720P

Body

A multipart form: file (file).

Responses

200

{bannerId, created:[ids], total, mediaFiles:[…]}; a rendition that failed while others were stored is named in 'msg'

400

No file or url, an unsupported or unreadable video, a refused link, or not an Advanced Local Video(s) banner

401

Authentication error

403

The Advanced Local Video(s) permission is off, or no update rights on the banner

404

The banner does not exist or is deleted

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.