Struct google_api_proto::google::ads::searchads360::v0::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,
pub family: i32,
pub cardinality: i32,
pub floodlight_conversion_custom_variable_info: Option<FloodlightConversionCustomVariableInfo>,
pub custom_column_ids: Vec<i64>,
}
Expand description
A conversion custom variable. See “About custom Floodlight metrics and dimensions in the new Search Ads 360” at https://support.google.com/sa360/answer/13567857
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. Tag should be unique and consist of a “u” character directly followed with a number less than ormequal to 100. For example: “u4”.
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.
family: i32
Output only. Family of the conversion custom variable.
cardinality: i32
Output only. Cardinality of the conversion custom variable.
floodlight_conversion_custom_variable_info: Option<FloodlightConversionCustomVariableInfo>
Output only. Fields for Search Ads 360 floodlight conversion custom variables.
custom_column_ids: Vec<i64>
Output only. The IDs of custom columns that use this 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.
sourcepub fn family(&self) -> ConversionCustomVariableFamily
pub fn family(&self) -> ConversionCustomVariableFamily
Returns the enum value of family
, or the default if the field is set to an invalid enum value.
sourcepub fn set_family(&mut self, value: ConversionCustomVariableFamily)
pub fn set_family(&mut self, value: ConversionCustomVariableFamily)
Sets family
to the provided enum value.
sourcepub fn cardinality(&self) -> ConversionCustomVariableCardinality
pub fn cardinality(&self) -> ConversionCustomVariableCardinality
Returns the enum value of cardinality
, or the default if the field is set to an invalid enum value.
sourcepub fn set_cardinality(&mut self, value: ConversionCustomVariableCardinality)
pub fn set_cardinality(&mut self, value: ConversionCustomVariableCardinality)
Sets cardinality
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