pub struct Video {Show 14 fields
pub mimes: Vec<String>,
pub minduration: Option<u32>,
pub maxduration: Option<u32>,
pub protocols: Vec<u32>,
pub w: Option<u32>,
pub h: Option<u32>,
pub placement: Option<u32>,
pub linearity: Option<u32>,
pub battr: Vec<u64>,
pub minbitrate: Option<u32>,
pub maxbitrate: Option<u32>,
pub boxingallowed: Option<u32>,
pub playbackmethod: Vec<u32>,
pub ext: Option<Ext>,
}
Expand description
This object represents an in-stream video impression.
Fields§
§mimes: Vec<String>
Content MIME types supported (e.g., “video/x-ms-wmv”,“video/mp4”).
minduration: Option<u32>
Minimum video ad duration in seconds.
maxduration: Option<u32>
Maximum video ad duration in seconds.
protocols: Vec<u32>
Array of supported video protocols.
w: Option<u32>
Width of the video player in device independent pixels (DIPS).
h: Option<u32>
Height of the video player in device independent pixels (DIPS).
placement: Option<u32>
Placement type for the impression:
-
1: In-Stream
Played before, during or after the streaming video content that the consumer has requested (e.g., Pre-roll, Mid-roll, Post-roll).
-
2: In-Banner
Exists within a web banner that leverages the banner space to deliver a video experience as opposed to another static or rich media format. The format relies on the existence of display ad inventory on the page for its delivery.
-
3: In-Article
Loads and plays dynamically between paragraphs of editorial content; existing as a standalone branded message.
-
4: In-Feed
Found in content, social, or product feeds.
-
5: Interstitial/Slider/Floating
Covers the entire or a portion of screen area, but is always on screen while displayed (i.e. cannot be scrolled out of view). Note that a full-screen interstitial (e.g., in mobile) can be distinguished from a floating/slider unit by the
imp.instl
field
linearity: Option<u32>
Indicates if the impression must be linear, nonlinear, etc.
battr: Vec<u64>
Blocked creative attributes.
minbitrate: Option<u32>
Minimum bit rate in Kbps.
maxbitrate: Option<u32>
Maximum bit rate in Kbps.
boxingallowed: Option<u32>
Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed, where 0 = no, 1 = yes.
playbackmethod: Vec<u32>
Playback methods that may be in use. If none are specified, any method may be used.
ext: Option<Ext>