Struct google_adsensehost4d1::api::AdUnit[][src]

pub struct AdUnit {
    pub code: Option<String>,
    pub content_ads_settings: Option<AdUnitContentAdsSettings>,
    pub custom_style: Option<AdStyle>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub mobile_content_ads_settings: Option<AdUnitMobileContentAdsSettings>,
    pub name: Option<String>,
    pub status: Option<String>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

code: Option<String>

Identity code of this ad unit, not necessarily unique across ad clients.

content_ads_settings: Option<AdUnitContentAdsSettings>

Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).

custom_style: Option<AdStyle>

Custom style information specific to this ad unit.

id: Option<String>

Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.

kind: Option<String>

Kind of resource this is, in this case adsensehost#adUnit.

mobile_content_ads_settings: Option<AdUnitMobileContentAdsSettings>

Settings specific to WAP mobile content ads (AFMC - deprecated).

name: Option<String>

Name of this ad unit.

status: Option<String>

Status of this ad unit. Possible values are: NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it.

ACTIVE: Indicates that there has been activity on this ad unit in the last seven days.

INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.

Trait Implementations

impl Clone for AdUnit[src]

impl Debug for AdUnit[src]

impl Default for AdUnit[src]

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

impl RequestValue for AdUnit[src]

impl ResponseResult for AdUnit[src]

impl Serialize for AdUnit[src]

Auto Trait Implementations

impl RefUnwindSafe for AdUnit[src]

impl Send for AdUnit[src]

impl Sync for AdUnit[src]

impl Unpin for AdUnit[src]

impl UnwindSafe for AdUnit[src]

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> Instrument 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.