google-apis-doubleclickbidmanager_v1_1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module DoubleclickbidmanagerV1_1
18
+ # Version of the google-apis-doubleclickbidmanager_v1_1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201202"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,495 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module DoubleclickbidmanagerV1_1
24
+
25
+ class ChannelGrouping
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class DisjunctiveMatchStatement
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class DownloadLineItemsRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class DownloadLineItemsResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class DownloadRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class DownloadResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class EventFilter
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class FilterPair
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ListQueriesResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ListReportsResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Options
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class Parameters
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class PathFilter
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class PathQueryOptions
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class PathQueryOptionsFilter
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Query
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class QueryMetadata
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class QuerySchedule
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Report
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ReportFailure
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ReportKey
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ReportMetadata
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ReportStatus
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class RowStatus
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Rule
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class RunQueryRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class UploadLineItemsRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class UploadLineItemsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class UploadStatus
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ChannelGrouping
200
+ # @private
201
+ class Representation < Google::Apis::Core::JsonRepresentation
202
+ property :fallback_name, as: 'fallbackName'
203
+ property :name, as: 'name'
204
+ collection :rules, as: 'rules', class: Google::Apis::DoubleclickbidmanagerV1_1::Rule, decorator: Google::Apis::DoubleclickbidmanagerV1_1::Rule::Representation
205
+
206
+ end
207
+ end
208
+
209
+ class DisjunctiveMatchStatement
210
+ # @private
211
+ class Representation < Google::Apis::Core::JsonRepresentation
212
+ collection :event_filters, as: 'eventFilters', class: Google::Apis::DoubleclickbidmanagerV1_1::EventFilter, decorator: Google::Apis::DoubleclickbidmanagerV1_1::EventFilter::Representation
213
+
214
+ end
215
+ end
216
+
217
+ class DownloadLineItemsRequest
218
+ # @private
219
+ class Representation < Google::Apis::Core::JsonRepresentation
220
+ property :file_spec, as: 'fileSpec'
221
+ collection :filter_ids, as: 'filterIds'
222
+ property :filter_type, as: 'filterType'
223
+ property :format, as: 'format'
224
+ end
225
+ end
226
+
227
+ class DownloadLineItemsResponse
228
+ # @private
229
+ class Representation < Google::Apis::Core::JsonRepresentation
230
+ property :line_items, as: 'lineItems'
231
+ end
232
+ end
233
+
234
+ class DownloadRequest
235
+ # @private
236
+ class Representation < Google::Apis::Core::JsonRepresentation
237
+ collection :file_types, as: 'fileTypes'
238
+ collection :filter_ids, as: 'filterIds'
239
+ property :filter_type, as: 'filterType'
240
+ property :version, as: 'version'
241
+ end
242
+ end
243
+
244
+ class DownloadResponse
245
+ # @private
246
+ class Representation < Google::Apis::Core::JsonRepresentation
247
+ property :ad_groups, as: 'adGroups'
248
+ property :ads, as: 'ads'
249
+ property :campaigns, as: 'campaigns'
250
+ property :insertion_orders, as: 'insertionOrders'
251
+ property :inventory_sources, as: 'inventorySources'
252
+ property :line_items, as: 'lineItems'
253
+ end
254
+ end
255
+
256
+ class EventFilter
257
+ # @private
258
+ class Representation < Google::Apis::Core::JsonRepresentation
259
+ property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptionsFilter, decorator: Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptionsFilter::Representation
260
+
261
+ end
262
+ end
263
+
264
+ class FilterPair
265
+ # @private
266
+ class Representation < Google::Apis::Core::JsonRepresentation
267
+ property :type, as: 'type'
268
+ property :value, as: 'value'
269
+ end
270
+ end
271
+
272
+ class ListQueriesResponse
273
+ # @private
274
+ class Representation < Google::Apis::Core::JsonRepresentation
275
+ property :kind, as: 'kind'
276
+ property :next_page_token, as: 'nextPageToken'
277
+ collection :queries, as: 'queries', class: Google::Apis::DoubleclickbidmanagerV1_1::Query, decorator: Google::Apis::DoubleclickbidmanagerV1_1::Query::Representation
278
+
279
+ end
280
+ end
281
+
282
+ class ListReportsResponse
283
+ # @private
284
+ class Representation < Google::Apis::Core::JsonRepresentation
285
+ property :kind, as: 'kind'
286
+ property :next_page_token, as: 'nextPageToken'
287
+ collection :reports, as: 'reports', class: Google::Apis::DoubleclickbidmanagerV1_1::Report, decorator: Google::Apis::DoubleclickbidmanagerV1_1::Report::Representation
288
+
289
+ end
290
+ end
291
+
292
+ class Options
293
+ # @private
294
+ class Representation < Google::Apis::Core::JsonRepresentation
295
+ property :include_only_targeted_user_lists, as: 'includeOnlyTargetedUserLists'
296
+ property :path_query_options, as: 'pathQueryOptions', class: Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptions, decorator: Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptions::Representation
297
+
298
+ end
299
+ end
300
+
301
+ class Parameters
302
+ # @private
303
+ class Representation < Google::Apis::Core::JsonRepresentation
304
+ collection :filters, as: 'filters', class: Google::Apis::DoubleclickbidmanagerV1_1::FilterPair, decorator: Google::Apis::DoubleclickbidmanagerV1_1::FilterPair::Representation
305
+
306
+ collection :group_bys, as: 'groupBys'
307
+ property :include_invite_data, as: 'includeInviteData'
308
+ collection :metrics, as: 'metrics'
309
+ property :options, as: 'options', class: Google::Apis::DoubleclickbidmanagerV1_1::Options, decorator: Google::Apis::DoubleclickbidmanagerV1_1::Options::Representation
310
+
311
+ property :type, as: 'type'
312
+ end
313
+ end
314
+
315
+ class PathFilter
316
+ # @private
317
+ class Representation < Google::Apis::Core::JsonRepresentation
318
+ collection :event_filters, as: 'eventFilters', class: Google::Apis::DoubleclickbidmanagerV1_1::EventFilter, decorator: Google::Apis::DoubleclickbidmanagerV1_1::EventFilter::Representation
319
+
320
+ property :path_match_position, as: 'pathMatchPosition'
321
+ end
322
+ end
323
+
324
+ class PathQueryOptions
325
+ # @private
326
+ class Representation < Google::Apis::Core::JsonRepresentation
327
+ property :channel_grouping, as: 'channelGrouping', class: Google::Apis::DoubleclickbidmanagerV1_1::ChannelGrouping, decorator: Google::Apis::DoubleclickbidmanagerV1_1::ChannelGrouping::Representation
328
+
329
+ collection :path_filters, as: 'pathFilters', class: Google::Apis::DoubleclickbidmanagerV1_1::PathFilter, decorator: Google::Apis::DoubleclickbidmanagerV1_1::PathFilter::Representation
330
+
331
+ end
332
+ end
333
+
334
+ class PathQueryOptionsFilter
335
+ # @private
336
+ class Representation < Google::Apis::Core::JsonRepresentation
337
+ property :filter, as: 'filter'
338
+ property :match, as: 'match'
339
+ collection :values, as: 'values'
340
+ end
341
+ end
342
+
343
+ class Query
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ property :kind, as: 'kind'
347
+ property :metadata, as: 'metadata', class: Google::Apis::DoubleclickbidmanagerV1_1::QueryMetadata, decorator: Google::Apis::DoubleclickbidmanagerV1_1::QueryMetadata::Representation
348
+
349
+ property :params, as: 'params', class: Google::Apis::DoubleclickbidmanagerV1_1::Parameters, decorator: Google::Apis::DoubleclickbidmanagerV1_1::Parameters::Representation
350
+
351
+ property :query_id, :numeric_string => true, as: 'queryId'
352
+ property :report_data_end_time_ms, :numeric_string => true, as: 'reportDataEndTimeMs'
353
+ property :report_data_start_time_ms, :numeric_string => true, as: 'reportDataStartTimeMs'
354
+ property :schedule, as: 'schedule', class: Google::Apis::DoubleclickbidmanagerV1_1::QuerySchedule, decorator: Google::Apis::DoubleclickbidmanagerV1_1::QuerySchedule::Representation
355
+
356
+ property :timezone_code, as: 'timezoneCode'
357
+ end
358
+ end
359
+
360
+ class QueryMetadata
361
+ # @private
362
+ class Representation < Google::Apis::Core::JsonRepresentation
363
+ property :data_range, as: 'dataRange'
364
+ property :format, as: 'format'
365
+ property :google_cloud_storage_path_for_latest_report, as: 'googleCloudStoragePathForLatestReport'
366
+ property :google_drive_path_for_latest_report, as: 'googleDrivePathForLatestReport'
367
+ property :latest_report_run_time_ms, :numeric_string => true, as: 'latestReportRunTimeMs'
368
+ property :locale, as: 'locale'
369
+ property :report_count, as: 'reportCount'
370
+ property :running, as: 'running'
371
+ property :send_notification, as: 'sendNotification'
372
+ collection :share_email_address, as: 'shareEmailAddress'
373
+ property :title, as: 'title'
374
+ end
375
+ end
376
+
377
+ class QuerySchedule
378
+ # @private
379
+ class Representation < Google::Apis::Core::JsonRepresentation
380
+ property :end_time_ms, :numeric_string => true, as: 'endTimeMs'
381
+ property :frequency, as: 'frequency'
382
+ property :next_run_minute_of_day, as: 'nextRunMinuteOfDay'
383
+ property :next_run_timezone_code, as: 'nextRunTimezoneCode'
384
+ property :start_time_ms, :numeric_string => true, as: 'startTimeMs'
385
+ end
386
+ end
387
+
388
+ class Report
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :key, as: 'key', class: Google::Apis::DoubleclickbidmanagerV1_1::ReportKey, decorator: Google::Apis::DoubleclickbidmanagerV1_1::ReportKey::Representation
392
+
393
+ property :metadata, as: 'metadata', class: Google::Apis::DoubleclickbidmanagerV1_1::ReportMetadata, decorator: Google::Apis::DoubleclickbidmanagerV1_1::ReportMetadata::Representation
394
+
395
+ property :params, as: 'params', class: Google::Apis::DoubleclickbidmanagerV1_1::Parameters, decorator: Google::Apis::DoubleclickbidmanagerV1_1::Parameters::Representation
396
+
397
+ end
398
+ end
399
+
400
+ class ReportFailure
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ property :error_code, as: 'errorCode'
404
+ end
405
+ end
406
+
407
+ class ReportKey
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ property :query_id, :numeric_string => true, as: 'queryId'
411
+ property :report_id, :numeric_string => true, as: 'reportId'
412
+ end
413
+ end
414
+
415
+ class ReportMetadata
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ property :google_cloud_storage_path, as: 'googleCloudStoragePath'
419
+ property :report_data_end_time_ms, :numeric_string => true, as: 'reportDataEndTimeMs'
420
+ property :report_data_start_time_ms, :numeric_string => true, as: 'reportDataStartTimeMs'
421
+ property :status, as: 'status', class: Google::Apis::DoubleclickbidmanagerV1_1::ReportStatus, decorator: Google::Apis::DoubleclickbidmanagerV1_1::ReportStatus::Representation
422
+
423
+ end
424
+ end
425
+
426
+ class ReportStatus
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ property :failure, as: 'failure', class: Google::Apis::DoubleclickbidmanagerV1_1::ReportFailure, decorator: Google::Apis::DoubleclickbidmanagerV1_1::ReportFailure::Representation
430
+
431
+ property :finish_time_ms, :numeric_string => true, as: 'finishTimeMs'
432
+ property :format, as: 'format'
433
+ property :state, as: 'state'
434
+ end
435
+ end
436
+
437
+ class RowStatus
438
+ # @private
439
+ class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :changed, as: 'changed'
441
+ property :entity_id, :numeric_string => true, as: 'entityId'
442
+ property :entity_name, as: 'entityName'
443
+ collection :errors, as: 'errors'
444
+ property :persisted, as: 'persisted'
445
+ property :row_number, as: 'rowNumber'
446
+ end
447
+ end
448
+
449
+ class Rule
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ collection :disjunctive_match_statements, as: 'disjunctiveMatchStatements', class: Google::Apis::DoubleclickbidmanagerV1_1::DisjunctiveMatchStatement, decorator: Google::Apis::DoubleclickbidmanagerV1_1::DisjunctiveMatchStatement::Representation
453
+
454
+ property :name, as: 'name'
455
+ end
456
+ end
457
+
458
+ class RunQueryRequest
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ property :data_range, as: 'dataRange'
462
+ property :report_data_end_time_ms, :numeric_string => true, as: 'reportDataEndTimeMs'
463
+ property :report_data_start_time_ms, :numeric_string => true, as: 'reportDataStartTimeMs'
464
+ property :timezone_code, as: 'timezoneCode'
465
+ end
466
+ end
467
+
468
+ class UploadLineItemsRequest
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :dry_run, as: 'dryRun'
472
+ property :format, as: 'format'
473
+ property :line_items, as: 'lineItems'
474
+ end
475
+ end
476
+
477
+ class UploadLineItemsResponse
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :upload_status, as: 'uploadStatus', class: Google::Apis::DoubleclickbidmanagerV1_1::UploadStatus, decorator: Google::Apis::DoubleclickbidmanagerV1_1::UploadStatus::Representation
481
+
482
+ end
483
+ end
484
+
485
+ class UploadStatus
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ collection :errors, as: 'errors'
489
+ collection :row_status, as: 'rowStatus', class: Google::Apis::DoubleclickbidmanagerV1_1::RowStatus, decorator: Google::Apis::DoubleclickbidmanagerV1_1::RowStatus::Representation
490
+
491
+ end
492
+ end
493
+ end
494
+ end
495
+ end