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

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<i64>

DS ad group ID.

§ad_id: Option<i64>

DS ad ID.

§ad_user_data_consent: Option<String>

Represents consent for core platform services (CPS) preferences in settings. No default value. Acceptable values are: GRANTED: The desired consent status is to grant. Read the CPS preferences from GTE settings. DENIED: The desired consent status is to deny; CPS list is empty.

§advertiser_id: Option<i64>

DS advertiser ID.

§agency_id: Option<i64>

DS agency ID.

§attribution_model: Option<String>

Available to advertisers only after contacting DoubleClick Search customer support.

§campaign_id: Option<i64>

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<i64>

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<i64>

Available to advertisers only after contacting DoubleClick Search customer support.

§criterion_id: Option<i64>

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.

§customer_id: Option<String>

Customer ID of a client account in the new Search Ads 360 experience.

§device_type: Option<String>

The type of device on which the conversion occurred.

§ds_conversion_id: Option<i64>

ID that DoubleClick Search generates for each conversion.

§engine_account_id: Option<i64>

DS engine account ID.

§floodlight_order_id: Option<String>

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

§inventory_account_id: Option<i64>

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<i64>

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<i64>

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<i64>

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§

source§

impl Clone for Conversion

source§

fn clone(&self) -> Conversion

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Conversion

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Conversion

source§

fn default() -> Conversion

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Conversion

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Conversion

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Part for Conversion

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

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