Enum openrtb2::BannerAdType
source · #[repr(i32)]
pub enum BannerAdType {
XhtmlTextAd,
XhtmlBannerAd,
JavaScriptAd,
Iframe,
}
Expand description
5.2 Banner Ad Types
The following table indicates the types of ads that can be accepted by the exchange unless restricted by publisher site settings.
Variants§
XhtmlTextAd
XHTML Text Ad (usually mobile)
XhtmlBannerAd
XHTML Banner Ad. (usually mobile)
JavaScriptAd
JavaScript Ad; must be valid XHTML (i.e., Script Tags Included)
Iframe
iframe
Trait Implementations§
source§impl Clone for BannerAdType
impl Clone for BannerAdType
source§fn clone(&self) -> BannerAdType
fn clone(&self) -> BannerAdType
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 BannerAdType
impl Debug for BannerAdType
source§impl<'de> Deserialize<'de> for BannerAdType
impl<'de> Deserialize<'de> for BannerAdType
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