Struct google_api_proto::google::ads::googleads::v16::resources::ConversionCustomVariable
source · pub struct ConversionCustomVariable {
pub resource_name: String,
pub id: i64,
pub name: String,
pub tag: String,
pub status: i32,
pub owner_customer: String,
}
Expand description
A conversion custom variable See “About custom variables for conversions” at https://support.google.com/google-ads/answer/9964350
Fields§
§resource_name: String
Immutable. The resource name of the conversion custom variable. Conversion custom variable resource names have the form:
customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}
id: i64
Output only. The ID of the conversion custom variable.
name: String
Required. The name of the conversion custom variable. Name should be unique. The maximum length of name is 100 characters. There should not be any extra spaces before and after.
tag: String
Required. Immutable. The tag of the conversion custom variable. It is used in the event snippet and sent to Google Ads along with conversion pings. For conversion uploads in Google Ads API, the resource name of the conversion custom variable is used. Tag should be unique. The maximum size of tag is 100 bytes. There should not be any extra spaces before and after. Currently only lowercase letters, numbers and underscores are allowed in the tag.
status: i32
The status of the conversion custom variable for conversion event accrual.
owner_customer: String
Output only. The resource name of the customer that owns the conversion custom variable.
Implementations§
source§impl ConversionCustomVariable
impl ConversionCustomVariable
sourcepub fn status(&self) -> ConversionCustomVariableStatus
pub fn status(&self) -> ConversionCustomVariableStatus
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: ConversionCustomVariableStatus)
pub fn set_status(&mut self, value: ConversionCustomVariableStatus)
Sets status
to the provided enum value.
Trait Implementations§
source§impl Clone for ConversionCustomVariable
impl Clone for ConversionCustomVariable
source§fn clone(&self) -> ConversionCustomVariable
fn clone(&self) -> ConversionCustomVariable
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConversionCustomVariable
impl Debug for ConversionCustomVariable
source§impl Default for ConversionCustomVariable
impl Default for ConversionCustomVariable
source§impl Message for ConversionCustomVariable
impl Message for ConversionCustomVariable
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 ConversionCustomVariable
impl PartialEq for ConversionCustomVariable
source§fn eq(&self, other: &ConversionCustomVariable) -> bool
fn eq(&self, other: &ConversionCustomVariable) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConversionCustomVariable
Auto Trait Implementations§
impl Freeze for ConversionCustomVariable
impl RefUnwindSafe for ConversionCustomVariable
impl Send for ConversionCustomVariable
impl Sync for ConversionCustomVariable
impl Unpin for ConversionCustomVariable
impl UnwindSafe for ConversionCustomVariable
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