pub struct TargetingExpansionConfig {
pub exclude_first_party_audience: Option<bool>,
pub targeting_expansion_level: Option<String>,
}
Expand description
Settings that control the optimized targeting settings of the line item.
This type is not used in any activity, and only used as part of another schema.
Fields§
§exclude_first_party_audience: Option<bool>
Whether to exclude first-party audiences from use in targeting expansion. This field was deprecated with the launch of optimized targeting. This field will be set to false
. If this field is set to true
when deprecated, all positive first-party audience targeting assigned to this line item will be replaced with negative targeting of the same first-party audiences to ensure the continued exclusion of those audiences.
targeting_expansion_level: Option<String>
Required. Whether optimized targeting is turned on. This field supports the following values: * NO_EXPANSION
: optimized targeting is turned off * LEAST_EXPANSION
: optimized targeting is turned on If this field is set to any other value, it will automatically be set to LEAST_EXPANSION
. NO_EXPANSION
will be the default value for the field and will be automatically assigned if you do not set the field.
Trait Implementations§
Source§impl Clone for TargetingExpansionConfig
impl Clone for TargetingExpansionConfig
Source§fn clone(&self) -> TargetingExpansionConfig
fn clone(&self) -> TargetingExpansionConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TargetingExpansionConfig
impl Debug for TargetingExpansionConfig
Source§impl Default for TargetingExpansionConfig
impl Default for TargetingExpansionConfig
Source§fn default() -> TargetingExpansionConfig
fn default() -> TargetingExpansionConfig
Source§impl<'de> Deserialize<'de> for TargetingExpansionConfig
impl<'de> Deserialize<'de> for TargetingExpansionConfig
Source§fn 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>,
Source§impl Serialize for TargetingExpansionConfig
impl Serialize for TargetingExpansionConfig
impl Part for TargetingExpansionConfig
Auto Trait Implementations§
impl Freeze for TargetingExpansionConfig
impl RefUnwindSafe for TargetingExpansionConfig
impl Send for TargetingExpansionConfig
impl Sync for TargetingExpansionConfig
impl Unpin for TargetingExpansionConfig
impl UnwindSafe for TargetingExpansionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more