Enum openrtb_native1::DataAssetType
source · pub enum DataAssetType {
Show 13 variants
Sponsored,
Desc,
Rating,
Likes,
Downloads,
Price,
SalePrice,
Phone,
Address,
Desc2,
DisplayUrl,
CtaText,
ExchangeSpecific(i32),
}
Expand description
7.4 Data Asset Types
Below is a list of common 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 introduce new ones unique to that system.
Variants§
Sponsored
Sponsored By message where response should contain the brand name of the sponsor. required; text; -; Max 25 or longer
Desc
Descriptive text associated with the product or service being advertised. Longer length of text in response may be truncated or ellipsed by the exchange. recommended; text; -; Max 25 or longer
Rating
Rating of the product being offered to the user. For example an app’s rating in an app store from 0-5. optional; number formatted as string; -; 0-5 integer formatted as string
Likes
Number of social ratings or “likes” of the product being offered to the user. -; number formatted as string;
Downloads
Number downloads/installs of this product. -; number formatted as string;
Price
Price for product / app / in-app purchase. Value should include currency symbol in localised format. -; number formatted as string;
SalePrice
Sale price that can be used together with price to indicate a discounted price compared to a regular price. Value should include currency symbol in localised format. -; number formatted as string;
Phone
Phone number. -; formatted string
Address
Address. -; text
Desc2
Additional descriptive text associated text with the product or service being advertised. -; text
DisplayUrl
Display URL for the text ad. To be used when sponsoring entity doesn’t own the content. IE sponsored by BRAND on SITE (where SITE is transmitted in this field). -; text
CtaText
CTA description - descriptive text describing a ‘call to action’ button for the destination URL. optional; text; -; Max 15 or longer
ExchangeSpecific(i32)
Reserved for Exchange specific usage numbered above 500 -; unknown
Trait Implementations§
source§impl Clone for DataAssetType
impl Clone for DataAssetType
source§fn clone(&self) -> DataAssetType
fn clone(&self) -> DataAssetType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more