[−][src]Struct openrtb2::App
3.2.14 Object: App
This object should be included if the ad supported content is a non-browser application (typically in mobile) as opposed to a website. A bid request must not contain both an App and a Site object. At a minimum, it is useful to provide an App ID or bundle, but this is not strictly required.
Fields
id: Option<Cow<'a, str>>
string; recommended Exchange-specific app ID.
name: Option<Cow<'a, str>>
string App name (may be aliased at the publisher’s request).
bundle: Option<Cow<'a, str>>
string A platform-specific application identifier intended to be unique to the app and independent of the exchange. On Android, this should be a bundle or package name (e.g., com.foo.mygame). On iOS, it is typically a numeric ID.
domain: Option<Cow<'a, str>>
string Domain of the app (e.g., “mygame.foo.com”).
storeurl: Option<Cow<'a, str>>
string App store URL for an installed app; for IQG 2.1 compliance.
cat: Option<Vec<ContentCategory>>
string array Array of IAB content categories of the app. Refer to List 5.1.
sectioncat: Option<Vec<ContentCategory>>
string array Array of IAB content categories that describe the current section of the app. Refer to List 5.1.
pagecat: Option<Vec<ContentCategory>>
string array Array of IAB content categories that describe the current page or view of the app. Refer to List 5.1.
ver: Option<Cow<'a, str>>
string Application version.
privacypolicy: Option<bool>
integer Indicates if the app has a privacy policy, where 0 = no, 1 = yes.
paid: Option<bool>
integer 0 = app is free, 1 = the app is a paid version.
publisher: Option<Publisher<'a>>
object Details about the Publisher (Section 3.2.15) of the app.
content: Option<Content<'a>>
object Details about the Content (Section 3.2.16) within the app.
keywords: Option<Cow<'a, str>>
string Comma separated list of keywords about the app.
ext: Option<Object<'a>>
object Placeholder for exchange-specific extensions to OpenRTB.
Trait Implementations
impl<'a> Clone for App<'a>
[src]
impl<'a> Debug for App<'a>
[src]
impl<'a> Default for App<'a>
[src]
impl<'de: 'a, 'a> Deserialize<'de> for App<'a>
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'a> PartialEq<App<'a>> for App<'a>
[src]
impl<'a> Serialize for App<'a>
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'a> StructuralPartialEq for App<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for App<'a>
impl<'a> Send for App<'a>
impl<'a> Sync for App<'a>
impl<'a> Unpin for App<'a>
impl<'a> UnwindSafe for App<'a>
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> DefaultExt for T where
T: Default + PartialEq<T>,
[src]
T: Default + PartialEq<T>,
pub fn is_default(&self) -> bool
[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>,