[][src]Struct google_adsense1d4::AdUnit

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

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

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.

kind: Option<String>

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

code: Option<String>

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

name: Option<String>

Name of this ad unit.

feed_ads_settings: Option<AdUnitFeedAdsSettings>

Settings specific to feed ads (AFF) - deprecated.

saved_style_id: Option<String>

ID of the saved ad style which holds this ad unit's style information.

content_ads_settings: Option<AdUnitContentAdsSettings>

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

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.

mobile_content_ads_settings: Option<AdUnitMobileContentAdsSettings>

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

custom_style: Option<AdStyle>

Custom style information specific to this ad unit.

Trait Implementations

impl Resource for AdUnit[src]

impl ResponseResult for AdUnit[src]

impl Default for AdUnit[src]

impl Clone for AdUnit[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AdUnit[src]

impl Serialize for AdUnit[src]

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

Auto Trait Implementations

impl Send for AdUnit

impl Unpin for AdUnit

impl Sync for AdUnit

impl UnwindSafe for AdUnit

impl RefUnwindSafe for AdUnit

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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