Browse the help center

Add a media library video to an Advanced Local Video(s) banner

Adds a media library video to the banner's video files.

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

Adds a media library video to the banner's video files. The file is referenced, not copied, so deleting the row later leaves the library file in place. A video the banner already has is not added again: 'created' is then empty and 'alreadyAdded' names its row. Needs the Advanced Local Video(s) and Media Library permissions and update rights on the banner's advertiser; the file must be one the user can see in the library.

Path Params

bannerId integer required

Advanced Local Video(s) banner id

5001

Form Params

mediaAssetId integer required

Media library video id

42

Responses

200

{bannerId, created:[id], alreadyAdded, total, mediaFiles:[…]}

400

The file is not a video, not an Advanced Local Video(s) banner, or the file storage service is switched off

401

Authentication error

403

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

404

The banner, or the library file, does not exist or is not visible

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.