OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 |
1 library googleapis.doubleclickbidmanager.v1; | 3 library googleapis.doubleclickbidmanager.v1; |
2 | 4 |
3 import "dart:core" as core; | 5 import 'dart:core' as core; |
4 import "dart:collection" as collection; | 6 import 'dart:collection' as collection; |
5 import "dart:async" as async; | 7 import 'dart:async' as async; |
6 import "dart:convert" as convert; | 8 import 'dart:convert' as convert; |
7 | 9 |
8 import "package:crypto/crypto.dart" as crypto; | 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 11 import 'package:crypto/crypto.dart' as crypto; |
9 import 'package:http/http.dart' as http; | 12 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | |
11 import '../common/common.dart' as common; | |
12 | 13 |
13 export '../common/common.dart' show ApiRequestError; | 14 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
14 export '../common/common.dart' show DetailedApiRequestError; | 15 ApiRequestError, DetailedApiRequestError; |
| 16 |
| 17 const core.String USER_AGENT = 'dart-api-client doubleclickbidmanager/v1'; |
15 | 18 |
16 /** API for viewing and managing your reports in DoubleClick Bid Manager. */ | 19 /** API for viewing and managing your reports in DoubleClick Bid Manager. */ |
17 class DoubleclickbidmanagerApi { | 20 class DoubleclickbidmanagerApi { |
18 | 21 |
19 final common_internal.ApiRequester _requester; | 22 final commons.ApiRequester _requester; |
20 | 23 |
21 LineitemsResourceApi get lineitems => new LineitemsResourceApi(_requester); | 24 LineitemsResourceApi get lineitems => new LineitemsResourceApi(_requester); |
22 QueriesResourceApi get queries => new QueriesResourceApi(_requester); | 25 QueriesResourceApi get queries => new QueriesResourceApi(_requester); |
23 ReportsResourceApi get reports => new ReportsResourceApi(_requester); | 26 ReportsResourceApi get reports => new ReportsResourceApi(_requester); |
24 | 27 |
25 DoubleclickbidmanagerApi(http.Client client, {core.String rootUrl: "https://ww
w.googleapis.com/", core.String servicePath: "doubleclickbidmanager/v1/"}) : | 28 DoubleclickbidmanagerApi(http.Client client, {core.String rootUrl: "https://ww
w.googleapis.com/", core.String servicePath: "doubleclickbidmanager/v1/"}) : |
26 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); | 29 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); |
27 } | 30 } |
28 | 31 |
29 | 32 |
30 /** Not documented yet. */ | |
31 class LineitemsResourceApi { | 33 class LineitemsResourceApi { |
32 final common_internal.ApiRequester _requester; | 34 final commons.ApiRequester _requester; |
33 | 35 |
34 LineitemsResourceApi(common_internal.ApiRequester client) : | 36 LineitemsResourceApi(commons.ApiRequester client) : |
35 _requester = client; | 37 _requester = client; |
36 | 38 |
37 /** | 39 /** |
38 * Retrieves line items in CSV format. | 40 * Retrieves line items in CSV format. |
39 * | 41 * |
40 * [request] - The metadata request object. | 42 * [request] - The metadata request object. |
41 * | 43 * |
42 * Request parameters: | 44 * Request parameters: |
43 * | 45 * |
44 * Completes with a [DownloadLineItemsResponse]. | 46 * Completes with a [DownloadLineItemsResponse]. |
45 * | 47 * |
46 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 48 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
47 * error. | 49 * error. |
48 * | 50 * |
49 * If the used [http.Client] completes with an error when making a REST call, | 51 * If the used [http.Client] completes with an error when making a REST call, |
50 * this method will complete with the same error. | 52 * this method will complete with the same error. |
51 */ | 53 */ |
52 async.Future<DownloadLineItemsResponse> downloadlineitems(DownloadLineItemsReq
uest request) { | 54 async.Future<DownloadLineItemsResponse> downloadlineitems(DownloadLineItemsReq
uest request) { |
53 var _url = null; | 55 var _url = null; |
54 var _queryParams = new core.Map(); | 56 var _queryParams = new core.Map(); |
55 var _uploadMedia = null; | 57 var _uploadMedia = null; |
56 var _uploadOptions = null; | 58 var _uploadOptions = null; |
57 var _downloadOptions = common.DownloadOptions.Metadata; | 59 var _downloadOptions = commons.DownloadOptions.Metadata; |
58 var _body = null; | 60 var _body = null; |
59 | 61 |
60 if (request != null) { | 62 if (request != null) { |
61 _body = convert.JSON.encode((request).toJson()); | 63 _body = convert.JSON.encode((request).toJson()); |
62 } | 64 } |
63 | 65 |
64 | 66 |
65 _url = 'lineitems/downloadlineitems'; | 67 _url = 'lineitems/downloadlineitems'; |
66 | 68 |
67 var _response = _requester.request(_url, | 69 var _response = _requester.request(_url, |
68 "POST", | 70 "POST", |
69 body: _body, | 71 body: _body, |
70 queryParams: _queryParams, | 72 queryParams: _queryParams, |
71 uploadOptions: _uploadOptions, | 73 uploadOptions: _uploadOptions, |
72 uploadMedia: _uploadMedia, | 74 uploadMedia: _uploadMedia, |
73 downloadOptions: _downloadOptions); | 75 downloadOptions: _downloadOptions); |
74 return _response.then((data) => new DownloadLineItemsResponse.fromJson(data)
); | 76 return _response.then((data) => new DownloadLineItemsResponse.fromJson(data)
); |
75 } | 77 } |
76 | 78 |
77 /** | 79 /** |
78 * Uploads line items in CSV format. | 80 * Uploads line items in CSV format. |
79 * | 81 * |
80 * [request] - The metadata request object. | 82 * [request] - The metadata request object. |
81 * | 83 * |
82 * Request parameters: | 84 * Request parameters: |
83 * | 85 * |
84 * Completes with a [UploadLineItemsResponse]. | 86 * Completes with a [UploadLineItemsResponse]. |
85 * | 87 * |
86 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 88 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
87 * error. | 89 * error. |
88 * | 90 * |
89 * If the used [http.Client] completes with an error when making a REST call, | 91 * If the used [http.Client] completes with an error when making a REST call, |
90 * this method will complete with the same error. | 92 * this method will complete with the same error. |
91 */ | 93 */ |
92 async.Future<UploadLineItemsResponse> uploadlineitems(UploadLineItemsRequest r
equest) { | 94 async.Future<UploadLineItemsResponse> uploadlineitems(UploadLineItemsRequest r
equest) { |
93 var _url = null; | 95 var _url = null; |
94 var _queryParams = new core.Map(); | 96 var _queryParams = new core.Map(); |
95 var _uploadMedia = null; | 97 var _uploadMedia = null; |
96 var _uploadOptions = null; | 98 var _uploadOptions = null; |
97 var _downloadOptions = common.DownloadOptions.Metadata; | 99 var _downloadOptions = commons.DownloadOptions.Metadata; |
98 var _body = null; | 100 var _body = null; |
99 | 101 |
100 if (request != null) { | 102 if (request != null) { |
101 _body = convert.JSON.encode((request).toJson()); | 103 _body = convert.JSON.encode((request).toJson()); |
102 } | 104 } |
103 | 105 |
104 | 106 |
105 _url = 'lineitems/uploadlineitems'; | 107 _url = 'lineitems/uploadlineitems'; |
106 | 108 |
107 var _response = _requester.request(_url, | 109 var _response = _requester.request(_url, |
108 "POST", | 110 "POST", |
109 body: _body, | 111 body: _body, |
110 queryParams: _queryParams, | 112 queryParams: _queryParams, |
111 uploadOptions: _uploadOptions, | 113 uploadOptions: _uploadOptions, |
112 uploadMedia: _uploadMedia, | 114 uploadMedia: _uploadMedia, |
113 downloadOptions: _downloadOptions); | 115 downloadOptions: _downloadOptions); |
114 return _response.then((data) => new UploadLineItemsResponse.fromJson(data)); | 116 return _response.then((data) => new UploadLineItemsResponse.fromJson(data)); |
115 } | 117 } |
116 | 118 |
117 } | 119 } |
118 | 120 |
119 | 121 |
120 /** Not documented yet. */ | |
121 class QueriesResourceApi { | 122 class QueriesResourceApi { |
122 final common_internal.ApiRequester _requester; | 123 final commons.ApiRequester _requester; |
123 | 124 |
124 QueriesResourceApi(common_internal.ApiRequester client) : | 125 QueriesResourceApi(commons.ApiRequester client) : |
125 _requester = client; | 126 _requester = client; |
126 | 127 |
127 /** | 128 /** |
128 * Creates a query. | 129 * Creates a query. |
129 * | 130 * |
130 * [request] - The metadata request object. | 131 * [request] - The metadata request object. |
131 * | 132 * |
132 * Request parameters: | 133 * Request parameters: |
133 * | 134 * |
134 * Completes with a [Query]. | 135 * Completes with a [Query]. |
135 * | 136 * |
136 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 137 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
137 * error. | 138 * error. |
138 * | 139 * |
139 * If the used [http.Client] completes with an error when making a REST call, | 140 * If the used [http.Client] completes with an error when making a REST call, |
140 * this method will complete with the same error. | 141 * this method will complete with the same error. |
141 */ | 142 */ |
142 async.Future<Query> createquery(Query request) { | 143 async.Future<Query> createquery(Query request) { |
143 var _url = null; | 144 var _url = null; |
144 var _queryParams = new core.Map(); | 145 var _queryParams = new core.Map(); |
145 var _uploadMedia = null; | 146 var _uploadMedia = null; |
146 var _uploadOptions = null; | 147 var _uploadOptions = null; |
147 var _downloadOptions = common.DownloadOptions.Metadata; | 148 var _downloadOptions = commons.DownloadOptions.Metadata; |
148 var _body = null; | 149 var _body = null; |
149 | 150 |
150 if (request != null) { | 151 if (request != null) { |
151 _body = convert.JSON.encode((request).toJson()); | 152 _body = convert.JSON.encode((request).toJson()); |
152 } | 153 } |
153 | 154 |
154 | 155 |
155 _url = 'query'; | 156 _url = 'query'; |
156 | 157 |
157 var _response = _requester.request(_url, | 158 var _response = _requester.request(_url, |
158 "POST", | 159 "POST", |
159 body: _body, | 160 body: _body, |
160 queryParams: _queryParams, | 161 queryParams: _queryParams, |
161 uploadOptions: _uploadOptions, | 162 uploadOptions: _uploadOptions, |
162 uploadMedia: _uploadMedia, | 163 uploadMedia: _uploadMedia, |
163 downloadOptions: _downloadOptions); | 164 downloadOptions: _downloadOptions); |
164 return _response.then((data) => new Query.fromJson(data)); | 165 return _response.then((data) => new Query.fromJson(data)); |
165 } | 166 } |
166 | 167 |
167 /** | 168 /** |
168 * Deletes a stored query as well as the associated stored reports. | 169 * Deletes a stored query as well as the associated stored reports. |
169 * | 170 * |
170 * Request parameters: | 171 * Request parameters: |
171 * | 172 * |
172 * [queryId] - Query ID to delete. | 173 * [queryId] - Query ID to delete. |
173 * | 174 * |
174 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 175 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
175 * error. | 176 * error. |
176 * | 177 * |
177 * If the used [http.Client] completes with an error when making a REST call, | 178 * If the used [http.Client] completes with an error when making a REST call, |
178 * this method will complete with the same error. | 179 * this method will complete with the same error. |
179 */ | 180 */ |
180 async.Future deletequery(core.String queryId) { | 181 async.Future deletequery(core.String queryId) { |
181 var _url = null; | 182 var _url = null; |
182 var _queryParams = new core.Map(); | 183 var _queryParams = new core.Map(); |
183 var _uploadMedia = null; | 184 var _uploadMedia = null; |
184 var _uploadOptions = null; | 185 var _uploadOptions = null; |
185 var _downloadOptions = common.DownloadOptions.Metadata; | 186 var _downloadOptions = commons.DownloadOptions.Metadata; |
186 var _body = null; | 187 var _body = null; |
187 | 188 |
188 if (queryId == null) { | 189 if (queryId == null) { |
189 throw new core.ArgumentError("Parameter queryId is required."); | 190 throw new core.ArgumentError("Parameter queryId is required."); |
190 } | 191 } |
191 | 192 |
192 _downloadOptions = null; | 193 _downloadOptions = null; |
193 | 194 |
194 _url = 'query/' + common_internal.Escaper.ecapeVariable('$queryId'); | 195 _url = 'query/' + commons.Escaper.ecapeVariable('$queryId'); |
195 | 196 |
196 var _response = _requester.request(_url, | 197 var _response = _requester.request(_url, |
197 "DELETE", | 198 "DELETE", |
198 body: _body, | 199 body: _body, |
199 queryParams: _queryParams, | 200 queryParams: _queryParams, |
200 uploadOptions: _uploadOptions, | 201 uploadOptions: _uploadOptions, |
201 uploadMedia: _uploadMedia, | 202 uploadMedia: _uploadMedia, |
202 downloadOptions: _downloadOptions); | 203 downloadOptions: _downloadOptions); |
203 return _response.then((data) => null); | 204 return _response.then((data) => null); |
204 } | 205 } |
205 | 206 |
206 /** | 207 /** |
207 * Retrieves a stored query. | 208 * Retrieves a stored query. |
208 * | 209 * |
209 * Request parameters: | 210 * Request parameters: |
210 * | 211 * |
211 * [queryId] - Query ID to retrieve. | 212 * [queryId] - Query ID to retrieve. |
212 * | 213 * |
213 * Completes with a [Query]. | 214 * Completes with a [Query]. |
214 * | 215 * |
215 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 216 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
216 * error. | 217 * error. |
217 * | 218 * |
218 * If the used [http.Client] completes with an error when making a REST call, | 219 * If the used [http.Client] completes with an error when making a REST call, |
219 * this method will complete with the same error. | 220 * this method will complete with the same error. |
220 */ | 221 */ |
221 async.Future<Query> getquery(core.String queryId) { | 222 async.Future<Query> getquery(core.String queryId) { |
222 var _url = null; | 223 var _url = null; |
223 var _queryParams = new core.Map(); | 224 var _queryParams = new core.Map(); |
224 var _uploadMedia = null; | 225 var _uploadMedia = null; |
225 var _uploadOptions = null; | 226 var _uploadOptions = null; |
226 var _downloadOptions = common.DownloadOptions.Metadata; | 227 var _downloadOptions = commons.DownloadOptions.Metadata; |
227 var _body = null; | 228 var _body = null; |
228 | 229 |
229 if (queryId == null) { | 230 if (queryId == null) { |
230 throw new core.ArgumentError("Parameter queryId is required."); | 231 throw new core.ArgumentError("Parameter queryId is required."); |
231 } | 232 } |
232 | 233 |
233 | 234 |
234 _url = 'query/' + common_internal.Escaper.ecapeVariable('$queryId'); | 235 _url = 'query/' + commons.Escaper.ecapeVariable('$queryId'); |
235 | 236 |
236 var _response = _requester.request(_url, | 237 var _response = _requester.request(_url, |
237 "GET", | 238 "GET", |
238 body: _body, | 239 body: _body, |
239 queryParams: _queryParams, | 240 queryParams: _queryParams, |
240 uploadOptions: _uploadOptions, | 241 uploadOptions: _uploadOptions, |
241 uploadMedia: _uploadMedia, | 242 uploadMedia: _uploadMedia, |
242 downloadOptions: _downloadOptions); | 243 downloadOptions: _downloadOptions); |
243 return _response.then((data) => new Query.fromJson(data)); | 244 return _response.then((data) => new Query.fromJson(data)); |
244 } | 245 } |
245 | 246 |
246 /** | 247 /** |
247 * Retrieves stored queries. | 248 * Retrieves stored queries. |
248 * | 249 * |
249 * Request parameters: | 250 * Request parameters: |
250 * | 251 * |
251 * Completes with a [ListQueriesResponse]. | 252 * Completes with a [ListQueriesResponse]. |
252 * | 253 * |
253 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 254 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
254 * error. | 255 * error. |
255 * | 256 * |
256 * If the used [http.Client] completes with an error when making a REST call, | 257 * If the used [http.Client] completes with an error when making a REST call, |
257 * this method will complete with the same error. | 258 * this method will complete with the same error. |
258 */ | 259 */ |
259 async.Future<ListQueriesResponse> listqueries() { | 260 async.Future<ListQueriesResponse> listqueries() { |
260 var _url = null; | 261 var _url = null; |
261 var _queryParams = new core.Map(); | 262 var _queryParams = new core.Map(); |
262 var _uploadMedia = null; | 263 var _uploadMedia = null; |
263 var _uploadOptions = null; | 264 var _uploadOptions = null; |
264 var _downloadOptions = common.DownloadOptions.Metadata; | 265 var _downloadOptions = commons.DownloadOptions.Metadata; |
265 var _body = null; | 266 var _body = null; |
266 | 267 |
267 | 268 |
268 | 269 |
269 _url = 'queries'; | 270 _url = 'queries'; |
270 | 271 |
271 var _response = _requester.request(_url, | 272 var _response = _requester.request(_url, |
272 "GET", | 273 "GET", |
273 body: _body, | 274 body: _body, |
274 queryParams: _queryParams, | 275 queryParams: _queryParams, |
275 uploadOptions: _uploadOptions, | 276 uploadOptions: _uploadOptions, |
276 uploadMedia: _uploadMedia, | 277 uploadMedia: _uploadMedia, |
277 downloadOptions: _downloadOptions); | 278 downloadOptions: _downloadOptions); |
278 return _response.then((data) => new ListQueriesResponse.fromJson(data)); | 279 return _response.then((data) => new ListQueriesResponse.fromJson(data)); |
279 } | 280 } |
280 | 281 |
281 /** | 282 /** |
282 * Runs a stored query to generate a report. | 283 * Runs a stored query to generate a report. |
283 * | 284 * |
284 * [request] - The metadata request object. | 285 * [request] - The metadata request object. |
285 * | 286 * |
286 * Request parameters: | 287 * Request parameters: |
287 * | 288 * |
288 * [queryId] - Query ID to run. | 289 * [queryId] - Query ID to run. |
289 * | 290 * |
290 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 291 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
291 * error. | 292 * error. |
292 * | 293 * |
293 * If the used [http.Client] completes with an error when making a REST call, | 294 * If the used [http.Client] completes with an error when making a REST call, |
294 * this method will complete with the same error. | 295 * this method will complete with the same error. |
295 */ | 296 */ |
296 async.Future runquery(RunQueryRequest request, core.String queryId) { | 297 async.Future runquery(RunQueryRequest request, core.String queryId) { |
297 var _url = null; | 298 var _url = null; |
298 var _queryParams = new core.Map(); | 299 var _queryParams = new core.Map(); |
299 var _uploadMedia = null; | 300 var _uploadMedia = null; |
300 var _uploadOptions = null; | 301 var _uploadOptions = null; |
301 var _downloadOptions = common.DownloadOptions.Metadata; | 302 var _downloadOptions = commons.DownloadOptions.Metadata; |
302 var _body = null; | 303 var _body = null; |
303 | 304 |
304 if (request != null) { | 305 if (request != null) { |
305 _body = convert.JSON.encode((request).toJson()); | 306 _body = convert.JSON.encode((request).toJson()); |
306 } | 307 } |
307 if (queryId == null) { | 308 if (queryId == null) { |
308 throw new core.ArgumentError("Parameter queryId is required."); | 309 throw new core.ArgumentError("Parameter queryId is required."); |
309 } | 310 } |
310 | 311 |
311 _downloadOptions = null; | 312 _downloadOptions = null; |
312 | 313 |
313 _url = 'query/' + common_internal.Escaper.ecapeVariable('$queryId'); | 314 _url = 'query/' + commons.Escaper.ecapeVariable('$queryId'); |
314 | 315 |
315 var _response = _requester.request(_url, | 316 var _response = _requester.request(_url, |
316 "POST", | 317 "POST", |
317 body: _body, | 318 body: _body, |
318 queryParams: _queryParams, | 319 queryParams: _queryParams, |
319 uploadOptions: _uploadOptions, | 320 uploadOptions: _uploadOptions, |
320 uploadMedia: _uploadMedia, | 321 uploadMedia: _uploadMedia, |
321 downloadOptions: _downloadOptions); | 322 downloadOptions: _downloadOptions); |
322 return _response.then((data) => null); | 323 return _response.then((data) => null); |
323 } | 324 } |
324 | 325 |
325 } | 326 } |
326 | 327 |
327 | 328 |
328 /** Not documented yet. */ | |
329 class ReportsResourceApi { | 329 class ReportsResourceApi { |
330 final common_internal.ApiRequester _requester; | 330 final commons.ApiRequester _requester; |
331 | 331 |
332 ReportsResourceApi(common_internal.ApiRequester client) : | 332 ReportsResourceApi(commons.ApiRequester client) : |
333 _requester = client; | 333 _requester = client; |
334 | 334 |
335 /** | 335 /** |
336 * Retrieves stored reports. | 336 * Retrieves stored reports. |
337 * | 337 * |
338 * Request parameters: | 338 * Request parameters: |
339 * | 339 * |
340 * [queryId] - Query ID with which the reports are associated. | 340 * [queryId] - Query ID with which the reports are associated. |
341 * | 341 * |
342 * Completes with a [ListReportsResponse]. | 342 * Completes with a [ListReportsResponse]. |
343 * | 343 * |
344 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 344 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
345 * error. | 345 * error. |
346 * | 346 * |
347 * If the used [http.Client] completes with an error when making a REST call, | 347 * If the used [http.Client] completes with an error when making a REST call, |
348 * this method will complete with the same error. | 348 * this method will complete with the same error. |
349 */ | 349 */ |
350 async.Future<ListReportsResponse> listreports(core.String queryId) { | 350 async.Future<ListReportsResponse> listreports(core.String queryId) { |
351 var _url = null; | 351 var _url = null; |
352 var _queryParams = new core.Map(); | 352 var _queryParams = new core.Map(); |
353 var _uploadMedia = null; | 353 var _uploadMedia = null; |
354 var _uploadOptions = null; | 354 var _uploadOptions = null; |
355 var _downloadOptions = common.DownloadOptions.Metadata; | 355 var _downloadOptions = commons.DownloadOptions.Metadata; |
356 var _body = null; | 356 var _body = null; |
357 | 357 |
358 if (queryId == null) { | 358 if (queryId == null) { |
359 throw new core.ArgumentError("Parameter queryId is required."); | 359 throw new core.ArgumentError("Parameter queryId is required."); |
360 } | 360 } |
361 | 361 |
362 | 362 |
363 _url = 'queries/' + common_internal.Escaper.ecapeVariable('$queryId') + '/re
ports'; | 363 _url = 'queries/' + commons.Escaper.ecapeVariable('$queryId') + '/reports'; |
364 | 364 |
365 var _response = _requester.request(_url, | 365 var _response = _requester.request(_url, |
366 "GET", | 366 "GET", |
367 body: _body, | 367 body: _body, |
368 queryParams: _queryParams, | 368 queryParams: _queryParams, |
369 uploadOptions: _uploadOptions, | 369 uploadOptions: _uploadOptions, |
370 uploadMedia: _uploadMedia, | 370 uploadMedia: _uploadMedia, |
371 downloadOptions: _downloadOptions); | 371 downloadOptions: _downloadOptions); |
372 return _response.then((data) => new ListReportsResponse.fromJson(data)); | 372 return _response.then((data) => new ListReportsResponse.fromJson(data)); |
373 } | 373 } |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 * - "FILTER_DATA_PROVIDER" | 484 * - "FILTER_DATA_PROVIDER" |
485 * - "FILTER_DATE" | 485 * - "FILTER_DATE" |
486 * - "FILTER_DAY_OF_WEEK" | 486 * - "FILTER_DAY_OF_WEEK" |
487 * - "FILTER_DMA" | 487 * - "FILTER_DMA" |
488 * - "FILTER_EXCHANGE_ID" | 488 * - "FILTER_EXCHANGE_ID" |
489 * - "FILTER_FLOODLIGHT_PIXEL_ID" | 489 * - "FILTER_FLOODLIGHT_PIXEL_ID" |
490 * - "FILTER_GENDER" | 490 * - "FILTER_GENDER" |
491 * - "FILTER_INSERTION_ORDER" | 491 * - "FILTER_INSERTION_ORDER" |
492 * - "FILTER_INVENTORY_FORMAT" | 492 * - "FILTER_INVENTORY_FORMAT" |
493 * - "FILTER_INVENTORY_SOURCE" | 493 * - "FILTER_INVENTORY_SOURCE" |
| 494 * - "FILTER_INVENTORY_SOURCE_TYPE" |
494 * - "FILTER_KEYWORD" | 495 * - "FILTER_KEYWORD" |
495 * - "FILTER_LINE_ITEM" | 496 * - "FILTER_LINE_ITEM" |
496 * - "FILTER_LINE_ITEM_DAILY_FREQUENCY" | 497 * - "FILTER_LINE_ITEM_DAILY_FREQUENCY" |
497 * - "FILTER_LINE_ITEM_LIFETIME_FREQUENCY" | 498 * - "FILTER_LINE_ITEM_LIFETIME_FREQUENCY" |
498 * - "FILTER_LINE_ITEM_TYPE" | 499 * - "FILTER_LINE_ITEM_TYPE" |
499 * - "FILTER_MOBILE_DEVICE_MAKE" | 500 * - "FILTER_MOBILE_DEVICE_MAKE" |
500 * - "FILTER_MOBILE_DEVICE_MAKE_MODEL" | 501 * - "FILTER_MOBILE_DEVICE_MAKE_MODEL" |
501 * - "FILTER_MOBILE_DEVICE_TYPE" | 502 * - "FILTER_MOBILE_DEVICE_TYPE" |
502 * - "FILTER_MOBILE_GEO" | 503 * - "FILTER_MOBILE_GEO" |
503 * - "FILTER_MONTH" | 504 * - "FILTER_MONTH" |
(...skipping 15 matching lines...) Expand all Loading... |
519 * - "FILTER_SITE_ID" | 520 * - "FILTER_SITE_ID" |
520 * - "FILTER_SITE_LANGUAGE" | 521 * - "FILTER_SITE_LANGUAGE" |
521 * - "FILTER_TARGETED_USER_LIST" | 522 * - "FILTER_TARGETED_USER_LIST" |
522 * - "FILTER_TIME_OF_DAY" | 523 * - "FILTER_TIME_OF_DAY" |
523 * - "FILTER_TRUEVIEW_CONVERSION_TYPE" | 524 * - "FILTER_TRUEVIEW_CONVERSION_TYPE" |
524 * - "FILTER_UNKNOWN" | 525 * - "FILTER_UNKNOWN" |
525 * - "FILTER_USER_LIST" | 526 * - "FILTER_USER_LIST" |
526 * - "FILTER_USER_LIST_FIRST_PARTY" | 527 * - "FILTER_USER_LIST_FIRST_PARTY" |
527 * - "FILTER_USER_LIST_THIRD_PARTY" | 528 * - "FILTER_USER_LIST_THIRD_PARTY" |
528 * - "FILTER_VIDEO_AD_POSITION_IN_STREAM" | 529 * - "FILTER_VIDEO_AD_POSITION_IN_STREAM" |
| 530 * - "FILTER_VIDEO_COMPANION_SIZE" |
| 531 * - "FILTER_VIDEO_COMPANION_TYPE" |
529 * - "FILTER_VIDEO_CREATIVE_DURATION" | 532 * - "FILTER_VIDEO_CREATIVE_DURATION" |
530 * - "FILTER_VIDEO_CREATIVE_DURATION_SKIPPABLE" | 533 * - "FILTER_VIDEO_CREATIVE_DURATION_SKIPPABLE" |
531 * - "FILTER_VIDEO_DURATION_SECONDS" | 534 * - "FILTER_VIDEO_DURATION_SECONDS" |
532 * - "FILTER_VIDEO_FORMAT_SUPPORT" | 535 * - "FILTER_VIDEO_FORMAT_SUPPORT" |
533 * - "FILTER_VIDEO_INVENTORY_TYPE" | 536 * - "FILTER_VIDEO_INVENTORY_TYPE" |
534 * - "FILTER_VIDEO_PLAYER_SIZE" | 537 * - "FILTER_VIDEO_PLAYER_SIZE" |
535 * - "FILTER_VIDEO_RATING_TIER" | 538 * - "FILTER_VIDEO_RATING_TIER" |
536 * - "FILTER_VIDEO_SKIPPABLE_SUPPORT" | 539 * - "FILTER_VIDEO_SKIPPABLE_SUPPORT" |
537 * - "FILTER_VIDEO_VPAID_SUPPORT" | 540 * - "FILTER_VIDEO_VPAID_SUPPORT" |
538 * - "FILTER_WEEK" | 541 * - "FILTER_WEEK" |
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1541 var _json = new core.Map(); | 1544 var _json = new core.Map(); |
1542 if (errors != null) { | 1545 if (errors != null) { |
1543 _json["errors"] = errors; | 1546 _json["errors"] = errors; |
1544 } | 1547 } |
1545 if (rowStatus != null) { | 1548 if (rowStatus != null) { |
1546 _json["rowStatus"] = rowStatus.map((value) => (value).toJson()).toList(); | 1549 _json["rowStatus"] = rowStatus.map((value) => (value).toJson()).toList(); |
1547 } | 1550 } |
1548 return _json; | 1551 return _json; |
1549 } | 1552 } |
1550 } | 1553 } |
1551 | |
1552 | |
OLD | NEW |