There are three ways to create a Video Asset File, depending on what is available to you
1. VAST Code
If you have a VAST code already, send it via source
parameter, and sendsubtype=vast_code
to Create Asset File endpoint.
2. VAST URL
For VAST URL, send it via url
parameter and send subtype=vast_url
to Create Asset File endpoint.
3. A public URL to a video file or a local video file
- If you don’t have a public URL, upload the file using our File Upload API
- Send the public URL as
url
parameter, sendsubtype=upload
alongsidewidth
,height
,mime
andduration
parameters to Create Asset File API endpoint.