Struct google_api_proto::google::ads::googleads::v16::resources::AdGroupCriterionCustomizer
source · pub struct AdGroupCriterionCustomizer {
pub resource_name: String,
pub ad_group_criterion: Option<String>,
pub customizer_attribute: String,
pub status: i32,
pub value: Option<CustomizerValue>,
}
Expand description
A customizer value for the associated CustomizerAttribute at the AdGroupCriterion level.
Fields§
§resource_name: String
Immutable. The resource name of the ad group criterion customizer. Ad group criterion customizer resource names have the form:
customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}
ad_group_criterion: Option<String>
Immutable. The ad group criterion to which the customizer attribute is linked. It must be a keyword criterion.
customizer_attribute: String
Required. Immutable. The customizer attribute which is linked to the ad group criterion.
status: i32
Output only. The status of the ad group criterion customizer.
value: Option<CustomizerValue>
Required. The value to associate with the customizer attribute at this level. The value must be of the type specified for the CustomizerAttribute.
Implementations§
source§impl AdGroupCriterionCustomizer
impl AdGroupCriterionCustomizer
sourcepub fn ad_group_criterion(&self) -> &str
pub fn ad_group_criterion(&self) -> &str
Returns the value of ad_group_criterion
, or the default value if ad_group_criterion
is unset.
sourcepub fn status(&self) -> CustomizerValueStatus
pub fn status(&self) -> CustomizerValueStatus
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_status(&mut self, value: CustomizerValueStatus)
pub fn set_status(&mut self, value: CustomizerValueStatus)
Sets status
to the provided enum value.
Trait Implementations§
source§impl Clone for AdGroupCriterionCustomizer
impl Clone for AdGroupCriterionCustomizer
source§fn clone(&self) -> AdGroupCriterionCustomizer
fn clone(&self) -> AdGroupCriterionCustomizer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdGroupCriterionCustomizer
impl Debug for AdGroupCriterionCustomizer
source§impl Default for AdGroupCriterionCustomizer
impl Default for AdGroupCriterionCustomizer
source§impl Message for AdGroupCriterionCustomizer
impl Message for AdGroupCriterionCustomizer
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AdGroupCriterionCustomizer
impl PartialEq for AdGroupCriterionCustomizer
source§fn eq(&self, other: &AdGroupCriterionCustomizer) -> bool
fn eq(&self, other: &AdGroupCriterionCustomizer) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdGroupCriterionCustomizer
Auto Trait Implementations§
impl Freeze for AdGroupCriterionCustomizer
impl RefUnwindSafe for AdGroupCriterionCustomizer
impl Send for AdGroupCriterionCustomizer
impl Sync for AdGroupCriterionCustomizer
impl Unpin for AdGroupCriterionCustomizer
impl UnwindSafe for AdGroupCriterionCustomizer
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request