Enum openrtb_native1::PlacementType
source · pub enum PlacementType {
InFeed,
AtomicUnit,
Outside,
Recommendation,
ExchangeSpecific(i32),
}
Expand description
7.3 Placement Type IDs
The FORMAT of the ad you are purchasing, separate from the surrounding context
Variants§
InFeed
In the feed of content - for example as an item inside the organic feed/grid/listing/carousel.
AtomicUnit
In the atomic unit of the content - IE in the article page or single image page.
Outside
Outside the core content - for example in the ads section on the right rail, as a banner-style placement near the content, etc.
Recommendation
Recommendation widget, most commonly presented below the article content.
ExchangeSpecific(i32)
To be defined by the exchange
Trait Implementations§
source§impl Clone for PlacementType
impl Clone for PlacementType
source§fn clone(&self) -> PlacementType
fn clone(&self) -> PlacementType
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 PlacementType
impl Debug for PlacementType
source§impl<'de> Deserialize<'de> for PlacementType
impl<'de> Deserialize<'de> for PlacementType
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