Enum openrtb2::CreativeAttribute
source · #[repr(i32)]
pub enum CreativeAttribute {
Show 17 variants
AudioAd_AutoPlay,
AudioAd_UserInitiated,
Expandable_Automatic,
Expandable_UserInitiated_Click,
Expandable_UserInitiated_Rollover,
InBannerVideoAd_AutoPlay,
InBannerVideoAd_UserInitiated,
Pop,
ProvocativeOrSuggestiveImagery,
Annoying,
Surveys,
TextOnly,
UserInteractive,
WindowsDialogOrAlertStyle,
HasAudioOnOffButton,
AdProvidesSkipButton,
AdobeFlash,
}
Expand description
5.3 Creative Attributes
The following table specifies a standard list of creative attributes that can describe an ad being served or serve as restrictions of thereof.
Variants§
AudioAd_AutoPlay
Audio Ad (Auto-Play)
AudioAd_UserInitiated
Audio Ad (User Initiated)
Expandable_Automatic
Expandable (Automatic)
Expandable_UserInitiated_Click
Expandable (User Initiated - Click)
Expandable_UserInitiated_Rollover
Expandable (User Initiated - Rollover)
InBannerVideoAd_AutoPlay
In-Banner Video Ad (Auto-Play)
InBannerVideoAd_UserInitiated
In-Banner Video Ad (User Initiated)
Pop
Pop (e.g., Over, Under, or Upon Exit)
ProvocativeOrSuggestiveImagery
Provocative or Suggestive Imagery
Annoying
Shaky, Flashing, Flickering, Extreme Animation, Smileys
Surveys
Surveys
TextOnly
Text Only
UserInteractive
User Interactive (e.g., Embedded Games)
WindowsDialogOrAlertStyle
Windows Dialog or Alert Style
HasAudioOnOffButton
Has Audio On/Off Button
AdProvidesSkipButton
Ad Provides Skip Button (e.g. VPAID-rendered skip button on pre-roll video)
AdobeFlash
Adobe Flash
Trait Implementations§
source§impl Clone for CreativeAttribute
impl Clone for CreativeAttribute
source§fn clone(&self) -> CreativeAttribute
fn clone(&self) -> CreativeAttribute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreativeAttribute
impl Debug for CreativeAttribute
source§impl<'de> Deserialize<'de> for CreativeAttribute
impl<'de> Deserialize<'de> for CreativeAttribute
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>,
Deserialize this value from the given Serde deserializer. Read more