[][src]Struct google_adexchangebuyer1d4::CreativeNativeAd

pub struct CreativeNativeAd {
    pub body: Option<String>,
    pub advertiser: Option<String>,
    pub video_url: Option<String>,
    pub headline: Option<String>,
    pub image: Option<CreativeNativeAdImage>,
    pub star_rating: Option<f64>,
    pub click_tracking_url: Option<String>,
    pub call_to_action: Option<String>,
    pub app_icon: Option<CreativeNativeAdAppIcon>,
    pub logo: Option<CreativeNativeAdLogo>,
    pub price: Option<String>,
    pub impression_tracking_url: Option<Vec<String>>,
    pub click_link_url: Option<String>,
}

If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)

This type is not used in any activity, and only used as part of another schema.

Fields

body: Option<String>

A long description of the ad.

advertiser: Option<String>

no description provided

video_url: Option<String>

The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.

headline: Option<String>

A short title for the ad.

image: Option<CreativeNativeAdImage>

A large image.

star_rating: Option<f64>

The app rating in the app store. Must be in the range [0-5].

click_tracking_url: Option<String>

The URL to use for click tracking.

call_to_action: Option<String>

A label for the button that the user is supposed to click.

app_icon: Option<CreativeNativeAdAppIcon>

The app icon, for app download ads.

A smaller image, for the advertiser logo.

price: Option<String>

The price of the promoted app including the currency info.

impression_tracking_url: Option<Vec<String>>

The URLs are called when the impression is rendered.

click_link_url: Option<String>

The URL that the browser/SDK will load when the user clicks the ad.

Trait Implementations

impl Clone for CreativeNativeAd[src]

impl Debug for CreativeNativeAd[src]

impl Default for CreativeNativeAd[src]

impl<'de> Deserialize<'de> for CreativeNativeAd[src]

impl NestedType for CreativeNativeAd[src]

impl Part for CreativeNativeAd[src]

impl Serialize for CreativeNativeAd[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any