blob: 53ef3bb4c98f47c4f4e16fdee679b75146a5db0d [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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
Dan O'Mearadd494642020-05-01 07:42:23 -070075<h1><a href="doubleclicksearch_v2.html">Search Ads 360 API</a> . <a href="doubleclicksearch_v2.conversion.html">conversion</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080081 <code><a href="#get">get(agencyId, advertiserId, engineAccountId, endDate, rowCount, startDate, startRow, criterionId=None, campaignId=None, adGroupId=None, adId=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Retrieves a list of conversions from a DoubleClick Search engine account.</p>
83<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#insert">insert(body=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Inserts a batch of new conversions into DoubleClick Search.</p>
86<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#update">update(body=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Updates a batch of conversions in DoubleClick Search.</p>
89<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#updateAvailability">updateAvailability(body=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070094 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080099 <code class="details" id="get">get(agencyId, advertiserId, engineAccountId, endDate, rowCount, startDate, startRow, criterionId=None, campaignId=None, adGroupId=None, adId=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400100 <pre>Retrieves a list of conversions from a DoubleClick Search engine account.
101
102Args:
103 agencyId: string, Numeric ID of the agency. (required)
104 advertiserId: string, Numeric ID of the advertiser. (required)
105 engineAccountId: string, Numeric ID of the engine account. (required)
106 endDate: integer, Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd. (required)
107 rowCount: integer, The number of conversions to return per call. (required)
108 startDate: integer, First date (inclusive) on which to retrieve conversions. Format is yyyymmdd. (required)
109 startRow: integer, The 0-based starting index for retrieving conversions results. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700110 criterionId: string, Numeric ID of the criterion.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800111 campaignId: string, Numeric ID of the campaign.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800112 adGroupId: string, Numeric ID of the ad group.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700113 adId: string, Numeric ID of the ad.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400118
119Returns:
120 An object of the form:
121
122 { # A list of conversions.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800123 &quot;conversion&quot;: [ # The conversions being requested.
124 { # A conversion containing data relevant to DoubleClick Search.
125 &quot;segmentationType&quot;: &quot;A String&quot;, # The segmentation type of this conversion (for example, `FLOODLIGHT`).
126 &quot;criterionId&quot;: &quot;A String&quot;, # DS criterion (keyword) ID.
127 &quot;productCountry&quot;: &quot;A String&quot;, # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country.
128 &quot;conversionId&quot;: &quot;A String&quot;, # 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. For online conversions, DS copies the `dsConversionId` or `floodlightOrderId` into this property depending on the advertiser&#x27;s Floodlight instructions.
129 &quot;floodlightOrderId&quot;: &quot;A String&quot;, # The Floodlight order ID provided by the advertiser for the conversion.
130 &quot;conversionModifiedTimestamp&quot;: &quot;A String&quot;, # The time at which the conversion was last modified, in epoch millis UTC.
131 &quot;storeId&quot;: &quot;A String&quot;, # The ID of the local store for which the product was advertised. Applicable only when the channel is &quot;`local`&quot;.
132 &quot;quantityMillis&quot;: &quot;A String&quot;, # The quantity of this conversion, in millis.
133 &quot;clickId&quot;: &quot;A String&quot;, # DS click ID for the conversion.
134 &quot;revenueMicros&quot;: &quot;A String&quot;, # The revenue amount of this `TRANSACTION` conversion, in micros (value multiplied by 1000000, no decimal). For example, to specify a revenue value of &quot;10&quot; enter &quot;10000000&quot; (10 million) in your request.
135 &quot;currencyCode&quot;: &quot;A String&quot;, # The currency code for the conversion&#x27;s revenue. Should be in ISO 4217 alphabetic (3-char) format.
136 &quot;productGroupId&quot;: &quot;A String&quot;, # DS product group ID.
137 &quot;customMetric&quot;: [ # Custom metrics for the conversion.
138 { # A message containing the custom metric.
139 &quot;value&quot;: 3.14, # Custom metric numeric value.
140 &quot;name&quot;: &quot;A String&quot;, # Custom metric name.
141 },
142 ],
143 &quot;attributionModel&quot;: &quot;A String&quot;, # Available to advertisers only after contacting DoubleClick Search customer support.
144 &quot;conversionTimestamp&quot;: &quot;A String&quot;, # The time at which the conversion took place, in epoch millis UTC.
145 &quot;customDimension&quot;: [ # Custom dimensions for the conversion, which can be used to filter data in a report.
146 { # A message containing the custom dimension.
147 &quot;name&quot;: &quot;A String&quot;, # Custom dimension name.
148 &quot;value&quot;: &quot;A String&quot;, # Custom dimension value.
149 },
150 ],
151 &quot;segmentationName&quot;: &quot;A String&quot;, # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).
152 &quot;productLanguage&quot;: &quot;A String&quot;, # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language.
153 &quot;state&quot;: &quot;A String&quot;, # The state of the conversion, that is, either `ACTIVE` or `REMOVED`. Note: state DELETED is deprecated.
154 &quot;channel&quot;: &quot;A String&quot;, # Sales channel for the product. Acceptable values are: - &quot;`local`&quot;: a physical store - &quot;`online`&quot;: an online store
155 &quot;adId&quot;: &quot;A String&quot;, # DS ad ID.
156 &quot;campaignId&quot;: &quot;A String&quot;, # DS campaign ID.
157 &quot;engineAccountId&quot;: &quot;A String&quot;, # DS engine account ID.
158 &quot;productId&quot;: &quot;A String&quot;, # The product ID (SKU).
159 &quot;countMillis&quot;: &quot;A String&quot;, # Available to advertisers only after contacting DoubleClick Search customer support.
160 &quot;inventoryAccountId&quot;: &quot;A String&quot;, # ID that DS generates and uses to uniquely identify the inventory account that contains the product.
161 &quot;segmentationId&quot;: &quot;A String&quot;, # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
162 &quot;dsConversionId&quot;: &quot;A String&quot;, # ID that DoubleClick Search generates for each conversion.
163 &quot;adGroupId&quot;: &quot;A String&quot;, # DS ad group ID.
164 &quot;advertiserId&quot;: &quot;A String&quot;, # DS advertiser ID.
165 &quot;deviceType&quot;: &quot;A String&quot;, # The type of device on which the conversion occurred.
166 &quot;agencyId&quot;: &quot;A String&quot;, # DS agency ID.
167 &quot;type&quot;: &quot;A String&quot;, # 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`).
168 },
169 ],
170 &quot;kind&quot;: &quot;A String&quot;, # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList.
171 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400172</div>
173
174<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700175 <code class="details" id="insert">insert(body=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400176 <pre>Inserts a batch of new conversions into DoubleClick Search.
177
178Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700179 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400180 The object takes the form of:
181
182{ # A list of conversions.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800183 &quot;conversion&quot;: [ # The conversions being requested.
184 { # A conversion containing data relevant to DoubleClick Search.
185 &quot;segmentationType&quot;: &quot;A String&quot;, # The segmentation type of this conversion (for example, `FLOODLIGHT`).
186 &quot;criterionId&quot;: &quot;A String&quot;, # DS criterion (keyword) ID.
187 &quot;productCountry&quot;: &quot;A String&quot;, # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country.
188 &quot;conversionId&quot;: &quot;A String&quot;, # 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. For online conversions, DS copies the `dsConversionId` or `floodlightOrderId` into this property depending on the advertiser&#x27;s Floodlight instructions.
189 &quot;floodlightOrderId&quot;: &quot;A String&quot;, # The Floodlight order ID provided by the advertiser for the conversion.
190 &quot;conversionModifiedTimestamp&quot;: &quot;A String&quot;, # The time at which the conversion was last modified, in epoch millis UTC.
191 &quot;storeId&quot;: &quot;A String&quot;, # The ID of the local store for which the product was advertised. Applicable only when the channel is &quot;`local`&quot;.
192 &quot;quantityMillis&quot;: &quot;A String&quot;, # The quantity of this conversion, in millis.
193 &quot;clickId&quot;: &quot;A String&quot;, # DS click ID for the conversion.
194 &quot;revenueMicros&quot;: &quot;A String&quot;, # The revenue amount of this `TRANSACTION` conversion, in micros (value multiplied by 1000000, no decimal). For example, to specify a revenue value of &quot;10&quot; enter &quot;10000000&quot; (10 million) in your request.
195 &quot;currencyCode&quot;: &quot;A String&quot;, # The currency code for the conversion&#x27;s revenue. Should be in ISO 4217 alphabetic (3-char) format.
196 &quot;productGroupId&quot;: &quot;A String&quot;, # DS product group ID.
197 &quot;customMetric&quot;: [ # Custom metrics for the conversion.
198 { # A message containing the custom metric.
199 &quot;value&quot;: 3.14, # Custom metric numeric value.
200 &quot;name&quot;: &quot;A String&quot;, # Custom metric name.
201 },
202 ],
203 &quot;attributionModel&quot;: &quot;A String&quot;, # Available to advertisers only after contacting DoubleClick Search customer support.
204 &quot;conversionTimestamp&quot;: &quot;A String&quot;, # The time at which the conversion took place, in epoch millis UTC.
205 &quot;customDimension&quot;: [ # Custom dimensions for the conversion, which can be used to filter data in a report.
206 { # A message containing the custom dimension.
207 &quot;name&quot;: &quot;A String&quot;, # Custom dimension name.
208 &quot;value&quot;: &quot;A String&quot;, # Custom dimension value.
209 },
210 ],
211 &quot;segmentationName&quot;: &quot;A String&quot;, # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).
212 &quot;productLanguage&quot;: &quot;A String&quot;, # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language.
213 &quot;state&quot;: &quot;A String&quot;, # The state of the conversion, that is, either `ACTIVE` or `REMOVED`. Note: state DELETED is deprecated.
214 &quot;channel&quot;: &quot;A String&quot;, # Sales channel for the product. Acceptable values are: - &quot;`local`&quot;: a physical store - &quot;`online`&quot;: an online store
215 &quot;adId&quot;: &quot;A String&quot;, # DS ad ID.
216 &quot;campaignId&quot;: &quot;A String&quot;, # DS campaign ID.
217 &quot;engineAccountId&quot;: &quot;A String&quot;, # DS engine account ID.
218 &quot;productId&quot;: &quot;A String&quot;, # The product ID (SKU).
219 &quot;countMillis&quot;: &quot;A String&quot;, # Available to advertisers only after contacting DoubleClick Search customer support.
220 &quot;inventoryAccountId&quot;: &quot;A String&quot;, # ID that DS generates and uses to uniquely identify the inventory account that contains the product.
221 &quot;segmentationId&quot;: &quot;A String&quot;, # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
222 &quot;dsConversionId&quot;: &quot;A String&quot;, # ID that DoubleClick Search generates for each conversion.
223 &quot;adGroupId&quot;: &quot;A String&quot;, # DS ad group ID.
224 &quot;advertiserId&quot;: &quot;A String&quot;, # DS advertiser ID.
225 &quot;deviceType&quot;: &quot;A String&quot;, # The type of device on which the conversion occurred.
226 &quot;agencyId&quot;: &quot;A String&quot;, # DS agency ID.
227 &quot;type&quot;: &quot;A String&quot;, # 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`).
228 },
229 ],
230 &quot;kind&quot;: &quot;A String&quot;, # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList.
231}
John Asmuth614db982014-04-24 15:46:26 -0400232
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700233 x__xgafv: string, V1 error format.
234 Allowed values
235 1 - v1 error format
236 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400237
238Returns:
239 An object of the form:
240
241 { # A list of conversions.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800242 &quot;conversion&quot;: [ # The conversions being requested.
243 { # A conversion containing data relevant to DoubleClick Search.
244 &quot;segmentationType&quot;: &quot;A String&quot;, # The segmentation type of this conversion (for example, `FLOODLIGHT`).
245 &quot;criterionId&quot;: &quot;A String&quot;, # DS criterion (keyword) ID.
246 &quot;productCountry&quot;: &quot;A String&quot;, # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country.
247 &quot;conversionId&quot;: &quot;A String&quot;, # 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. For online conversions, DS copies the `dsConversionId` or `floodlightOrderId` into this property depending on the advertiser&#x27;s Floodlight instructions.
248 &quot;floodlightOrderId&quot;: &quot;A String&quot;, # The Floodlight order ID provided by the advertiser for the conversion.
249 &quot;conversionModifiedTimestamp&quot;: &quot;A String&quot;, # The time at which the conversion was last modified, in epoch millis UTC.
250 &quot;storeId&quot;: &quot;A String&quot;, # The ID of the local store for which the product was advertised. Applicable only when the channel is &quot;`local`&quot;.
251 &quot;quantityMillis&quot;: &quot;A String&quot;, # The quantity of this conversion, in millis.
252 &quot;clickId&quot;: &quot;A String&quot;, # DS click ID for the conversion.
253 &quot;revenueMicros&quot;: &quot;A String&quot;, # The revenue amount of this `TRANSACTION` conversion, in micros (value multiplied by 1000000, no decimal). For example, to specify a revenue value of &quot;10&quot; enter &quot;10000000&quot; (10 million) in your request.
254 &quot;currencyCode&quot;: &quot;A String&quot;, # The currency code for the conversion&#x27;s revenue. Should be in ISO 4217 alphabetic (3-char) format.
255 &quot;productGroupId&quot;: &quot;A String&quot;, # DS product group ID.
256 &quot;customMetric&quot;: [ # Custom metrics for the conversion.
257 { # A message containing the custom metric.
258 &quot;value&quot;: 3.14, # Custom metric numeric value.
259 &quot;name&quot;: &quot;A String&quot;, # Custom metric name.
260 },
261 ],
262 &quot;attributionModel&quot;: &quot;A String&quot;, # Available to advertisers only after contacting DoubleClick Search customer support.
263 &quot;conversionTimestamp&quot;: &quot;A String&quot;, # The time at which the conversion took place, in epoch millis UTC.
264 &quot;customDimension&quot;: [ # Custom dimensions for the conversion, which can be used to filter data in a report.
265 { # A message containing the custom dimension.
266 &quot;name&quot;: &quot;A String&quot;, # Custom dimension name.
267 &quot;value&quot;: &quot;A String&quot;, # Custom dimension value.
268 },
269 ],
270 &quot;segmentationName&quot;: &quot;A String&quot;, # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).
271 &quot;productLanguage&quot;: &quot;A String&quot;, # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language.
272 &quot;state&quot;: &quot;A String&quot;, # The state of the conversion, that is, either `ACTIVE` or `REMOVED`. Note: state DELETED is deprecated.
273 &quot;channel&quot;: &quot;A String&quot;, # Sales channel for the product. Acceptable values are: - &quot;`local`&quot;: a physical store - &quot;`online`&quot;: an online store
274 &quot;adId&quot;: &quot;A String&quot;, # DS ad ID.
275 &quot;campaignId&quot;: &quot;A String&quot;, # DS campaign ID.
276 &quot;engineAccountId&quot;: &quot;A String&quot;, # DS engine account ID.
277 &quot;productId&quot;: &quot;A String&quot;, # The product ID (SKU).
278 &quot;countMillis&quot;: &quot;A String&quot;, # Available to advertisers only after contacting DoubleClick Search customer support.
279 &quot;inventoryAccountId&quot;: &quot;A String&quot;, # ID that DS generates and uses to uniquely identify the inventory account that contains the product.
280 &quot;segmentationId&quot;: &quot;A String&quot;, # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
281 &quot;dsConversionId&quot;: &quot;A String&quot;, # ID that DoubleClick Search generates for each conversion.
282 &quot;adGroupId&quot;: &quot;A String&quot;, # DS ad group ID.
283 &quot;advertiserId&quot;: &quot;A String&quot;, # DS advertiser ID.
284 &quot;deviceType&quot;: &quot;A String&quot;, # The type of device on which the conversion occurred.
285 &quot;agencyId&quot;: &quot;A String&quot;, # DS agency ID.
286 &quot;type&quot;: &quot;A String&quot;, # 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`).
287 },
288 ],
289 &quot;kind&quot;: &quot;A String&quot;, # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList.
290 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400291</div>
292
293<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700294 <code class="details" id="update">update(body=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400295 <pre>Updates a batch of conversions in DoubleClick Search.
296
297Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700298 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400299 The object takes the form of:
300
301{ # A list of conversions.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800302 &quot;conversion&quot;: [ # The conversions being requested.
303 { # A conversion containing data relevant to DoubleClick Search.
304 &quot;segmentationType&quot;: &quot;A String&quot;, # The segmentation type of this conversion (for example, `FLOODLIGHT`).
305 &quot;criterionId&quot;: &quot;A String&quot;, # DS criterion (keyword) ID.
306 &quot;productCountry&quot;: &quot;A String&quot;, # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country.
307 &quot;conversionId&quot;: &quot;A String&quot;, # 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. For online conversions, DS copies the `dsConversionId` or `floodlightOrderId` into this property depending on the advertiser&#x27;s Floodlight instructions.
308 &quot;floodlightOrderId&quot;: &quot;A String&quot;, # The Floodlight order ID provided by the advertiser for the conversion.
309 &quot;conversionModifiedTimestamp&quot;: &quot;A String&quot;, # The time at which the conversion was last modified, in epoch millis UTC.
310 &quot;storeId&quot;: &quot;A String&quot;, # The ID of the local store for which the product was advertised. Applicable only when the channel is &quot;`local`&quot;.
311 &quot;quantityMillis&quot;: &quot;A String&quot;, # The quantity of this conversion, in millis.
312 &quot;clickId&quot;: &quot;A String&quot;, # DS click ID for the conversion.
313 &quot;revenueMicros&quot;: &quot;A String&quot;, # The revenue amount of this `TRANSACTION` conversion, in micros (value multiplied by 1000000, no decimal). For example, to specify a revenue value of &quot;10&quot; enter &quot;10000000&quot; (10 million) in your request.
314 &quot;currencyCode&quot;: &quot;A String&quot;, # The currency code for the conversion&#x27;s revenue. Should be in ISO 4217 alphabetic (3-char) format.
315 &quot;productGroupId&quot;: &quot;A String&quot;, # DS product group ID.
316 &quot;customMetric&quot;: [ # Custom metrics for the conversion.
317 { # A message containing the custom metric.
318 &quot;value&quot;: 3.14, # Custom metric numeric value.
319 &quot;name&quot;: &quot;A String&quot;, # Custom metric name.
320 },
321 ],
322 &quot;attributionModel&quot;: &quot;A String&quot;, # Available to advertisers only after contacting DoubleClick Search customer support.
323 &quot;conversionTimestamp&quot;: &quot;A String&quot;, # The time at which the conversion took place, in epoch millis UTC.
324 &quot;customDimension&quot;: [ # Custom dimensions for the conversion, which can be used to filter data in a report.
325 { # A message containing the custom dimension.
326 &quot;name&quot;: &quot;A String&quot;, # Custom dimension name.
327 &quot;value&quot;: &quot;A String&quot;, # Custom dimension value.
328 },
329 ],
330 &quot;segmentationName&quot;: &quot;A String&quot;, # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).
331 &quot;productLanguage&quot;: &quot;A String&quot;, # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language.
332 &quot;state&quot;: &quot;A String&quot;, # The state of the conversion, that is, either `ACTIVE` or `REMOVED`. Note: state DELETED is deprecated.
333 &quot;channel&quot;: &quot;A String&quot;, # Sales channel for the product. Acceptable values are: - &quot;`local`&quot;: a physical store - &quot;`online`&quot;: an online store
334 &quot;adId&quot;: &quot;A String&quot;, # DS ad ID.
335 &quot;campaignId&quot;: &quot;A String&quot;, # DS campaign ID.
336 &quot;engineAccountId&quot;: &quot;A String&quot;, # DS engine account ID.
337 &quot;productId&quot;: &quot;A String&quot;, # The product ID (SKU).
338 &quot;countMillis&quot;: &quot;A String&quot;, # Available to advertisers only after contacting DoubleClick Search customer support.
339 &quot;inventoryAccountId&quot;: &quot;A String&quot;, # ID that DS generates and uses to uniquely identify the inventory account that contains the product.
340 &quot;segmentationId&quot;: &quot;A String&quot;, # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
341 &quot;dsConversionId&quot;: &quot;A String&quot;, # ID that DoubleClick Search generates for each conversion.
342 &quot;adGroupId&quot;: &quot;A String&quot;, # DS ad group ID.
343 &quot;advertiserId&quot;: &quot;A String&quot;, # DS advertiser ID.
344 &quot;deviceType&quot;: &quot;A String&quot;, # The type of device on which the conversion occurred.
345 &quot;agencyId&quot;: &quot;A String&quot;, # DS agency ID.
346 &quot;type&quot;: &quot;A String&quot;, # 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`).
347 },
348 ],
349 &quot;kind&quot;: &quot;A String&quot;, # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList.
350}
John Asmuth614db982014-04-24 15:46:26 -0400351
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700352 x__xgafv: string, V1 error format.
353 Allowed values
354 1 - v1 error format
355 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400356
357Returns:
358 An object of the form:
359
360 { # A list of conversions.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800361 &quot;conversion&quot;: [ # The conversions being requested.
362 { # A conversion containing data relevant to DoubleClick Search.
363 &quot;segmentationType&quot;: &quot;A String&quot;, # The segmentation type of this conversion (for example, `FLOODLIGHT`).
364 &quot;criterionId&quot;: &quot;A String&quot;, # DS criterion (keyword) ID.
365 &quot;productCountry&quot;: &quot;A String&quot;, # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country.
366 &quot;conversionId&quot;: &quot;A String&quot;, # 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. For online conversions, DS copies the `dsConversionId` or `floodlightOrderId` into this property depending on the advertiser&#x27;s Floodlight instructions.
367 &quot;floodlightOrderId&quot;: &quot;A String&quot;, # The Floodlight order ID provided by the advertiser for the conversion.
368 &quot;conversionModifiedTimestamp&quot;: &quot;A String&quot;, # The time at which the conversion was last modified, in epoch millis UTC.
369 &quot;storeId&quot;: &quot;A String&quot;, # The ID of the local store for which the product was advertised. Applicable only when the channel is &quot;`local`&quot;.
370 &quot;quantityMillis&quot;: &quot;A String&quot;, # The quantity of this conversion, in millis.
371 &quot;clickId&quot;: &quot;A String&quot;, # DS click ID for the conversion.
372 &quot;revenueMicros&quot;: &quot;A String&quot;, # The revenue amount of this `TRANSACTION` conversion, in micros (value multiplied by 1000000, no decimal). For example, to specify a revenue value of &quot;10&quot; enter &quot;10000000&quot; (10 million) in your request.
373 &quot;currencyCode&quot;: &quot;A String&quot;, # The currency code for the conversion&#x27;s revenue. Should be in ISO 4217 alphabetic (3-char) format.
374 &quot;productGroupId&quot;: &quot;A String&quot;, # DS product group ID.
375 &quot;customMetric&quot;: [ # Custom metrics for the conversion.
376 { # A message containing the custom metric.
377 &quot;value&quot;: 3.14, # Custom metric numeric value.
378 &quot;name&quot;: &quot;A String&quot;, # Custom metric name.
379 },
380 ],
381 &quot;attributionModel&quot;: &quot;A String&quot;, # Available to advertisers only after contacting DoubleClick Search customer support.
382 &quot;conversionTimestamp&quot;: &quot;A String&quot;, # The time at which the conversion took place, in epoch millis UTC.
383 &quot;customDimension&quot;: [ # Custom dimensions for the conversion, which can be used to filter data in a report.
384 { # A message containing the custom dimension.
385 &quot;name&quot;: &quot;A String&quot;, # Custom dimension name.
386 &quot;value&quot;: &quot;A String&quot;, # Custom dimension value.
387 },
388 ],
389 &quot;segmentationName&quot;: &quot;A String&quot;, # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).
390 &quot;productLanguage&quot;: &quot;A String&quot;, # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language.
391 &quot;state&quot;: &quot;A String&quot;, # The state of the conversion, that is, either `ACTIVE` or `REMOVED`. Note: state DELETED is deprecated.
392 &quot;channel&quot;: &quot;A String&quot;, # Sales channel for the product. Acceptable values are: - &quot;`local`&quot;: a physical store - &quot;`online`&quot;: an online store
393 &quot;adId&quot;: &quot;A String&quot;, # DS ad ID.
394 &quot;campaignId&quot;: &quot;A String&quot;, # DS campaign ID.
395 &quot;engineAccountId&quot;: &quot;A String&quot;, # DS engine account ID.
396 &quot;productId&quot;: &quot;A String&quot;, # The product ID (SKU).
397 &quot;countMillis&quot;: &quot;A String&quot;, # Available to advertisers only after contacting DoubleClick Search customer support.
398 &quot;inventoryAccountId&quot;: &quot;A String&quot;, # ID that DS generates and uses to uniquely identify the inventory account that contains the product.
399 &quot;segmentationId&quot;: &quot;A String&quot;, # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
400 &quot;dsConversionId&quot;: &quot;A String&quot;, # ID that DoubleClick Search generates for each conversion.
401 &quot;adGroupId&quot;: &quot;A String&quot;, # DS ad group ID.
402 &quot;advertiserId&quot;: &quot;A String&quot;, # DS advertiser ID.
403 &quot;deviceType&quot;: &quot;A String&quot;, # The type of device on which the conversion occurred.
404 &quot;agencyId&quot;: &quot;A String&quot;, # DS agency ID.
405 &quot;type&quot;: &quot;A String&quot;, # 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`).
406 },
407 ],
408 &quot;kind&quot;: &quot;A String&quot;, # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList.
409 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400410</div>
411
412<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700413 <code class="details" id="updateAvailability">updateAvailability(body=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400414 <pre>Updates the availabilities of a batch of floodlight activities in DoubleClick Search.
415
416Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700417 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400418 The object takes the form of:
419
420{ # The request to update availability.
Bu Sun Kim65020912020-05-20 12:08:20 -0700421 &quot;availabilities&quot;: [ # The availabilities being requested.
John Asmuth614db982014-04-24 15:46:26 -0400422 { # A message containing availability data relevant to DoubleClick Search.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800423 &quot;segmentationName&quot;: &quot;A String&quot;, # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700424 &quot;advertiserId&quot;: &quot;A String&quot;, # DS advertiser ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800425 &quot;segmentationType&quot;: &quot;A String&quot;, # The segmentation type that this availability is for (its default value is `FLOODLIGHT`).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800426 &quot;availabilityTimestamp&quot;: &quot;A String&quot;, # The time by which all conversions have been uploaded, in epoch millis UTC.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700427 &quot;agencyId&quot;: &quot;A String&quot;, # DS agency ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800428 &quot;segmentationId&quot;: &quot;A String&quot;, # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
John Asmuth614db982014-04-24 15:46:26 -0400429 },
430 ],
431 }
432
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700433 x__xgafv: string, V1 error format.
434 Allowed values
435 1 - v1 error format
436 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400437
438Returns:
439 An object of the form:
440
441 { # The response to a update availability request.
Bu Sun Kim65020912020-05-20 12:08:20 -0700442 &quot;availabilities&quot;: [ # The availabilities being returned.
John Asmuth614db982014-04-24 15:46:26 -0400443 { # A message containing availability data relevant to DoubleClick Search.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800444 &quot;segmentationName&quot;: &quot;A String&quot;, # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700445 &quot;advertiserId&quot;: &quot;A String&quot;, # DS advertiser ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800446 &quot;segmentationType&quot;: &quot;A String&quot;, # The segmentation type that this availability is for (its default value is `FLOODLIGHT`).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800447 &quot;availabilityTimestamp&quot;: &quot;A String&quot;, # The time by which all conversions have been uploaded, in epoch millis UTC.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700448 &quot;agencyId&quot;: &quot;A String&quot;, # DS agency ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800449 &quot;segmentationId&quot;: &quot;A String&quot;, # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).
John Asmuth614db982014-04-24 15:46:26 -0400450 },
451 ],
452 }</pre>
453</div>
454
455</body></html>