Struct google_api_proto::google::ads::googleads::v15::common::StoreSalesThirdPartyMetadata
source · pub struct StoreSalesThirdPartyMetadata {
pub advertiser_upload_date_time: Option<String>,
pub valid_transaction_fraction: Option<f64>,
pub partner_match_fraction: Option<f64>,
pub partner_upload_fraction: Option<f64>,
pub bridge_map_version_id: Option<String>,
pub partner_id: Option<i64>,
}
Expand description
Metadata for a third party Store Sales. This product is only for customers on the allow-list. Contact your Google business development representative for details on the upload configuration.
Fields§
§advertiser_upload_date_time: Option<String>
Time the advertiser uploaded the data to the partner. Required. The format is “YYYY-MM-DD HH:MM:SS”. Examples: “2018-03-05 09:15:00” or “2018-02-01 14:34:30”
valid_transaction_fraction: Option<f64>
The fraction of transactions that are valid. Invalid transactions may include invalid formats or values. Required. The fraction needs to be between 0 and 1 (excluding 0).
partner_match_fraction: Option<f64>
The fraction of valid transactions that are matched to a third party assigned user ID on the partner side. Required. The fraction needs to be between 0 and 1 (excluding 0).
partner_upload_fraction: Option<f64>
The fraction of valid transactions that are uploaded by the partner to Google. Required. The fraction needs to be between 0 and 1 (excluding 0).
bridge_map_version_id: Option<String>
Version of partner IDs to be used for uploads. Required.
partner_id: Option<i64>
ID of the third party partner updating the transaction feed.
Implementations§
source§impl StoreSalesThirdPartyMetadata
impl StoreSalesThirdPartyMetadata
sourcepub fn advertiser_upload_date_time(&self) -> &str
pub fn advertiser_upload_date_time(&self) -> &str
Returns the value of advertiser_upload_date_time
, or the default value if advertiser_upload_date_time
is unset.
sourcepub fn valid_transaction_fraction(&self) -> f64
pub fn valid_transaction_fraction(&self) -> f64
Returns the value of valid_transaction_fraction
, or the default value if valid_transaction_fraction
is unset.
sourcepub fn partner_match_fraction(&self) -> f64
pub fn partner_match_fraction(&self) -> f64
Returns the value of partner_match_fraction
, or the default value if partner_match_fraction
is unset.
sourcepub fn partner_upload_fraction(&self) -> f64
pub fn partner_upload_fraction(&self) -> f64
Returns the value of partner_upload_fraction
, or the default value if partner_upload_fraction
is unset.
sourcepub fn bridge_map_version_id(&self) -> &str
pub fn bridge_map_version_id(&self) -> &str
Returns the value of bridge_map_version_id
, or the default value if bridge_map_version_id
is unset.
sourcepub fn partner_id(&self) -> i64
pub fn partner_id(&self) -> i64
Returns the value of partner_id
, or the default value if partner_id
is unset.
Trait Implementations§
source§impl Clone for StoreSalesThirdPartyMetadata
impl Clone for StoreSalesThirdPartyMetadata
source§fn clone(&self) -> StoreSalesThirdPartyMetadata
fn clone(&self) -> StoreSalesThirdPartyMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StoreSalesThirdPartyMetadata
impl Debug for StoreSalesThirdPartyMetadata
source§impl Message for StoreSalesThirdPartyMetadata
impl Message for StoreSalesThirdPartyMetadata
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 StoreSalesThirdPartyMetadata
impl PartialEq for StoreSalesThirdPartyMetadata
source§fn eq(&self, other: &StoreSalesThirdPartyMetadata) -> bool
fn eq(&self, other: &StoreSalesThirdPartyMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StoreSalesThirdPartyMetadata
Auto Trait Implementations§
impl Freeze for StoreSalesThirdPartyMetadata
impl RefUnwindSafe for StoreSalesThirdPartyMetadata
impl Send for StoreSalesThirdPartyMetadata
impl Sync for StoreSalesThirdPartyMetadata
impl Unpin for StoreSalesThirdPartyMetadata
impl UnwindSafe for StoreSalesThirdPartyMetadata
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