Struct google_adexchangebuyer1d3::api::PretargetingConfig[][src]

pub struct PretargetingConfig {
    pub billing_id: Option<String>,
    pub config_id: Option<String>,
    pub config_name: Option<String>,
    pub creative_type: Option<Vec<String>>,
    pub dimensions: Option<Vec<PretargetingConfigDimensions>>,
    pub excluded_content_labels: Option<Vec<String>>,
    pub excluded_geo_criteria_ids: Option<Vec<String>>,
    pub excluded_placements: Option<Vec<PretargetingConfigExcludedPlacements>>,
    pub excluded_user_lists: Option<Vec<String>>,
    pub excluded_verticals: Option<Vec<String>>,
    pub geo_criteria_ids: Option<Vec<String>>,
    pub is_active: Option<bool>,
    pub kind: Option<String>,
    pub languages: Option<Vec<String>>,
    pub maximum_qps: Option<String>,
    pub mobile_carriers: Option<Vec<String>>,
    pub mobile_devices: Option<Vec<String>>,
    pub mobile_operating_system_versions: Option<Vec<String>>,
    pub placements: Option<Vec<PretargetingConfigPlacements>>,
    pub platforms: Option<Vec<String>>,
    pub supported_creative_attributes: Option<Vec<String>>,
    pub user_lists: Option<Vec<String>>,
    pub vendor_types: Option<Vec<String>>,
    pub verticals: Option<Vec<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

billing_id: Option<String>

The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.

config_id: Option<String>

The config id; generated automatically. Leave this field blank for insert requests.

config_name: Option<String>

The name of the config. Must be unique. Required for all requests.

creative_type: Option<Vec<String>>

List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.

dimensions: Option<Vec<PretargetingConfigDimensions>>

Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.

excluded_content_labels: Option<Vec<String>>

Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.

excluded_geo_criteria_ids: Option<Vec<String>>

Requests containing any of these geo criteria ids will not match.

excluded_placements: Option<Vec<PretargetingConfigExcludedPlacements>>

Requests containing any of these placements will not match.

excluded_user_lists: Option<Vec<String>>

Requests containing any of these users list ids will not match.

excluded_verticals: Option<Vec<String>>

Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.

geo_criteria_ids: Option<Vec<String>>

Requests containing any of these geo criteria ids will match.

is_active: Option<bool>

Whether this config is active. Required for all requests.

kind: Option<String>

The kind of the resource, i.e. “adexchangebuyer#pretargetingConfig”.

languages: Option<Vec<String>>

Request containing any of these language codes will match.

maximum_qps: Option<String>

The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).

mobile_carriers: Option<Vec<String>>

Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.

mobile_devices: Option<Vec<String>>

Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.

mobile_operating_system_versions: Option<Vec<String>>

Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.

placements: Option<Vec<PretargetingConfigPlacements>>

Requests containing any of these placements will match.

platforms: Option<Vec<String>>

Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.

supported_creative_attributes: Option<Vec<String>>

Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.

user_lists: Option<Vec<String>>

Requests containing any of these user list ids will match.

vendor_types: Option<Vec<String>>

Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.

verticals: Option<Vec<String>>

Requests containing any of these vertical ids will match.

Trait Implementations

impl Clone for PretargetingConfig[src]

impl Debug for PretargetingConfig[src]

impl Default for PretargetingConfig[src]

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

impl RequestValue for PretargetingConfig[src]

impl ResponseResult for PretargetingConfig[src]

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