[−][src]Enum openrtb_native1::ImageAssetType
7.5 Image Asset Types
Below is a list of common image asset element types of native advertising at the time of writing this spec. This list is non-exhaustive and intended to be extended by the buyers and sellers as the format evolves.
An implementing exchange may not support all asset variants or may introduce new ones unique to that system.
In order to facilitate adoption, recommendations are made for both minimum sizes and aspect ratios. We speak here of 'minimum maximum height' or ‘max height of at least’, which means the SSP should support a max height of at least this value. They are free to support larger, but the DSP knows that if they have an image of this size it will be accepted. Note that SSPs will be responsible for sizing image to exact size if min-max- height framework is used; exact size may not be available at bid request time. Width is calculated from the 3 supported aspect ratios. Note we merged the prior overlapping type 1 and type 2 as just type 1 - to be used for app icon, brand logo, or similar.
Variants
Icon image. optional; -; -; max height: at least 50, aspect ratio: 1:1
Please use the Icon variant instead
Logo image for the brand/app.
Large image preview for the ad. At least one of 2 size variants required: Small Variant: max height: 200+, max width: 200+, 267, or 382, aspect ratio: 1:1, 4:3, or 1.91:1. Large Variant: max height: 627+, max width: 627+, 836, or 1198, aspect ratio: 1:1, 4:3, or 1.91:1.
ExchangeSpecific(i32)Reserved for Exchange specific usage numbered above 500
Trait Implementations
impl Clone for ImageAssetType[src]
pub fn clone(&self) -> ImageAssetType[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ImageAssetType[src]
impl Debug for ImageAssetType[src]
impl<'de> Deserialize<'de> for ImageAssetType[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl Eq for ImageAssetType[src]
impl PartialEq<ImageAssetType> for ImageAssetType[src]
pub fn eq(&self, other: &ImageAssetType) -> bool[src]
pub fn ne(&self, other: &ImageAssetType) -> bool[src]
impl Serialize for ImageAssetType[src]
impl StructuralEq for ImageAssetType[src]
impl StructuralPartialEq for ImageAssetType[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageAssetType
impl Send for ImageAssetType
impl Sync for ImageAssetType
impl Unpin for ImageAssetType
impl UnwindSafe for ImageAssetType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,