Enum openrtb_native1::ContextType
source · pub enum ContextType {
Content,
Social,
Product,
ExchangeSpecific(i32),
}
Expand description
7.1 Context Type IDs
The context in which the ad appears - what type of content is surrounding the ad on the page at a high level. This maps directly to the new Deep Dive on In-Feed Ad Units. This denotes the primary context, but does not imply other content may not exist on the page - for example it’s expected that most content platforms have some social components, etc.
Variants§
Content
Content-centric context such as newsfeed, article, image gallery, video gallery, or similar.
Social
Social-centric context such as social network feed, email, chat, or similar.
Product
Product context such as product listings, details, recommendations, reviews, or similar.
ExchangeSpecific(i32)
To be defined by the exchange.
Trait Implementations§
source§impl Clone for ContextType
impl Clone for ContextType
source§fn clone(&self) -> ContextType
fn clone(&self) -> ContextType
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 ContextType
impl Debug for ContextType
source§impl<'de> Deserialize<'de> for ContextType
impl<'de> Deserialize<'de> for ContextType
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