Struct google_doubleclicksearch2::api::Conversion
source · 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
impl Clone for Conversion
source§fn clone(&self) -> Conversion
fn clone(&self) -> Conversion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more