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
Constructor and Description |
---|
Conversion() |
Modifier and Type | Method and Description |
---|---|
Conversion |
clone() |
java.lang.Long |
getAdGroupId()
DS ad group ID.
|
java.lang.Long |
getAdId()
DS ad ID.
|
java.lang.Long |
getAdvertiserId()
DS advertiser ID.
|
java.lang.Long |
getAgencyId()
DS agency ID.
|
java.lang.String |
getAttributionModel()
Available to advertisers only after contacting DoubleClick Search customer support.
|
java.lang.Long |
getCampaignId()
DS campaign ID.
|
java.lang.String |
getChannel()
Sales channel for the product.
|
java.lang.String |
getClickId()
DS click ID for the conversion.
|
java.lang.String |
getConversionId()
For offline conversions, advertisers provide this ID.
|
java.math.BigInteger |
getConversionModifiedTimestamp()
The time at which the conversion was last modified, in epoch millis UTC.
|
java.math.BigInteger |
getConversionTimestamp()
The time at which the conversion took place, in epoch millis UTC.
|
java.lang.Long |
getCountMillis()
Available to advertisers only after contacting DoubleClick Search customer support.
|
java.lang.Long |
getCriterionId()
DS criterion (keyword) ID.
|
java.lang.String |
getCurrencyCode()
The currency code for the conversion's revenue.
|
java.util.List<CustomDimension> |
getCustomDimension()
Custom dimensions for the conversion, which can be used to filter data in a report.
|
java.util.List<CustomMetric> |
getCustomMetric()
Custom metrics for the conversion.
|
java.lang.String |
getDeviceType()
The type of device on which the conversion occurred.
|
java.lang.Long |
getDsConversionId()
ID that DoubleClick Search generates for each conversion.
|
java.lang.Long |
getEngineAccountId()
DS engine account ID.
|
java.lang.String |
getFloodlightOrderId()
The Floodlight order ID provided by the advertiser for the conversion.
|
java.lang.Long |
getInventoryAccountId()
ID that DS generates and uses to uniquely identify the inventory account that contains the
product.
|
java.lang.String |
getProductCountry()
The country registered for the Merchant Center feed that contains the product.
|
java.lang.Long |
getProductGroupId()
DS product group ID.
|
java.lang.String |
getProductId()
The product ID (SKU).
|
java.lang.String |
getProductLanguage()
The language registered for the Merchant Center feed that contains the product.
|
java.lang.Long |
getQuantityMillis()
The quantity of this conversion, in millis.
|
java.lang.Long |
getRevenueMicros()
The revenue amount of this TRANSACTION conversion, in micros (value multiplied by 1000000, no
decimal).
|
java.lang.Long |
getSegmentationId()
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
|
java.lang.String |
getSegmentationName()
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity
name).
|
java.lang.String |
getSegmentationType()
The segmentation type of this conversion (for example, FLOODLIGHT).
|
java.lang.String |
getState()
The state of the conversion, that is, either ACTIVE or REMOVED.
|
java.lang.String |
getStoreId()
The ID of the local store for which the product was advertised.
|
java.lang.String |
getType()
The type of the conversion, that is, either ACTION or TRANSACTION.
|
Conversion |
set(java.lang.String fieldName,
java.lang.Object value) |
Conversion |
setAdGroupId(java.lang.Long adGroupId)
DS ad group ID.
|
Conversion |
setAdId(java.lang.Long adId)
DS ad ID.
|
Conversion |
setAdvertiserId(java.lang.Long advertiserId)
DS advertiser ID.
|
Conversion |
setAgencyId(java.lang.Long agencyId)
DS agency ID.
|
Conversion |
setAttributionModel(java.lang.String attributionModel)
Available to advertisers only after contacting DoubleClick Search customer support.
|
Conversion |
setCampaignId(java.lang.Long campaignId)
DS campaign ID.
|
Conversion |
setChannel(java.lang.String channel)
Sales channel for the product.
|
Conversion |
setClickId(java.lang.String clickId)
DS click ID for the conversion.
|
Conversion |
setConversionId(java.lang.String conversionId)
For offline conversions, advertisers provide this ID.
|
Conversion |
setConversionModifiedTimestamp(java.math.BigInteger conversionModifiedTimestamp)
The time at which the conversion was last modified, in epoch millis UTC.
|
Conversion |
setConversionTimestamp(java.math.BigInteger conversionTimestamp)
The time at which the conversion took place, in epoch millis UTC.
|
Conversion |
setCountMillis(java.lang.Long countMillis)
Available to advertisers only after contacting DoubleClick Search customer support.
|
Conversion |
setCriterionId(java.lang.Long criterionId)
DS criterion (keyword) ID.
|
Conversion |
setCurrencyCode(java.lang.String currencyCode)
The currency code for the conversion's revenue.
|
Conversion |
setCustomDimension(java.util.List<CustomDimension> customDimension)
Custom dimensions for the conversion, which can be used to filter data in a report.
|
Conversion |
setCustomMetric(java.util.List<CustomMetric> customMetric)
Custom metrics for the conversion.
|
Conversion |
setDeviceType(java.lang.String deviceType)
The type of device on which the conversion occurred.
|
Conversion |
setDsConversionId(java.lang.Long dsConversionId)
ID that DoubleClick Search generates for each conversion.
|
Conversion |
setEngineAccountId(java.lang.Long engineAccountId)
DS engine account ID.
|
Conversion |
setFloodlightOrderId(java.lang.String floodlightOrderId)
The Floodlight order ID provided by the advertiser for the conversion.
|
Conversion |
setInventoryAccountId(java.lang.Long inventoryAccountId)
ID that DS generates and uses to uniquely identify the inventory account that contains the
product.
|
Conversion |
setProductCountry(java.lang.String productCountry)
The country registered for the Merchant Center feed that contains the product.
|
Conversion |
setProductGroupId(java.lang.Long productGroupId)
DS product group ID.
|
Conversion |
setProductId(java.lang.String productId)
The product ID (SKU).
|
Conversion |
setProductLanguage(java.lang.String productLanguage)
The language registered for the Merchant Center feed that contains the product.
|
Conversion |
setQuantityMillis(java.lang.Long quantityMillis)
The quantity of this conversion, in millis.
|
Conversion |
setRevenueMicros(java.lang.Long revenueMicros)
The revenue amount of this TRANSACTION conversion, in micros (value multiplied by 1000000, no
decimal).
|
Conversion |
setSegmentationId(java.lang.Long segmentationId)
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
|
Conversion |
setSegmentationName(java.lang.String segmentationName)
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity
name).
|
Conversion |
setSegmentationType(java.lang.String segmentationType)
The segmentation type of this conversion (for example, FLOODLIGHT).
|
Conversion |
setState(java.lang.String state)
The state of the conversion, that is, either ACTIVE or REMOVED.
|
Conversion |
setStoreId(java.lang.String storeId)
The ID of the local store for which the product was advertised.
|
Conversion |
setType(java.lang.String type)
The type of the conversion, that is, either ACTION or TRANSACTION.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Long getAdGroupId()
null
for nonepublic Conversion setAdGroupId(java.lang.Long adGroupId)
adGroupId
- adGroupId or null
for nonepublic java.lang.Long getAdId()
null
for nonepublic Conversion setAdId(java.lang.Long adId)
adId
- adId or null
for nonepublic java.lang.Long getAdvertiserId()
null
for nonepublic Conversion setAdvertiserId(java.lang.Long advertiserId)
advertiserId
- advertiserId or null
for nonepublic java.lang.Long getAgencyId()
null
for nonepublic Conversion setAgencyId(java.lang.Long agencyId)
agencyId
- agencyId or null
for nonepublic java.lang.String getAttributionModel()
null
for nonepublic Conversion setAttributionModel(java.lang.String attributionModel)
attributionModel
- attributionModel or null
for nonepublic java.lang.Long getCampaignId()
null
for nonepublic Conversion setCampaignId(java.lang.Long campaignId)
campaignId
- campaignId or null
for nonepublic java.lang.String getChannel()
null
for nonepublic Conversion setChannel(java.lang.String channel)
channel
- channel or null
for nonepublic java.lang.String getClickId()
null
for nonepublic Conversion setClickId(java.lang.String clickId)
clickId
- clickId or null
for nonepublic java.lang.String getConversionId()
null
for nonepublic Conversion setConversionId(java.lang.String conversionId)
conversionId
- conversionId or null
for nonepublic java.math.BigInteger getConversionModifiedTimestamp()
null
for nonepublic Conversion setConversionModifiedTimestamp(java.math.BigInteger conversionModifiedTimestamp)
conversionModifiedTimestamp
- conversionModifiedTimestamp or null
for nonepublic java.math.BigInteger getConversionTimestamp()
null
for nonepublic Conversion setConversionTimestamp(java.math.BigInteger conversionTimestamp)
conversionTimestamp
- conversionTimestamp or null
for nonepublic java.lang.Long getCountMillis()
null
for nonepublic Conversion setCountMillis(java.lang.Long countMillis)
countMillis
- countMillis or null
for nonepublic java.lang.Long getCriterionId()
null
for nonepublic Conversion setCriterionId(java.lang.Long criterionId)
criterionId
- criterionId or null
for nonepublic java.lang.String getCurrencyCode()
null
for nonepublic Conversion setCurrencyCode(java.lang.String currencyCode)
currencyCode
- currencyCode or null
for nonepublic java.util.List<CustomDimension> getCustomDimension()
null
for nonepublic Conversion setCustomDimension(java.util.List<CustomDimension> customDimension)
customDimension
- customDimension or null
for nonepublic java.util.List<CustomMetric> getCustomMetric()
null
for nonepublic Conversion setCustomMetric(java.util.List<CustomMetric> customMetric)
customMetric
- customMetric or null
for nonepublic java.lang.String getDeviceType()
null
for nonepublic Conversion setDeviceType(java.lang.String deviceType)
deviceType
- deviceType or null
for nonepublic java.lang.Long getDsConversionId()
null
for nonepublic Conversion setDsConversionId(java.lang.Long dsConversionId)
dsConversionId
- dsConversionId or null
for nonepublic java.lang.Long getEngineAccountId()
null
for nonepublic Conversion setEngineAccountId(java.lang.Long engineAccountId)
engineAccountId
- engineAccountId or null
for nonepublic java.lang.String getFloodlightOrderId()
null
for nonepublic Conversion setFloodlightOrderId(java.lang.String floodlightOrderId)
floodlightOrderId
- floodlightOrderId or null
for nonepublic java.lang.Long getInventoryAccountId()
null
for nonepublic Conversion setInventoryAccountId(java.lang.Long inventoryAccountId)
inventoryAccountId
- inventoryAccountId or null
for nonepublic java.lang.String getProductCountry()
null
for nonepublic Conversion setProductCountry(java.lang.String productCountry)
productCountry
- productCountry or null
for nonepublic java.lang.Long getProductGroupId()
null
for nonepublic Conversion setProductGroupId(java.lang.Long productGroupId)
productGroupId
- productGroupId or null
for nonepublic java.lang.String getProductId()
null
for nonepublic Conversion setProductId(java.lang.String productId)
productId
- productId or null
for nonepublic java.lang.String getProductLanguage()
null
for nonepublic Conversion setProductLanguage(java.lang.String productLanguage)
productLanguage
- productLanguage or null
for nonepublic java.lang.Long getQuantityMillis()
null
for nonepublic Conversion setQuantityMillis(java.lang.Long quantityMillis)
quantityMillis
- quantityMillis or null
for nonepublic java.lang.Long getRevenueMicros()
null
for nonepublic Conversion setRevenueMicros(java.lang.Long revenueMicros)
revenueMicros
- revenueMicros or null
for nonepublic java.lang.Long getSegmentationId()
null
for nonepublic Conversion setSegmentationId(java.lang.Long segmentationId)
segmentationId
- segmentationId or null
for nonepublic java.lang.String getSegmentationName()
null
for nonepublic Conversion setSegmentationName(java.lang.String segmentationName)
segmentationName
- segmentationName or null
for nonepublic java.lang.String getSegmentationType()
null
for nonepublic Conversion setSegmentationType(java.lang.String segmentationType)
segmentationType
- segmentationType or null
for nonepublic java.lang.String getState()
null
for nonepublic Conversion setState(java.lang.String state)
state
- state or null
for nonepublic java.lang.String getStoreId()
null
for nonepublic Conversion setStoreId(java.lang.String storeId)
storeId
- storeId or null
for nonepublic java.lang.String getType()
null
for nonepublic Conversion setType(java.lang.String type)
type
- type or null
for nonepublic Conversion set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Conversion clone()
clone
in class com.google.api.client.json.GenericJson