Struct google_adexchangebuyer1d3::api::PretargetingConfig
source · pub struct PretargetingConfig {Show 24 fields
pub billing_id: Option<i64>,
pub config_id: Option<i64>,
pub config_name: Option<String>,
pub creative_type: Option<Vec<String>>,
pub dimensions: Option<Vec<PretargetingConfigDimensions>>,
pub excluded_content_labels: Option<Vec<i64>>,
pub excluded_geo_criteria_ids: Option<Vec<i64>>,
pub excluded_placements: Option<Vec<PretargetingConfigExcludedPlacements>>,
pub excluded_user_lists: Option<Vec<i64>>,
pub excluded_verticals: Option<Vec<i64>>,
pub geo_criteria_ids: Option<Vec<i64>>,
pub is_active: Option<bool>,
pub kind: Option<String>,
pub languages: Option<Vec<String>>,
pub maximum_qps: Option<i64>,
pub mobile_carriers: Option<Vec<i64>>,
pub mobile_devices: Option<Vec<i64>>,
pub mobile_operating_system_versions: Option<Vec<i64>>,
pub placements: Option<Vec<PretargetingConfigPlacements>>,
pub platforms: Option<Vec<String>>,
pub supported_creative_attributes: Option<Vec<i64>>,
pub user_lists: Option<Vec<i64>>,
pub vendor_types: Option<Vec<i64>>,
pub verticals: Option<Vec<i64>>,
}
Expand description
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).
- get pretargeting config (response)
- insert pretargeting config (request|response)
- patch pretargeting config (request|response)
- update pretargeting config (request|response)
Fields§
§billing_id: Option<i64>
The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
config_id: Option<i64>
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<i64>>
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<i64>>
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<i64>>
Requests containing any of these users list ids will not match.
excluded_verticals: Option<Vec<i64>>
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<i64>>
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<i64>
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<i64>>
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<i64>>
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<i64>>
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<i64>>
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<i64>>
Requests containing any of these user list ids will match.
vendor_types: Option<Vec<i64>>
Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
verticals: Option<Vec<i64>>
Requests containing any of these vertical ids will match.
Trait Implementations§
source§impl Clone for PretargetingConfig
impl Clone for PretargetingConfig
source§fn clone(&self) -> PretargetingConfig
fn clone(&self) -> PretargetingConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more