pub struct ConversionTrackingSetting {
pub conversion_tracking_id: i64,
pub cross_account_conversion_tracking_id: i64,
pub accepted_customer_data_terms: bool,
pub conversion_tracking_status: i32,
pub enhanced_conversions_for_leads_enabled: bool,
pub google_ads_conversion_customer: String,
}
Expand description
A collection of customer-wide settings related to Google Ads Conversion Tracking.
Fields§
§conversion_tracking_id: i64
Output only. The conversion tracking id used for this account. This id doesn’t indicate whether the customer uses conversion tracking (conversion_tracking_status does). This field is read-only.
cross_account_conversion_tracking_id: i64
Output only. The conversion tracking id of the customer’s manager. This is set when the customer is opted into cross account conversion tracking, and it overrides conversion_tracking_id. This field can only be managed through the Google Ads UI. This field is read-only.
accepted_customer_data_terms: bool
Output only. Whether the customer has accepted customer data terms. If using cross-account conversion tracking, this value is inherited from the manager. This field is read-only. For more information, see https://support.google.com/adspolicy/answer/7475709.
conversion_tracking_status: i32
Output only. Conversion tracking status. It indicates whether the customer
is using conversion tracking, and who is the conversion tracking owner of
this customer. If this customer is using cross-account conversion tracking,
the value returned will differ based on the login-customer-id
of the
request.
enhanced_conversions_for_leads_enabled: bool
Output only. Whether the customer is opted-in for enhanced conversions for leads. If using cross-account conversion tracking, this value is inherited from the manager. This field is read-only.
google_ads_conversion_customer: String
Output only. The resource name of the customer where conversions are created and managed. This field is read-only.
Implementations§
Source§impl ConversionTrackingSetting
impl ConversionTrackingSetting
Sourcepub fn conversion_tracking_status(&self) -> ConversionTrackingStatus
pub fn conversion_tracking_status(&self) -> ConversionTrackingStatus
Returns the enum value of conversion_tracking_status
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_conversion_tracking_status(
&mut self,
value: ConversionTrackingStatus,
)
pub fn set_conversion_tracking_status( &mut self, value: ConversionTrackingStatus, )
Sets conversion_tracking_status
to the provided enum value.
Trait Implementations§
Source§impl Clone for ConversionTrackingSetting
impl Clone for ConversionTrackingSetting
Source§fn clone(&self) -> ConversionTrackingSetting
fn clone(&self) -> ConversionTrackingSetting
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ConversionTrackingSetting
impl Debug for ConversionTrackingSetting
Source§impl Default for ConversionTrackingSetting
impl Default for ConversionTrackingSetting
Source§impl Message for ConversionTrackingSetting
impl Message for ConversionTrackingSetting
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
.impl StructuralPartialEq for ConversionTrackingSetting
Auto Trait Implementations§
impl Freeze for ConversionTrackingSetting
impl RefUnwindSafe for ConversionTrackingSetting
impl Send for ConversionTrackingSetting
impl Sync for ConversionTrackingSetting
impl Unpin for ConversionTrackingSetting
impl UnwindSafe for ConversionTrackingSetting
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