pub struct PretargetingConfig {
Show 27 fields 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 minimum_viewability_decile: Option<i32>, 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_identifier_data_required: Option<Vec<String>>, pub user_lists: Option<Vec<String>>, pub vendor_types: Option<Vec<String>>, pub verticals: Option<Vec<String>>, pub video_player_sizes: Option<Vec<PretargetingConfigVideoPlayerSizes>>,
}
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).

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

minimum_viewability_decile: Option<i32>

Requests where the predicted viewability is below the specified decile will not match. E.g. if the buyer sets this value to 5, requests from slots where the predicted viewability is below 50% will not match. If the predicted viewability is unknown this field will be ignored.

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_identifier_data_required: Option<Vec<String>>

Requests containing the specified type of user data will match. Possible values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and has a match in the buyer’s hosted match table, and COOKIE_OR_IDFA, which means the request has either a targetable cookie or an iOS IDFA.

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.

video_player_sizes: Option<Vec<PretargetingConfigVideoPlayerSizes>>

Video requests satisfying any of these player size constraints will match.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more