[][src]Struct google_dfareporting3d2::Conversion

pub struct Conversion {
    pub ordinal: Option<String>,
    pub timestamp_micros: Option<String>,
    pub treatment_for_underage: Option<bool>,
    pub gclid: Option<String>,
    pub mobile_device_id: Option<String>,
    pub non_personalized_ad: Option<bool>,
    pub encrypted_user_id: Option<String>,
    pub kind: Option<String>,
    pub child_directed_treatment: Option<bool>,
    pub encrypted_user_id_candidates: Option<Vec<String>>,
    pub custom_variables: Option<Vec<CustomFloodlightVariable>>,
    pub floodlight_configuration_id: Option<String>,
    pub value: Option<f64>,
    pub limit_ad_tracking: Option<bool>,
    pub floodlight_activity_id: Option<String>,
    pub quantity: Option<String>,
}

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).

Fields

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.

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).

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.

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.

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.

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversion".

child_directed_treatment: Option<bool>

Whether this particular request may come from a user under the age of 13, under COPPA compliance.

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.

custom_variables: Option<Vec<CustomFloodlightVariable>>

Custom floodlight variables.

floodlight_configuration_id: Option<String>

Floodlight Configuration ID of this conversion. This is a required field.

value: Option<f64>

The value of the 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.

floodlight_activity_id: Option<String>

Floodlight Activity ID of this conversion. This is a required field.

quantity: Option<String>

The quantity of the conversion.

Trait Implementations

impl Resource for Conversion[src]

impl Default for Conversion[src]

impl Clone for Conversion[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Conversion[src]

impl Serialize for Conversion[src]

impl<'de> Deserialize<'de> for Conversion[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]