Struct google_adexchangebuyer1d4::api::PretargetingConfig
source · [−]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).
- get pretargeting config (response)
- insert pretargeting config (request|response)
- patch pretargeting config (request|response)
- update pretargeting config (request|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
sourceimpl Clone for PretargetingConfig
impl Clone for PretargetingConfig
sourcefn clone(&self) -> PretargetingConfig
fn clone(&self) -> PretargetingConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PretargetingConfig
impl Debug for PretargetingConfig
sourceimpl Default for PretargetingConfig
impl Default for PretargetingConfig
sourcefn default() -> PretargetingConfig
fn default() -> PretargetingConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PretargetingConfig
impl<'de> Deserialize<'de> for PretargetingConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for PretargetingConfig
impl Serialize for PretargetingConfig
impl RequestValue for PretargetingConfig
impl ResponseResult for PretargetingConfig
Auto Trait Implementations
impl RefUnwindSafe for PretargetingConfig
impl Send for PretargetingConfig
impl Sync for PretargetingConfig
impl Unpin for PretargetingConfig
impl UnwindSafe for PretargetingConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more