[][src]Struct google_adexchangebuyer1d4::CreativeServingRestrictions

pub struct CreativeServingRestrictions {
    pub contexts: Option<Vec<CreativeServingRestrictionsContexts>>,
    pub disapproval_reasons: Option<Vec<CreativeServingRestrictionsDisapprovalReasons>>,
    pub reason: Option<String>,
}

The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details.

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

Fields

contexts: Option<Vec<CreativeServingRestrictionsContexts>>

All known contexts/restrictions.

disapproval_reasons: Option<Vec<CreativeServingRestrictionsDisapprovalReasons>>

The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.

reason: Option<String>

Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).

Trait Implementations

impl Clone for CreativeServingRestrictions[src]

impl Debug for CreativeServingRestrictions[src]

impl Default for CreativeServingRestrictions[src]

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

impl NestedType for CreativeServingRestrictions[src]

impl Part for CreativeServingRestrictions[src]

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