Struct google_doubleclicksearch2::api::Conversion[][src]

pub struct Conversion {
    pub ad_group_id: Option<String>,
    pub ad_id: Option<String>,
    pub advertiser_id: Option<String>,
    pub agency_id: Option<String>,
    pub attribution_model: Option<String>,
    pub campaign_id: Option<String>,
    pub channel: Option<String>,
    pub click_id: Option<String>,
    pub conversion_id: Option<String>,
    pub conversion_modified_timestamp: Option<String>,
    pub conversion_timestamp: Option<String>,
    pub count_millis: Option<String>,
    pub criterion_id: Option<String>,
    pub currency_code: Option<String>,
    pub custom_dimension: Option<Vec<CustomDimension>>,
    pub custom_metric: Option<Vec<CustomMetric>>,
    pub device_type: Option<String>,
    pub ds_conversion_id: Option<String>,
    pub engine_account_id: Option<String>,
    pub floodlight_order_id: Option<String>,
    pub inventory_account_id: Option<String>,
    pub product_country: Option<String>,
    pub product_group_id: Option<String>,
    pub product_id: Option<String>,
    pub product_language: Option<String>,
    pub quantity_millis: Option<String>,
    pub revenue_micros: Option<String>,
    pub segmentation_id: Option<String>,
    pub segmentation_name: Option<String>,
    pub segmentation_type: Option<String>,
    pub state: Option<String>,
    pub store_id: Option<String>,
    pub type_: Option<String>,
}

A conversion containing data relevant to DoubleClick Search.

This type is not used in any activity, and only used as part of another schema.

Fields

ad_group_id: Option<String>

DS ad group ID.

ad_id: Option<String>

DS ad ID.

advertiser_id: Option<String>

DS advertiser ID.

agency_id: Option<String>

DS agency ID.

attribution_model: Option<String>

Available to advertisers only after contacting DoubleClick Search customer support.

campaign_id: Option<String>

DS campaign ID.

channel: Option<String>

Sales channel for the product. Acceptable values are: - “local”: a physical store - “online”: an online store

click_id: Option<String>

DS click ID for the conversion.

conversion_id: Option<String>

For offline conversions, advertisers provide this ID. Advertisers can specify any ID that is meaningful to them. Each conversion in a request must specify a unique ID, and the combination of ID and timestamp must be unique amongst all conversions within the advertiser. For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser’s Floodlight instructions.

conversion_modified_timestamp: Option<String>

The time at which the conversion was last modified, in epoch millis UTC.

conversion_timestamp: Option<String>

The time at which the conversion took place, in epoch millis UTC.

count_millis: Option<String>

Available to advertisers only after contacting DoubleClick Search customer support.

criterion_id: Option<String>

DS criterion (keyword) ID.

currency_code: Option<String>

The currency code for the conversion’s revenue. Should be in ISO 4217 alphabetic (3-char) format.

custom_dimension: Option<Vec<CustomDimension>>

Custom dimensions for the conversion, which can be used to filter data in a report.

custom_metric: Option<Vec<CustomMetric>>

Custom metrics for the conversion.

device_type: Option<String>

The type of device on which the conversion occurred.

ds_conversion_id: Option<String>

ID that DoubleClick Search generates for each conversion.

engine_account_id: Option<String>

DS engine account ID.

floodlight_order_id: Option<String>

The Floodlight order ID provided by the advertiser for the conversion.

inventory_account_id: Option<String>

ID that DS generates and uses to uniquely identify the inventory account that contains the product.

product_country: Option<String>

The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country.

product_group_id: Option<String>

DS product group ID.

product_id: Option<String>

The product ID (SKU).

product_language: Option<String>

The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language.

quantity_millis: Option<String>

The quantity of this conversion, in millis.

revenue_micros: Option<String>

The revenue amount of this TRANSACTION conversion, in micros (value multiplied by 1000000, no decimal). For example, to specify a revenue value of “10” enter “10000000” (10 million) in your request.

segmentation_id: Option<String>

The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).

segmentation_name: Option<String>

The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).

segmentation_type: Option<String>

The segmentation type of this conversion (for example, FLOODLIGHT).

state: Option<String>

The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated.

store_id: Option<String>

The ID of the local store for which the product was advertised. Applicable only when the channel is “local”.

type_: Option<String>

The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION).

Trait Implementations

impl Clone for Conversion[src]

impl Debug for Conversion[src]

impl Default for Conversion[src]

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

impl Part for Conversion[src]

impl Serialize for Conversion[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.