[][src]Struct google_realtimebidding1::NativeContent

pub struct NativeContent {
    pub body: Option<String>,
    pub video_url: Option<String>,
    pub headline: Option<String>,
    pub image: Option<Image>,
    pub star_rating: Option<f64>,
    pub advertiser_name: Option<String>,
    pub price_display_text: Option<String>,
    pub call_to_action: Option<String>,
    pub app_icon: Option<Image>,
    pub logo: Option<Image>,
    pub click_tracking_url: Option<String>,
    pub click_link_url: Option<String>,
}

Native content for a creative.

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.

video_url: Option<String>

The URL to fetch a native video ad.

headline: Option<String>

A short title for the ad.

image: Option<Image>

A large image.

star_rating: Option<f64>

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

advertiser_name: Option<String>

The name of the advertiser or sponsor, to be displayed in the ad creative.

price_display_text: Option<String>

The price of the promoted app including currency info.

call_to_action: Option<String>

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

app_icon: Option<Image>

The app icon, for app download ads.

A smaller image, for the advertiser's logo.

click_tracking_url: Option<String>

The URL to use for click tracking.

click_link_url: Option<String>

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

Trait Implementations

impl Clone for NativeContent[src]

impl Debug for NativeContent[src]

impl Default for NativeContent[src]

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

impl Part for NativeContent[src]

impl Serialize for NativeContent[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