John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="doubleclicksearch_v2.html">DoubleClick Search API</a> . <a href="doubleclicksearch_v2.conversion.html">conversion</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="#get">get(agencyId, advertiserId, engineAccountId, endDate, rowCount, startDate, startRow, adGroupId=None, campaignId=None, adId=None, criterionId=None)</a></code></p> |
| 79 | <p class="firstline">Retrieves a list of conversions from a DoubleClick Search engine account.</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#insert">insert(body)</a></code></p> |
| 82 | <p class="firstline">Inserts a batch of new conversions into DoubleClick Search.</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#patch">patch(advertiserId, agencyId, endDate, engineAccountId, rowCount, startDate, startRow, body)</a></code></p> |
| 85 | <p class="firstline">Updates a batch of conversions in DoubleClick Search. This method supports patch semantics.</p> |
| 86 | <p class="toc_element"> |
| 87 | <code><a href="#update">update(body)</a></code></p> |
| 88 | <p class="firstline">Updates a batch of conversions in DoubleClick Search.</p> |
| 89 | <p class="toc_element"> |
| 90 | <code><a href="#updateAvailability">updateAvailability(body)</a></code></p> |
| 91 | <p class="firstline">Updates the availabilities of a batch of floodlight activities in DoubleClick Search.</p> |
| 92 | <h3>Method Details</h3> |
| 93 | <div class="method"> |
| 94 | <code class="details" id="get">get(agencyId, advertiserId, engineAccountId, endDate, rowCount, startDate, startRow, adGroupId=None, campaignId=None, adId=None, criterionId=None)</code> |
| 95 | <pre>Retrieves a list of conversions from a DoubleClick Search engine account. |
| 96 | |
| 97 | Args: |
| 98 | agencyId: string, Numeric ID of the agency. (required) |
| 99 | advertiserId: string, Numeric ID of the advertiser. (required) |
| 100 | engineAccountId: string, Numeric ID of the engine account. (required) |
| 101 | endDate: integer, Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd. (required) |
| 102 | rowCount: integer, The number of conversions to return per call. (required) |
| 103 | startDate: integer, First date (inclusive) on which to retrieve conversions. Format is yyyymmdd. (required) |
| 104 | startRow: integer, The 0-based starting index for retrieving conversions results. (required) |
| 105 | adGroupId: string, Numeric ID of the ad group. |
| 106 | campaignId: string, Numeric ID of the campaign. |
| 107 | adId: string, Numeric ID of the ad. |
| 108 | criterionId: string, Numeric ID of the criterion. |
| 109 | |
| 110 | Returns: |
| 111 | An object of the form: |
| 112 | |
| 113 | { # A list of conversions. |
| 114 | "conversion": [ # The conversions being requested. |
| 115 | { # A conversion containing data relevant to DoubleClick Search. |
| 116 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 117 | { # A message containing the custome dimension. |
| 118 | "name": "A String", # Custom dimension name. |
| 119 | "value": "A String", # Custom dimension value. |
| 120 | }, |
| 121 | ], |
| 122 | "adGroupId": "A String", # DS ad group ID. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 123 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 124 | "attributionModel": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 125 | "campaignId": "A String", # DS campaign ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 126 | "revenueMicros": "A 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. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 127 | "advertiserId": "A String", # DS advertiser ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 128 | "countMillis": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 129 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 130 | "clickId": "A String", # DS click ID for the conversion. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 131 | "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 132 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 133 | "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 134 | "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 135 | "deviceType": "A String", # The type of device on which the conversion occurred. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 136 | "adId": "A String", # DS ad ID. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 137 | "conversionId": "A 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. |
| 138 | # For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 139 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 140 | "channel": "A String", # Sales channel for the product. Acceptable values are: |
| 141 | # - "local": a physical store |
| 142 | # - "online": an online store |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 143 | "productId": "A String", # The product ID (SKU). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 144 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 145 | "agencyId": "A String", # DS agency ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 146 | "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 147 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 148 | "criterionId": "A String", # DS criterion (keyword) ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 149 | "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 150 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 151 | "customMetric": [ # Custom metrics for the conversion. |
| 152 | { # A message containing the custome metric. |
| 153 | "name": "A String", # Custom metric name. |
| 154 | "value": 3.14, # Custom metric numeric value. |
| 155 | }, |
| 156 | ], |
| 157 | "engineAccountId": "A String", # DS engine account ID. |
| 158 | "type": "A 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). |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 159 | "productGroupId": "A String", # DS product group ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 160 | "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. |
| 161 | "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 162 | }, |
| 163 | ], |
| 164 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 165 | }</pre> |
| 166 | </div> |
| 167 | |
| 168 | <div class="method"> |
| 169 | <code class="details" id="insert">insert(body)</code> |
| 170 | <pre>Inserts a batch of new conversions into DoubleClick Search. |
| 171 | |
| 172 | Args: |
| 173 | body: object, The request body. (required) |
| 174 | The object takes the form of: |
| 175 | |
| 176 | { # A list of conversions. |
| 177 | "conversion": [ # The conversions being requested. |
| 178 | { # A conversion containing data relevant to DoubleClick Search. |
| 179 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 180 | { # A message containing the custome dimension. |
| 181 | "name": "A String", # Custom dimension name. |
| 182 | "value": "A String", # Custom dimension value. |
| 183 | }, |
| 184 | ], |
| 185 | "adGroupId": "A String", # DS ad group ID. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 186 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 187 | "attributionModel": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 188 | "campaignId": "A String", # DS campaign ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 189 | "revenueMicros": "A 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. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 190 | "advertiserId": "A String", # DS advertiser ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 191 | "countMillis": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 192 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 193 | "clickId": "A String", # DS click ID for the conversion. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 194 | "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 195 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 196 | "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 197 | "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 198 | "deviceType": "A String", # The type of device on which the conversion occurred. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 199 | "adId": "A String", # DS ad ID. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 200 | "conversionId": "A 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. |
| 201 | # For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 202 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 203 | "channel": "A String", # Sales channel for the product. Acceptable values are: |
| 204 | # - "local": a physical store |
| 205 | # - "online": an online store |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 206 | "productId": "A String", # The product ID (SKU). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 207 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 208 | "agencyId": "A String", # DS agency ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 209 | "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 210 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 211 | "criterionId": "A String", # DS criterion (keyword) ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 212 | "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 213 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 214 | "customMetric": [ # Custom metrics for the conversion. |
| 215 | { # A message containing the custome metric. |
| 216 | "name": "A String", # Custom metric name. |
| 217 | "value": 3.14, # Custom metric numeric value. |
| 218 | }, |
| 219 | ], |
| 220 | "engineAccountId": "A String", # DS engine account ID. |
| 221 | "type": "A 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). |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 222 | "productGroupId": "A String", # DS product group ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 223 | "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. |
| 224 | "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 225 | }, |
| 226 | ], |
| 227 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 228 | } |
| 229 | |
| 230 | |
| 231 | Returns: |
| 232 | An object of the form: |
| 233 | |
| 234 | { # A list of conversions. |
| 235 | "conversion": [ # The conversions being requested. |
| 236 | { # A conversion containing data relevant to DoubleClick Search. |
| 237 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 238 | { # A message containing the custome dimension. |
| 239 | "name": "A String", # Custom dimension name. |
| 240 | "value": "A String", # Custom dimension value. |
| 241 | }, |
| 242 | ], |
| 243 | "adGroupId": "A String", # DS ad group ID. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 244 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 245 | "attributionModel": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 246 | "campaignId": "A String", # DS campaign ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 247 | "revenueMicros": "A 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. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 248 | "advertiserId": "A String", # DS advertiser ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 249 | "countMillis": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 250 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 251 | "clickId": "A String", # DS click ID for the conversion. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 252 | "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 253 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 254 | "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 255 | "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 256 | "deviceType": "A String", # The type of device on which the conversion occurred. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 257 | "adId": "A String", # DS ad ID. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 258 | "conversionId": "A 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. |
| 259 | # For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 260 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 261 | "channel": "A String", # Sales channel for the product. Acceptable values are: |
| 262 | # - "local": a physical store |
| 263 | # - "online": an online store |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 264 | "productId": "A String", # The product ID (SKU). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 265 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 266 | "agencyId": "A String", # DS agency ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 267 | "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 268 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 269 | "criterionId": "A String", # DS criterion (keyword) ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 270 | "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 271 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 272 | "customMetric": [ # Custom metrics for the conversion. |
| 273 | { # A message containing the custome metric. |
| 274 | "name": "A String", # Custom metric name. |
| 275 | "value": 3.14, # Custom metric numeric value. |
| 276 | }, |
| 277 | ], |
| 278 | "engineAccountId": "A String", # DS engine account ID. |
| 279 | "type": "A 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). |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 280 | "productGroupId": "A String", # DS product group ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 281 | "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. |
| 282 | "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 283 | }, |
| 284 | ], |
| 285 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 286 | }</pre> |
| 287 | </div> |
| 288 | |
| 289 | <div class="method"> |
| 290 | <code class="details" id="patch">patch(advertiserId, agencyId, endDate, engineAccountId, rowCount, startDate, startRow, body)</code> |
| 291 | <pre>Updates a batch of conversions in DoubleClick Search. This method supports patch semantics. |
| 292 | |
| 293 | Args: |
| 294 | advertiserId: string, Numeric ID of the advertiser. (required) |
| 295 | agencyId: string, Numeric ID of the agency. (required) |
| 296 | endDate: integer, Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd. (required) |
| 297 | engineAccountId: string, Numeric ID of the engine account. (required) |
| 298 | rowCount: integer, The number of conversions to return per call. (required) |
| 299 | startDate: integer, First date (inclusive) on which to retrieve conversions. Format is yyyymmdd. (required) |
| 300 | startRow: integer, The 0-based starting index for retrieving conversions results. (required) |
| 301 | body: object, The request body. (required) |
| 302 | The object takes the form of: |
| 303 | |
| 304 | { # A list of conversions. |
| 305 | "conversion": [ # The conversions being requested. |
| 306 | { # A conversion containing data relevant to DoubleClick Search. |
| 307 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 308 | { # A message containing the custome dimension. |
| 309 | "name": "A String", # Custom dimension name. |
| 310 | "value": "A String", # Custom dimension value. |
| 311 | }, |
| 312 | ], |
| 313 | "adGroupId": "A String", # DS ad group ID. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 314 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 315 | "attributionModel": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 316 | "campaignId": "A String", # DS campaign ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 317 | "revenueMicros": "A 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. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 318 | "advertiserId": "A String", # DS advertiser ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 319 | "countMillis": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 320 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 321 | "clickId": "A String", # DS click ID for the conversion. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 322 | "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 323 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 324 | "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 325 | "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 326 | "deviceType": "A String", # The type of device on which the conversion occurred. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 327 | "adId": "A String", # DS ad ID. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 328 | "conversionId": "A 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. |
| 329 | # For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 330 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 331 | "channel": "A String", # Sales channel for the product. Acceptable values are: |
| 332 | # - "local": a physical store |
| 333 | # - "online": an online store |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 334 | "productId": "A String", # The product ID (SKU). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 335 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 336 | "agencyId": "A String", # DS agency ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 337 | "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 338 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 339 | "criterionId": "A String", # DS criterion (keyword) ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 340 | "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 341 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 342 | "customMetric": [ # Custom metrics for the conversion. |
| 343 | { # A message containing the custome metric. |
| 344 | "name": "A String", # Custom metric name. |
| 345 | "value": 3.14, # Custom metric numeric value. |
| 346 | }, |
| 347 | ], |
| 348 | "engineAccountId": "A String", # DS engine account ID. |
| 349 | "type": "A 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). |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 350 | "productGroupId": "A String", # DS product group ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 351 | "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. |
| 352 | "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 353 | }, |
| 354 | ], |
| 355 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 356 | } |
| 357 | |
| 358 | |
| 359 | Returns: |
| 360 | An object of the form: |
| 361 | |
| 362 | { # A list of conversions. |
| 363 | "conversion": [ # The conversions being requested. |
| 364 | { # A conversion containing data relevant to DoubleClick Search. |
| 365 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 366 | { # A message containing the custome dimension. |
| 367 | "name": "A String", # Custom dimension name. |
| 368 | "value": "A String", # Custom dimension value. |
| 369 | }, |
| 370 | ], |
| 371 | "adGroupId": "A String", # DS ad group ID. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 372 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 373 | "attributionModel": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 374 | "campaignId": "A String", # DS campaign ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 375 | "revenueMicros": "A 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. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 376 | "advertiserId": "A String", # DS advertiser ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 377 | "countMillis": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 378 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 379 | "clickId": "A String", # DS click ID for the conversion. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 380 | "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 381 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 382 | "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 383 | "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 384 | "deviceType": "A String", # The type of device on which the conversion occurred. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 385 | "adId": "A String", # DS ad ID. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 386 | "conversionId": "A 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. |
| 387 | # For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 388 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 389 | "channel": "A String", # Sales channel for the product. Acceptable values are: |
| 390 | # - "local": a physical store |
| 391 | # - "online": an online store |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 392 | "productId": "A String", # The product ID (SKU). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 393 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 394 | "agencyId": "A String", # DS agency ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 395 | "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 396 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 397 | "criterionId": "A String", # DS criterion (keyword) ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 398 | "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 399 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 400 | "customMetric": [ # Custom metrics for the conversion. |
| 401 | { # A message containing the custome metric. |
| 402 | "name": "A String", # Custom metric name. |
| 403 | "value": 3.14, # Custom metric numeric value. |
| 404 | }, |
| 405 | ], |
| 406 | "engineAccountId": "A String", # DS engine account ID. |
| 407 | "type": "A 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). |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 408 | "productGroupId": "A String", # DS product group ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 409 | "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. |
| 410 | "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 411 | }, |
| 412 | ], |
| 413 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 414 | }</pre> |
| 415 | </div> |
| 416 | |
| 417 | <div class="method"> |
| 418 | <code class="details" id="update">update(body)</code> |
| 419 | <pre>Updates a batch of conversions in DoubleClick Search. |
| 420 | |
| 421 | Args: |
| 422 | body: object, The request body. (required) |
| 423 | The object takes the form of: |
| 424 | |
| 425 | { # A list of conversions. |
| 426 | "conversion": [ # The conversions being requested. |
| 427 | { # A conversion containing data relevant to DoubleClick Search. |
| 428 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 429 | { # A message containing the custome dimension. |
| 430 | "name": "A String", # Custom dimension name. |
| 431 | "value": "A String", # Custom dimension value. |
| 432 | }, |
| 433 | ], |
| 434 | "adGroupId": "A String", # DS ad group ID. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 435 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 436 | "attributionModel": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 437 | "campaignId": "A String", # DS campaign ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 438 | "revenueMicros": "A 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. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 439 | "advertiserId": "A String", # DS advertiser ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 440 | "countMillis": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 441 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 442 | "clickId": "A String", # DS click ID for the conversion. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 443 | "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 444 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 445 | "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 446 | "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 447 | "deviceType": "A String", # The type of device on which the conversion occurred. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 448 | "adId": "A String", # DS ad ID. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 449 | "conversionId": "A 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. |
| 450 | # For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 451 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 452 | "channel": "A String", # Sales channel for the product. Acceptable values are: |
| 453 | # - "local": a physical store |
| 454 | # - "online": an online store |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 455 | "productId": "A String", # The product ID (SKU). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 456 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 457 | "agencyId": "A String", # DS agency ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 458 | "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 459 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 460 | "criterionId": "A String", # DS criterion (keyword) ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 461 | "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 462 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 463 | "customMetric": [ # Custom metrics for the conversion. |
| 464 | { # A message containing the custome metric. |
| 465 | "name": "A String", # Custom metric name. |
| 466 | "value": 3.14, # Custom metric numeric value. |
| 467 | }, |
| 468 | ], |
| 469 | "engineAccountId": "A String", # DS engine account ID. |
| 470 | "type": "A 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). |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 471 | "productGroupId": "A String", # DS product group ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 472 | "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. |
| 473 | "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 474 | }, |
| 475 | ], |
| 476 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 477 | } |
| 478 | |
| 479 | |
| 480 | Returns: |
| 481 | An object of the form: |
| 482 | |
| 483 | { # A list of conversions. |
| 484 | "conversion": [ # The conversions being requested. |
| 485 | { # A conversion containing data relevant to DoubleClick Search. |
| 486 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 487 | { # A message containing the custome dimension. |
| 488 | "name": "A String", # Custom dimension name. |
| 489 | "value": "A String", # Custom dimension value. |
| 490 | }, |
| 491 | ], |
| 492 | "adGroupId": "A String", # DS ad group ID. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 493 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 494 | "attributionModel": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 495 | "campaignId": "A String", # DS campaign ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 496 | "revenueMicros": "A 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. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 497 | "advertiserId": "A String", # DS advertiser ID. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 498 | "countMillis": "A String", # Available to advertisers only after contacting DoubleClick Search customer support. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 499 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 500 | "clickId": "A String", # DS click ID for the conversion. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 501 | "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 502 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 503 | "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 504 | "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 505 | "deviceType": "A String", # The type of device on which the conversion occurred. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 506 | "adId": "A String", # DS ad ID. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 507 | "conversionId": "A 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. |
| 508 | # For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 509 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 510 | "channel": "A String", # Sales channel for the product. Acceptable values are: |
| 511 | # - "local": a physical store |
| 512 | # - "online": an online store |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 513 | "productId": "A String", # The product ID (SKU). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 514 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 515 | "agencyId": "A String", # DS agency ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 516 | "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 517 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 518 | "criterionId": "A String", # DS criterion (keyword) ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 519 | "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 520 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 521 | "customMetric": [ # Custom metrics for the conversion. |
| 522 | { # A message containing the custome metric. |
| 523 | "name": "A String", # Custom metric name. |
| 524 | "value": 3.14, # Custom metric numeric value. |
| 525 | }, |
| 526 | ], |
| 527 | "engineAccountId": "A String", # DS engine account ID. |
| 528 | "type": "A 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). |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 529 | "productGroupId": "A String", # DS product group ID. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 530 | "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. |
| 531 | "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 532 | }, |
| 533 | ], |
| 534 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 535 | }</pre> |
| 536 | </div> |
| 537 | |
| 538 | <div class="method"> |
| 539 | <code class="details" id="updateAvailability">updateAvailability(body)</code> |
| 540 | <pre>Updates the availabilities of a batch of floodlight activities in DoubleClick Search. |
| 541 | |
| 542 | Args: |
| 543 | body: object, The request body. (required) |
| 544 | The object takes the form of: |
| 545 | |
| 546 | { # The request to update availability. |
| 547 | "availabilities": [ # The availabilities being requested. |
| 548 | { # A message containing availability data relevant to DoubleClick Search. |
| 549 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 550 | "agencyId": "A String", # DS agency ID. |
| 551 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 552 | "availabilityTimestamp": "A String", # The time by which all conversions have been uploaded, in epoch millis UTC. |
| 553 | "advertiserId": "A String", # DS advertiser ID. |
| 554 | "segmentationType": "A String", # The segmentation type that this availability is for (its default value is FLOODLIGHT). |
| 555 | }, |
| 556 | ], |
| 557 | } |
| 558 | |
| 559 | |
| 560 | Returns: |
| 561 | An object of the form: |
| 562 | |
| 563 | { # The response to a update availability request. |
| 564 | "availabilities": [ # The availabilities being returned. |
| 565 | { # A message containing availability data relevant to DoubleClick Search. |
| 566 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 567 | "agencyId": "A String", # DS agency ID. |
| 568 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 569 | "availabilityTimestamp": "A String", # The time by which all conversions have been uploaded, in epoch millis UTC. |
| 570 | "advertiserId": "A String", # DS advertiser ID. |
| 571 | "segmentationType": "A String", # The segmentation type that this availability is for (its default value is FLOODLIGHT). |
| 572 | }, |
| 573 | ], |
| 574 | }</pre> |
| 575 | </div> |
| 576 | |
| 577 | </body></html> |