public final class Conversion
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Search Ads 360 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Conversion() |
Modifier and Type | Method and Description |
---|---|
Conversion |
clone() |
Long |
getAdGroupId()
DS ad group ID.
|
Long |
getAdId()
DS ad ID.
|
String |
getAdUserDataConsent()
Represents consent for core platform services (CPS) preferences in settings.
|
Long |
getAdvertiserId()
DS advertiser ID.
|
Long |
getAgencyId()
DS agency ID.
|
String |
getAttributionModel()
Available to advertisers only after contacting DoubleClick Search customer support.
|
Long |
getCampaignId()
DS campaign ID.
|
String |
getChannel()
Sales channel for the product.
|
String |
getClickId()
DS click ID for the conversion.
|
String |
getConversionId()
For offline conversions, advertisers provide this ID.
|
Long |
getConversionModifiedTimestamp()
The time at which the conversion was last modified, in epoch millis UTC.
|
String |
getConversionTimestamp()
The time at which the conversion took place, in epoch millis UTC.
|
Long |
getCountMillis()
Available to advertisers only after contacting DoubleClick Search customer support.
|
Long |
getCriterionId()
DS criterion (keyword) ID.
|
String |
getCurrencyCode()
The currency code for the conversion's revenue.
|
List<CustomDimension> |
getCustomDimension()
Custom dimensions for the conversion, which can be used to filter data in a report.
|
String |
getCustomerId()
Customer ID of a client account in the new Search Ads 360 experience.
|
List<CustomMetric> |
getCustomMetric()
Custom metrics for the conversion.
|
String |
getDeviceType()
The type of device on which the conversion occurred.
|
Long |
getDsConversionId()
ID that DoubleClick Search generates for each conversion.
|
Long |
getEngineAccountId()
DS engine account ID.
|
String |
getFloodlightOrderId()
The Floodlight order ID provided by the advertiser for the conversion.
|
Long |
getInventoryAccountId()
ID that DS generates and uses to uniquely identify the inventory account that contains the
product.
|
String |
getProductCountry()
The country registered for the Merchant Center feed that contains the product.
|
Long |
getProductGroupId()
DS product group ID.
|
String |
getProductId()
The product ID (SKU).
|
String |
getProductLanguage()
The language registered for the Merchant Center feed that contains the product.
|
Long |
getQuantityMillis()
The quantity of this conversion, in millis.
|
String |
getRevenueMicros()
The revenue amount of this `TRANSACTION` conversion, in micros (value multiplied by 1000000, no
decimal).
|
Long |
getSegmentationId()
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
|
String |
getSegmentationName()
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity
name).
|
String |
getSegmentationType()
The segmentation type of this conversion (for example, `FLOODLIGHT`).
|
String |
getState()
The state of the conversion, that is, either `ACTIVE` or `REMOVED`.
|
String |
getStoreId()
The ID of the local store for which the product was advertised.
|
String |
getType()
The type of the conversion, that is, either `ACTION` or `TRANSACTION`.
|
Conversion |
set(String fieldName,
Object value) |
Conversion |
setAdGroupId(Long adGroupId)
DS ad group ID.
|
Conversion |
setAdId(Long adId)
DS ad ID.
|
Conversion |
setAdUserDataConsent(String adUserDataConsent)
Represents consent for core platform services (CPS) preferences in settings.
|
Conversion |
setAdvertiserId(Long advertiserId)
DS advertiser ID.
|
Conversion |
setAgencyId(Long agencyId)
DS agency ID.
|
Conversion |
setAttributionModel(String attributionModel)
Available to advertisers only after contacting DoubleClick Search customer support.
|
Conversion |
setCampaignId(Long campaignId)
DS campaign ID.
|
Conversion |
setChannel(String channel)
Sales channel for the product.
|
Conversion |
setClickId(String clickId)
DS click ID for the conversion.
|
Conversion |
setConversionId(String conversionId)
For offline conversions, advertisers provide this ID.
|
Conversion |
setConversionModifiedTimestamp(Long conversionModifiedTimestamp)
The time at which the conversion was last modified, in epoch millis UTC.
|
Conversion |
setConversionTimestamp(String conversionTimestamp)
The time at which the conversion took place, in epoch millis UTC.
|
Conversion |
setCountMillis(Long countMillis)
Available to advertisers only after contacting DoubleClick Search customer support.
|
Conversion |
setCriterionId(Long criterionId)
DS criterion (keyword) ID.
|
Conversion |
setCurrencyCode(String currencyCode)
The currency code for the conversion's revenue.
|
Conversion |
setCustomDimension(List<CustomDimension> customDimension)
Custom dimensions for the conversion, which can be used to filter data in a report.
|
Conversion |
setCustomerId(String customerId)
Customer ID of a client account in the new Search Ads 360 experience.
|
Conversion |
setCustomMetric(List<CustomMetric> customMetric)
Custom metrics for the conversion.
|
Conversion |
setDeviceType(String deviceType)
The type of device on which the conversion occurred.
|
Conversion |
setDsConversionId(Long dsConversionId)
ID that DoubleClick Search generates for each conversion.
|
Conversion |
setEngineAccountId(Long engineAccountId)
DS engine account ID.
|
Conversion |
setFloodlightOrderId(String floodlightOrderId)
The Floodlight order ID provided by the advertiser for the conversion.
|
Conversion |
setInventoryAccountId(Long inventoryAccountId)
ID that DS generates and uses to uniquely identify the inventory account that contains the
product.
|
Conversion |
setProductCountry(String productCountry)
The country registered for the Merchant Center feed that contains the product.
|
Conversion |
setProductGroupId(Long productGroupId)
DS product group ID.
|
Conversion |
setProductId(String productId)
The product ID (SKU).
|
Conversion |
setProductLanguage(String productLanguage)
The language registered for the Merchant Center feed that contains the product.
|
Conversion |
setQuantityMillis(Long quantityMillis)
The quantity of this conversion, in millis.
|
Conversion |
setRevenueMicros(String revenueMicros)
The revenue amount of this `TRANSACTION` conversion, in micros (value multiplied by 1000000, no
decimal).
|
Conversion |
setSegmentationId(Long segmentationId)
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
|
Conversion |
setSegmentationName(String segmentationName)
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity
name).
|
Conversion |
setSegmentationType(String segmentationType)
The segmentation type of this conversion (for example, `FLOODLIGHT`).
|
Conversion |
setState(String state)
The state of the conversion, that is, either `ACTIVE` or `REMOVED`.
|
Conversion |
setStoreId(String storeId)
The ID of the local store for which the product was advertised.
|
Conversion |
setType(String type)
The type of the conversion, that is, either `ACTION` or `TRANSACTION`.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getAdGroupId()
null
for nonepublic Conversion setAdGroupId(Long adGroupId)
adGroupId
- adGroupId or null
for nonepublic Long getAdId()
null
for nonepublic Conversion setAdId(Long adId)
adId
- adId or null
for nonepublic String getAdUserDataConsent()
null
for nonepublic Conversion setAdUserDataConsent(String adUserDataConsent)
adUserDataConsent
- adUserDataConsent or null
for nonepublic Long getAdvertiserId()
null
for nonepublic Conversion setAdvertiserId(Long advertiserId)
advertiserId
- advertiserId or null
for nonepublic Long getAgencyId()
null
for nonepublic Conversion setAgencyId(Long agencyId)
agencyId
- agencyId or null
for nonepublic String getAttributionModel()
null
for nonepublic Conversion setAttributionModel(String attributionModel)
attributionModel
- attributionModel or null
for nonepublic Long getCampaignId()
null
for nonepublic Conversion setCampaignId(Long campaignId)
campaignId
- campaignId or null
for nonepublic String getChannel()
null
for nonepublic Conversion setChannel(String channel)
channel
- channel or null
for nonepublic String getClickId()
null
for nonepublic Conversion setClickId(String clickId)
clickId
- clickId or null
for nonepublic String getConversionId()
null
for nonepublic Conversion setConversionId(String conversionId)
conversionId
- conversionId or null
for nonepublic Long getConversionModifiedTimestamp()
null
for nonepublic Conversion setConversionModifiedTimestamp(Long conversionModifiedTimestamp)
conversionModifiedTimestamp
- conversionModifiedTimestamp or null
for nonepublic String getConversionTimestamp()
null
for nonepublic Conversion setConversionTimestamp(String conversionTimestamp)
conversionTimestamp
- conversionTimestamp or null
for nonepublic Long getCountMillis()
null
for nonepublic Conversion setCountMillis(Long countMillis)
countMillis
- countMillis or null
for nonepublic Long getCriterionId()
null
for nonepublic Conversion setCriterionId(Long criterionId)
criterionId
- criterionId or null
for nonepublic String getCurrencyCode()
null
for nonepublic Conversion setCurrencyCode(String currencyCode)
currencyCode
- currencyCode or null
for nonepublic List<CustomDimension> getCustomDimension()
null
for nonepublic Conversion setCustomDimension(List<CustomDimension> customDimension)
customDimension
- customDimension or null
for nonepublic List<CustomMetric> getCustomMetric()
null
for nonepublic Conversion setCustomMetric(List<CustomMetric> customMetric)
customMetric
- customMetric or null
for nonepublic String getCustomerId()
null
for nonepublic Conversion setCustomerId(String customerId)
customerId
- customerId or null
for nonepublic String getDeviceType()
null
for nonepublic Conversion setDeviceType(String deviceType)
deviceType
- deviceType or null
for nonepublic Long getDsConversionId()
null
for nonepublic Conversion setDsConversionId(Long dsConversionId)
dsConversionId
- dsConversionId or null
for nonepublic Long getEngineAccountId()
null
for nonepublic Conversion setEngineAccountId(Long engineAccountId)
engineAccountId
- engineAccountId or null
for nonepublic String getFloodlightOrderId()
null
for nonepublic Conversion setFloodlightOrderId(String floodlightOrderId)
floodlightOrderId
- floodlightOrderId or null
for nonepublic Long getInventoryAccountId()
null
for nonepublic Conversion setInventoryAccountId(Long inventoryAccountId)
inventoryAccountId
- inventoryAccountId or null
for nonepublic String getProductCountry()
null
for nonepublic Conversion setProductCountry(String productCountry)
productCountry
- productCountry or null
for nonepublic Long getProductGroupId()
null
for nonepublic Conversion setProductGroupId(Long productGroupId)
productGroupId
- productGroupId or null
for nonepublic String getProductId()
null
for nonepublic Conversion setProductId(String productId)
productId
- productId or null
for nonepublic String getProductLanguage()
null
for nonepublic Conversion setProductLanguage(String productLanguage)
productLanguage
- productLanguage or null
for nonepublic Long getQuantityMillis()
null
for nonepublic Conversion setQuantityMillis(Long quantityMillis)
quantityMillis
- quantityMillis or null
for nonepublic String getRevenueMicros()
null
for nonepublic Conversion setRevenueMicros(String revenueMicros)
revenueMicros
- revenueMicros or null
for nonepublic Long getSegmentationId()
null
for nonepublic Conversion setSegmentationId(Long segmentationId)
segmentationId
- segmentationId or null
for nonepublic String getSegmentationName()
null
for nonepublic Conversion setSegmentationName(String segmentationName)
segmentationName
- segmentationName or null
for nonepublic String getSegmentationType()
null
for nonepublic Conversion setSegmentationType(String segmentationType)
segmentationType
- segmentationType or null
for nonepublic String getState()
null
for nonepublic Conversion setState(String state)
state
- state or null
for nonepublic String getStoreId()
null
for nonepublic Conversion setStoreId(String storeId)
storeId
- storeId or null
for nonepublic String getType()
null
for nonepublic Conversion setType(String type)
type
- type or null
for nonepublic Conversion set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Conversion clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.