List an Advanced Local Video(s) banner's video files
The video files (renditions) the banner's VAST offers, in the order they are served: highest bitrate first, then widest.
https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}/vast/media-files.do The video files (renditions) the banner's VAST offers, in the order they are served: highest bitrate first, then widest. The first row ('servedFirst') is the file a stitcher transcodes from and the one served as the mezzanine; it is also the file a site's video requirements are checked against. 'source' says how a file came: UPLOAD, LINK (downloaded once from 'sourceUrl') or LIBRARY (a media library file, 'mediaAssetId'; referenced, not copied). 'facts' are what was read from the file; a file stored before facts were read has only its size, bitrate, duration and type ('probed' false). 'options' tells an editor whether lower resolutions are made from an upload ('compressionEnabled'; otherwise every file is stored as uploaded and 'scaleTo' is ignored), which ones ('scales'), and the size limit each file is held to; 'editable' is whether the caller may add or delete files. Needs the Advanced Local Video(s) permission and view rights on the banner's advertiser.
Path Params
bannerId integer required
Advanced Local Video(s) banner id
5001 Responses
200
{bannerId, total, editable, options:{compressionEnabled, scales, maxFileSizeBytes}, mediaFiles:[{id, fileName, width, height, bitrate, duration, contentType, mediaAssetId, source, sourceUrl, url, servedFirst, facts:{width, height, durationSeconds, videoBitrateKbps, frameRate, constantFrameRate, videoCodec, container, contentType, audioCodec, audioBitrateKbps, audioChannels, audioSampleRate, fileSizeBytes, loudnessLkfs, probed}}]}
400
The banner is not an Advanced Local Video(s) banner
401
Authentication error
403
The Advanced Local Video(s) permission is off, or no view rights on the banner
404
The banner does not exist or is deleted