The conversion resource has methods that allow users to create, modify and retrieve Floodlight conversions in bulk.
For a list of methods for this resource, see the end of this page.
Resource representations
A list of conversions.
{ "kind" : "doubleclicksearch#conversionList" , "conversion" : [ { "agencyId" : long , "advertiserId" : long , "engineAccountId" : long , "campaignId" : long , "customerId" : string , "adGroupId" : long , "criterionId" : long , "adId" : long , "clickId" : string , "dsConversionId" : long , "conversionId" : string , "state" : string , "type" : string , "revenueMicros" : long , "currencyCode" : string , "quantityMillis" : long , "segmentationType" : string , "segmentationId" : long , "segmentationName" : string , "conversionTimestamp" : unsigned long , "conversionModifiedTimestamp" : unsigned long , "floodlightOrderId" : string , "customMetric" : [ { "name" : string , "value" : double } ], "customDimension" : [ { "name" : string , "value" : string } ], "countMillis" : long , "attributionModel" : string , "productGroupId" : long , "inventoryAccountId" : long , "productId" : string , "productCountry" : string , "productLanguage" : string , "channel" : string , "storeId" : string , "deviceType" : string , "adUserDataConsent" : string , "sessionAttributesEncoded" : bytes } ] }
conversion[]
list
conversion[].
adGroupId
long
conversion[].
adId
long
conversion[].
adUserDataConsent
string
Acceptable values are:
- "
DENIED
" - "
GRANTED
" - "
UNKNOWN
"
conversion[].
advertiserId
long
conversion[].
agencyId
long
conversion[].
attributionModel
string
conversion[].
campaignId
long
conversion[].
channel
string
- "
local
": a physical store - "
online
": an online store
conversion[].
clickId
string
conversion[].
conversionId
string
For online conversions, DS copies the
dsConversionId
or floodlightOrderId
into this property depending on the advertiser's Floodlight instructions. conversion[].
conversionModifiedTimestamp
unsigned long
conversion[].
conversionTimestamp
unsigned long
conversion[].
countMillis
long
conversion[].
criterionId
long
conversion[].
currencyCode
string
conversion[].
customDimension[]
list
conversion[].customDimension[].
name
string
conversion[].customDimension[].
value
string
conversion[].
customMetric[]
list
conversion[].customMetric[].
name
string
conversion[].customMetric[].
value
double
conversion[].
customerId
string
conversion[].
deviceType
string
Acceptable values are:
- "
DESKTOP
" - "
HIGH_END_MOBILE
" - "
OTHER_DEVICE
" - "
TABLET
"
conversion[].
dsConversionId
long
conversion[].
engineAccountId
long
conversion[].
floodlightOrderId
string
conversion[].
inventoryAccountId
long
conversion[].
productCountry
string
conversion[].
productGroupId
long
conversion[].
productId
string
conversion[].
productLanguage
string
conversion[].
quantityMillis
long
conversion[].
revenueMicros
long
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. conversion[].
segmentationId
long
conversion[].
segmentationName
string
conversion[].
segmentationType
string
FLOODLIGHT
).Acceptable values are:
- "
FLOODLIGHT
"
conversion[].
sessionAttributesEncoded
bytes
conversion[].
state
string
ACTIVE
or REMOVED
. Note: state DELETED is deprecated.Acceptable values are:
- "
ACTIVE
" - "
DELETED
": (Deprecated) - "
REMOVED
"
conversion[].
storeId
string
local
". conversion[].
type
string
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
).Acceptable values are:
- "
ACTION
" - "
TRANSACTION
"
kind
string
doubleclicksearch#conversionList
.Methods
- get
- Retrieves a list of conversions from a DoubleClick Search engine account.
- getByCustomerId
- Retrieves a list of conversions from a DoubleClick Search engine account using a new Search Ads 360 customer ID.
- insert
- Inserts a batch of new conversions into DoubleClick Search.
- update
- Updates a batch of conversions in DoubleClick Search.
- updateAvailability
- Updates the availabilities of a batch of floodlight activities in DoubleClick Search.