Struct openrtb::v2_5::Video

source ·
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>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.