pub struct Video {
pub mimes: Vec<String>,
pub minduration: i32,
pub maxduration: i32,
pub protocols: Vec<Protocol>,
pub ext: Option<Map<String, Value>>,
}Expand description
4.5 Video Request Object
The video object to be used for all video elements supported in the Native Ad. This corresponds to the Video object of OpenRTB. Exchange implementers can impose their own specific restrictions. Here are the required attributes of the Video Object. For optional attributes please refer to OpenRTB.
Fields§
§mimes: Vec<String>required; array of string; - Content MIME types supported. Popular MIME types include, but are not limited to “video/x-ms- wmv” for Windows Media, and “video/x-flv” for Flash Video, or “video/mp4”. Note that native frequently does not support flash.
minduration: i32required; integer; - Minimum video ad duration in seconds.
maxduration: i32required; integer; - Maximum video ad duration in seconds.
protocols: Vec<Protocol>required; array of integer; - An array of video protocols the publisher can accept in the bid response. See OpenRTB Table ‘Video Bid Response Protocols’ for a list of possible values.
ext: Option<Map<String, Value>>optional; object; - This object is a placeholder that may contain custom JSON agreed to by the parties to support flexibility beyond the standard defined in this specification.