Struct google_dfareporting3d2::api::Conversion [−][src]
A Conversion represents when a user successfully performs a desired action after seeing an ad.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- batchinsert conversions (none)
- batchupdate conversions (none)
Fields
child_directed_treatment: Option<bool>
Whether this particular request may come from a user under the age of 13, under COPPA compliance.
custom_variables: Option<Vec<CustomFloodlightVariable>>
Custom floodlight variables.
encrypted_user_id: Option<String>
The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with encryptedUserIdCandidates[], mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or mobileDeviceId or gclid is a required field.
encrypted_user_id_candidates: Option<Vec<String>>
A list of the alphanumeric encrypted user IDs. Any user ID with exposure prior to the conversion timestamp will be used in the inserted conversion. If no such user ID is found then the conversion will be rejected with NO_COOKIE_MATCH_FOUND error. When set, encryptionInfo should also be specified. This field may only be used when calling batchinsert; it is not supported by batchupdate. This field is mutually exclusive with encryptedUserId, mobileDeviceId and gclid. This or encryptedUserId or mobileDeviceId or gclid is a required field.
floodlight_activity_id: Option<String>
Floodlight Activity ID of this conversion. This is a required field.
floodlight_configuration_id: Option<String>
Floodlight Configuration ID of this conversion. This is a required field.
gclid: Option<String>
The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[] and mobileDeviceId. This or encryptedUserId or encryptedUserIdCandidates[] or mobileDeviceId is a required field.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “dfareporting#conversion”.
limit_ad_tracking: Option<bool>
Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing.
mobile_device_id: Option<String>
The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[] and gclid. This or encryptedUserId or encryptedUserIdCandidates[] or gclid is a required field.
non_personalized_ad: Option<bool>
Whether the conversion was for a non personalized ad.
ordinal: Option<String>
The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated. This is a required field.
quantity: Option<String>
The quantity of the conversion.
timestamp_micros: Option<String>
The timestamp of conversion, in Unix epoch micros. This is a required field.
treatment_for_underage: Option<bool>
Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union’s General Data Protection Regulation (GDPR).
value: Option<f64>
The value of the conversion.
Trait Implementations
impl Clone for Conversion
[src]
fn clone(&self) -> Conversion
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Conversion
[src]
impl Default for Conversion
[src]
fn default() -> Conversion
[src]
impl<'de> Deserialize<'de> for Conversion
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Resource for Conversion
[src]
impl Serialize for Conversion
[src]
Auto Trait Implementations
impl RefUnwindSafe for Conversion
impl Send for Conversion
impl Sync for Conversion
impl Unpin for Conversion
impl UnwindSafe for Conversion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,