pub struct ActiveViewVideoViewabilityMetricConfig {
pub display_name: Option<String>,
pub minimum_duration: Option<String>,
pub minimum_quartile: Option<String>,
pub minimum_viewability: Option<String>,
pub minimum_volume: Option<String>,
}
Expand description
Configuration for custom Active View video viewability metrics.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>
Required. The display name of the custom metric.
minimum_duration: Option<String>
The minimum visible video duration required (in seconds) in order for an impression to be recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first).
minimum_quartile: Option<String>
The minimum visible video duration required, based on the video quartiles, in order for an impression to be recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first).
minimum_viewability: Option<String>
Required. The minimum percentage of the video ad’s pixels visible on the screen in order for an impression to be recorded.
minimum_volume: Option<String>
Required. The minimum percentage of the video ad’s volume required in order for an impression to be recorded.
Trait Implementations§
Source§impl Clone for ActiveViewVideoViewabilityMetricConfig
impl Clone for ActiveViewVideoViewabilityMetricConfig
Source§fn clone(&self) -> ActiveViewVideoViewabilityMetricConfig
fn clone(&self) -> ActiveViewVideoViewabilityMetricConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ActiveViewVideoViewabilityMetricConfig
impl Default for ActiveViewVideoViewabilityMetricConfig
Source§fn default() -> ActiveViewVideoViewabilityMetricConfig
fn default() -> ActiveViewVideoViewabilityMetricConfig
Source§impl<'de> Deserialize<'de> for ActiveViewVideoViewabilityMetricConfig
impl<'de> Deserialize<'de> for ActiveViewVideoViewabilityMetricConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for ActiveViewVideoViewabilityMetricConfig
Auto Trait Implementations§
impl Freeze for ActiveViewVideoViewabilityMetricConfig
impl RefUnwindSafe for ActiveViewVideoViewabilityMetricConfig
impl Send for ActiveViewVideoViewabilityMetricConfig
impl Sync for ActiveViewVideoViewabilityMetricConfig
impl Unpin for ActiveViewVideoViewabilityMetricConfig
impl UnwindSafe for ActiveViewVideoViewabilityMetricConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more