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. |
| 123 | "dsConversionId": "A String", # DS conversion ID. |
| 124 | "campaignId": "A String", # DS campaign ID. |
| 125 | "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. |
| 126 | "advertiserId": "A String", # DS advertiser ID. |
| 127 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 128 | "clickId": "A String", # DS click ID for the conversion. |
| 129 | "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. |
| 130 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
| 131 | "state": "A String", # The state of the conversion, that is, either ACTIVE or DELETED. |
| 132 | "adId": "A String", # DS ad ID. |
| 133 | "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. |
| 134 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
| 135 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 136 | "agencyId": "A String", # DS agency ID. |
| 137 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 138 | "criterionId": "A String", # DS criterion (keyword) ID. |
| 139 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 140 | "customMetric": [ # Custom metrics for the conversion. |
| 141 | { # A message containing the custome metric. |
| 142 | "name": "A String", # Custom metric name. |
| 143 | "value": 3.14, # Custom metric numeric value. |
| 144 | }, |
| 145 | ], |
| 146 | "engineAccountId": "A String", # DS engine account ID. |
| 147 | "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). |
| 148 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 149 | }, |
| 150 | ], |
| 151 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 152 | }</pre> |
| 153 | </div> |
| 154 | |
| 155 | <div class="method"> |
| 156 | <code class="details" id="insert">insert(body)</code> |
| 157 | <pre>Inserts a batch of new conversions into DoubleClick Search. |
| 158 | |
| 159 | Args: |
| 160 | body: object, The request body. (required) |
| 161 | The object takes the form of: |
| 162 | |
| 163 | { # A list of conversions. |
| 164 | "conversion": [ # The conversions being requested. |
| 165 | { # A conversion containing data relevant to DoubleClick Search. |
| 166 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 167 | { # A message containing the custome dimension. |
| 168 | "name": "A String", # Custom dimension name. |
| 169 | "value": "A String", # Custom dimension value. |
| 170 | }, |
| 171 | ], |
| 172 | "adGroupId": "A String", # DS ad group ID. |
| 173 | "dsConversionId": "A String", # DS conversion ID. |
| 174 | "campaignId": "A String", # DS campaign ID. |
| 175 | "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. |
| 176 | "advertiserId": "A String", # DS advertiser ID. |
| 177 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 178 | "clickId": "A String", # DS click ID for the conversion. |
| 179 | "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. |
| 180 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
| 181 | "state": "A String", # The state of the conversion, that is, either ACTIVE or DELETED. |
| 182 | "adId": "A String", # DS ad ID. |
| 183 | "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. |
| 184 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
| 185 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 186 | "agencyId": "A String", # DS agency ID. |
| 187 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 188 | "criterionId": "A String", # DS criterion (keyword) ID. |
| 189 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 190 | "customMetric": [ # Custom metrics for the conversion. |
| 191 | { # A message containing the custome metric. |
| 192 | "name": "A String", # Custom metric name. |
| 193 | "value": 3.14, # Custom metric numeric value. |
| 194 | }, |
| 195 | ], |
| 196 | "engineAccountId": "A String", # DS engine account ID. |
| 197 | "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). |
| 198 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 199 | }, |
| 200 | ], |
| 201 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 202 | } |
| 203 | |
| 204 | |
| 205 | Returns: |
| 206 | An object of the form: |
| 207 | |
| 208 | { # A list of conversions. |
| 209 | "conversion": [ # The conversions being requested. |
| 210 | { # A conversion containing data relevant to DoubleClick Search. |
| 211 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 212 | { # A message containing the custome dimension. |
| 213 | "name": "A String", # Custom dimension name. |
| 214 | "value": "A String", # Custom dimension value. |
| 215 | }, |
| 216 | ], |
| 217 | "adGroupId": "A String", # DS ad group ID. |
| 218 | "dsConversionId": "A String", # DS conversion ID. |
| 219 | "campaignId": "A String", # DS campaign ID. |
| 220 | "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. |
| 221 | "advertiserId": "A String", # DS advertiser ID. |
| 222 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 223 | "clickId": "A String", # DS click ID for the conversion. |
| 224 | "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. |
| 225 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
| 226 | "state": "A String", # The state of the conversion, that is, either ACTIVE or DELETED. |
| 227 | "adId": "A String", # DS ad ID. |
| 228 | "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. |
| 229 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
| 230 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 231 | "agencyId": "A String", # DS agency ID. |
| 232 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 233 | "criterionId": "A String", # DS criterion (keyword) ID. |
| 234 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 235 | "customMetric": [ # Custom metrics for the conversion. |
| 236 | { # A message containing the custome metric. |
| 237 | "name": "A String", # Custom metric name. |
| 238 | "value": 3.14, # Custom metric numeric value. |
| 239 | }, |
| 240 | ], |
| 241 | "engineAccountId": "A String", # DS engine account ID. |
| 242 | "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). |
| 243 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 244 | }, |
| 245 | ], |
| 246 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 247 | }</pre> |
| 248 | </div> |
| 249 | |
| 250 | <div class="method"> |
| 251 | <code class="details" id="patch">patch(advertiserId, agencyId, endDate, engineAccountId, rowCount, startDate, startRow, body)</code> |
| 252 | <pre>Updates a batch of conversions in DoubleClick Search. This method supports patch semantics. |
| 253 | |
| 254 | Args: |
| 255 | advertiserId: string, Numeric ID of the advertiser. (required) |
| 256 | agencyId: string, Numeric ID of the agency. (required) |
| 257 | endDate: integer, Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd. (required) |
| 258 | engineAccountId: string, Numeric ID of the engine account. (required) |
| 259 | rowCount: integer, The number of conversions to return per call. (required) |
| 260 | startDate: integer, First date (inclusive) on which to retrieve conversions. Format is yyyymmdd. (required) |
| 261 | startRow: integer, The 0-based starting index for retrieving conversions results. (required) |
| 262 | body: object, The request body. (required) |
| 263 | The object takes the form of: |
| 264 | |
| 265 | { # A list of conversions. |
| 266 | "conversion": [ # The conversions being requested. |
| 267 | { # A conversion containing data relevant to DoubleClick Search. |
| 268 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 269 | { # A message containing the custome dimension. |
| 270 | "name": "A String", # Custom dimension name. |
| 271 | "value": "A String", # Custom dimension value. |
| 272 | }, |
| 273 | ], |
| 274 | "adGroupId": "A String", # DS ad group ID. |
| 275 | "dsConversionId": "A String", # DS conversion ID. |
| 276 | "campaignId": "A String", # DS campaign ID. |
| 277 | "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. |
| 278 | "advertiserId": "A String", # DS advertiser ID. |
| 279 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 280 | "clickId": "A String", # DS click ID for the conversion. |
| 281 | "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. |
| 282 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
| 283 | "state": "A String", # The state of the conversion, that is, either ACTIVE or DELETED. |
| 284 | "adId": "A String", # DS ad ID. |
| 285 | "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. |
| 286 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
| 287 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 288 | "agencyId": "A String", # DS agency ID. |
| 289 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 290 | "criterionId": "A String", # DS criterion (keyword) ID. |
| 291 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 292 | "customMetric": [ # Custom metrics for the conversion. |
| 293 | { # A message containing the custome metric. |
| 294 | "name": "A String", # Custom metric name. |
| 295 | "value": 3.14, # Custom metric numeric value. |
| 296 | }, |
| 297 | ], |
| 298 | "engineAccountId": "A String", # DS engine account ID. |
| 299 | "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). |
| 300 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 301 | }, |
| 302 | ], |
| 303 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 304 | } |
| 305 | |
| 306 | |
| 307 | Returns: |
| 308 | An object of the form: |
| 309 | |
| 310 | { # A list of conversions. |
| 311 | "conversion": [ # The conversions being requested. |
| 312 | { # A conversion containing data relevant to DoubleClick Search. |
| 313 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 314 | { # A message containing the custome dimension. |
| 315 | "name": "A String", # Custom dimension name. |
| 316 | "value": "A String", # Custom dimension value. |
| 317 | }, |
| 318 | ], |
| 319 | "adGroupId": "A String", # DS ad group ID. |
| 320 | "dsConversionId": "A String", # DS conversion ID. |
| 321 | "campaignId": "A String", # DS campaign ID. |
| 322 | "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. |
| 323 | "advertiserId": "A String", # DS advertiser ID. |
| 324 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 325 | "clickId": "A String", # DS click ID for the conversion. |
| 326 | "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. |
| 327 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
| 328 | "state": "A String", # The state of the conversion, that is, either ACTIVE or DELETED. |
| 329 | "adId": "A String", # DS ad ID. |
| 330 | "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. |
| 331 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
| 332 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 333 | "agencyId": "A String", # DS agency ID. |
| 334 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 335 | "criterionId": "A String", # DS criterion (keyword) ID. |
| 336 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 337 | "customMetric": [ # Custom metrics for the conversion. |
| 338 | { # A message containing the custome metric. |
| 339 | "name": "A String", # Custom metric name. |
| 340 | "value": 3.14, # Custom metric numeric value. |
| 341 | }, |
| 342 | ], |
| 343 | "engineAccountId": "A String", # DS engine account ID. |
| 344 | "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). |
| 345 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 346 | }, |
| 347 | ], |
| 348 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 349 | }</pre> |
| 350 | </div> |
| 351 | |
| 352 | <div class="method"> |
| 353 | <code class="details" id="update">update(body)</code> |
| 354 | <pre>Updates a batch of conversions in DoubleClick Search. |
| 355 | |
| 356 | Args: |
| 357 | body: object, The request body. (required) |
| 358 | The object takes the form of: |
| 359 | |
| 360 | { # A list of conversions. |
| 361 | "conversion": [ # The conversions being requested. |
| 362 | { # A conversion containing data relevant to DoubleClick Search. |
| 363 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 364 | { # A message containing the custome dimension. |
| 365 | "name": "A String", # Custom dimension name. |
| 366 | "value": "A String", # Custom dimension value. |
| 367 | }, |
| 368 | ], |
| 369 | "adGroupId": "A String", # DS ad group ID. |
| 370 | "dsConversionId": "A String", # DS conversion ID. |
| 371 | "campaignId": "A String", # DS campaign ID. |
| 372 | "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. |
| 373 | "advertiserId": "A String", # DS advertiser ID. |
| 374 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 375 | "clickId": "A String", # DS click ID for the conversion. |
| 376 | "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. |
| 377 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
| 378 | "state": "A String", # The state of the conversion, that is, either ACTIVE or DELETED. |
| 379 | "adId": "A String", # DS ad ID. |
| 380 | "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. |
| 381 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
| 382 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 383 | "agencyId": "A String", # DS agency ID. |
| 384 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 385 | "criterionId": "A String", # DS criterion (keyword) ID. |
| 386 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 387 | "customMetric": [ # Custom metrics for the conversion. |
| 388 | { # A message containing the custome metric. |
| 389 | "name": "A String", # Custom metric name. |
| 390 | "value": 3.14, # Custom metric numeric value. |
| 391 | }, |
| 392 | ], |
| 393 | "engineAccountId": "A String", # DS engine account ID. |
| 394 | "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). |
| 395 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 396 | }, |
| 397 | ], |
| 398 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 399 | } |
| 400 | |
| 401 | |
| 402 | Returns: |
| 403 | An object of the form: |
| 404 | |
| 405 | { # A list of conversions. |
| 406 | "conversion": [ # The conversions being requested. |
| 407 | { # A conversion containing data relevant to DoubleClick Search. |
| 408 | "customDimension": [ # Custom dimensions for the conversion, which can be used to filter data in a report. |
| 409 | { # A message containing the custome dimension. |
| 410 | "name": "A String", # Custom dimension name. |
| 411 | "value": "A String", # Custom dimension value. |
| 412 | }, |
| 413 | ], |
| 414 | "adGroupId": "A String", # DS ad group ID. |
| 415 | "dsConversionId": "A String", # DS conversion ID. |
| 416 | "campaignId": "A String", # DS campaign ID. |
| 417 | "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. |
| 418 | "advertiserId": "A String", # DS advertiser ID. |
| 419 | "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. |
| 420 | "clickId": "A String", # DS click ID for the conversion. |
| 421 | "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. |
| 422 | "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. |
| 423 | "state": "A String", # The state of the conversion, that is, either ACTIVE or DELETED. |
| 424 | "adId": "A String", # DS ad ID. |
| 425 | "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. |
| 426 | "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. |
| 427 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 428 | "agencyId": "A String", # DS agency ID. |
| 429 | "quantityMillis": "A String", # The quantity of this conversion, in millis. |
| 430 | "criterionId": "A String", # DS criterion (keyword) ID. |
| 431 | "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). |
| 432 | "customMetric": [ # Custom metrics for the conversion. |
| 433 | { # A message containing the custome metric. |
| 434 | "name": "A String", # Custom metric name. |
| 435 | "value": 3.14, # Custom metric numeric value. |
| 436 | }, |
| 437 | ], |
| 438 | "engineAccountId": "A String", # DS engine account ID. |
| 439 | "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). |
| 440 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 441 | }, |
| 442 | ], |
| 443 | "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. |
| 444 | }</pre> |
| 445 | </div> |
| 446 | |
| 447 | <div class="method"> |
| 448 | <code class="details" id="updateAvailability">updateAvailability(body)</code> |
| 449 | <pre>Updates the availabilities of a batch of floodlight activities in DoubleClick Search. |
| 450 | |
| 451 | Args: |
| 452 | body: object, The request body. (required) |
| 453 | The object takes the form of: |
| 454 | |
| 455 | { # The request to update availability. |
| 456 | "availabilities": [ # The availabilities being requested. |
| 457 | { # A message containing availability data relevant to DoubleClick Search. |
| 458 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 459 | "agencyId": "A String", # DS agency ID. |
| 460 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 461 | "availabilityTimestamp": "A String", # The time by which all conversions have been uploaded, in epoch millis UTC. |
| 462 | "advertiserId": "A String", # DS advertiser ID. |
| 463 | "segmentationType": "A String", # The segmentation type that this availability is for (its default value is FLOODLIGHT). |
| 464 | }, |
| 465 | ], |
| 466 | } |
| 467 | |
| 468 | |
| 469 | Returns: |
| 470 | An object of the form: |
| 471 | |
| 472 | { # The response to a update availability request. |
| 473 | "availabilities": [ # The availabilities being returned. |
| 474 | { # A message containing availability data relevant to DoubleClick Search. |
| 475 | "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). |
| 476 | "agencyId": "A String", # DS agency ID. |
| 477 | "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). |
| 478 | "availabilityTimestamp": "A String", # The time by which all conversions have been uploaded, in epoch millis UTC. |
| 479 | "advertiserId": "A String", # DS advertiser ID. |
| 480 | "segmentationType": "A String", # The segmentation type that this availability is for (its default value is FLOODLIGHT). |
| 481 | }, |
| 482 | ], |
| 483 | }</pre> |
| 484 | </div> |
| 485 | |
| 486 | </body></html> |