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 — typed and limited exactly as a Local Video's videoFileUrl.

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 — typed and limited exactly as a Local Video's videoFileUrl. Where the network compresses video creatives (the list's options.compressionEnabled), 'scaleTo' picks the renditions to make from it (ORIGINAL, _1080P, _720P, _480P, _360P, _320P, _240P; ORIGINAL when none); a resolution larger than the file is not made (it is named in 'skippedScales'), and an ORIGINAL that is already H.264 MP4 within the size limit is stored as it is. Otherwise the file is stored as uploaded. The network's video size limit applies to every stored file. 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, downloaded once; used when no file is sent

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

scaleTo array<string>

Renditions to make where the network compresses video creatives; one larger than the file is skipped

_720P

Body

A multipart form: file (file).

Responses

200

As the list, plus created:[ids] and skippedScales:[names]; 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 (errors.url says why), 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.