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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for ConversionCustomVariable
impl PartialEq for ConversionCustomVariable
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
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> 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