google-apis-doubleclickbidmanager_v1 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/doubleclickbidmanager_v1.rb +0 -3
- data/lib/google/apis/doubleclickbidmanager_v1/classes.rb +0 -782
- data/lib/google/apis/doubleclickbidmanager_v1/gem_version.rb +3 -3
- data/lib/google/apis/doubleclickbidmanager_v1/representations.rb +0 -344
- data/lib/google/apis/doubleclickbidmanager_v1/service.rb +0 -268
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2605dfc87dc5024670aea57b7f6de824379e31b1dafb10172108ea0d78a34289
|
4
|
+
data.tar.gz: 1cb591917922afe815f8d432bf139e69fc82f4b1f997ce9bb44643f179c795e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67155117a687c367be9bdfbec4074bbb19636971574a7b09782f67dbe16df9a2da06eab5386b75b45749d37b81abcbbae361d262dcf0be2097ae7e586ae38f52
|
7
|
+
data.tar.gz: a479726b977d0ac87e462f45c9b60920ba0fe150b4cfc4e7ce5c48b1b9ca1dbbc107099bedf09ba0df96b22e9d09ae89abe583cbe9b4f84634b1a13d2c924014
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-doubleclickbidmanager_v1
|
2
2
|
|
3
|
+
### v0.3.0 (2021-04-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210420
|
6
|
+
* Regenerated using generator version 0.2.0
|
7
|
+
|
3
8
|
### v0.2.0 (2021-03-04)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.1.2
|
@@ -29,9 +29,6 @@ module Google
|
|
29
29
|
# Version of the DoubleClick Bid Manager API this client connects to.
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
|
-
|
33
|
-
# View and manage your reports in DoubleClick Bid Manager
|
34
|
-
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
35
32
|
end
|
36
33
|
end
|
37
34
|
end
|
@@ -21,788 +21,6 @@ require 'google/apis/errors'
|
|
21
21
|
module Google
|
22
22
|
module Apis
|
23
23
|
module DoubleclickbidmanagerV1
|
24
|
-
|
25
|
-
# Request to fetch stored line items.
|
26
|
-
class DownloadLineItemsRequest
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# File specification (column names, types, order) in which the line items will
|
30
|
-
# be returned. Default to EWF.
|
31
|
-
# Corresponds to the JSON property `fileSpec`
|
32
|
-
# @return [String]
|
33
|
-
attr_accessor :file_spec
|
34
|
-
|
35
|
-
# Ids of the specified filter type used to filter line items to fetch. If
|
36
|
-
# omitted, all the line items will be returned.
|
37
|
-
# Corresponds to the JSON property `filterIds`
|
38
|
-
# @return [Array<Fixnum>]
|
39
|
-
attr_accessor :filter_ids
|
40
|
-
|
41
|
-
# Filter type used to filter line items to fetch.
|
42
|
-
# Corresponds to the JSON property `filterType`
|
43
|
-
# @return [String]
|
44
|
-
attr_accessor :filter_type
|
45
|
-
|
46
|
-
# Format in which the line items will be returned. Default to CSV.
|
47
|
-
# Corresponds to the JSON property `format`
|
48
|
-
# @return [String]
|
49
|
-
attr_accessor :format
|
50
|
-
|
51
|
-
def initialize(**args)
|
52
|
-
update!(**args)
|
53
|
-
end
|
54
|
-
|
55
|
-
# Update properties of this object
|
56
|
-
def update!(**args)
|
57
|
-
@file_spec = args[:file_spec] if args.key?(:file_spec)
|
58
|
-
@filter_ids = args[:filter_ids] if args.key?(:filter_ids)
|
59
|
-
@filter_type = args[:filter_type] if args.key?(:filter_type)
|
60
|
-
@format = args[:format] if args.key?(:format)
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
# Download line items response.
|
65
|
-
class DownloadLineItemsResponse
|
66
|
-
include Google::Apis::Core::Hashable
|
67
|
-
|
68
|
-
# Retrieved line items in CSV format. For more information about file formats,
|
69
|
-
# see Entity Write File Format.
|
70
|
-
# Corresponds to the JSON property `lineItems`
|
71
|
-
# @return [String]
|
72
|
-
attr_accessor :line_items
|
73
|
-
|
74
|
-
def initialize(**args)
|
75
|
-
update!(**args)
|
76
|
-
end
|
77
|
-
|
78
|
-
# Update properties of this object
|
79
|
-
def update!(**args)
|
80
|
-
@line_items = args[:line_items] if args.key?(:line_items)
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# Request to fetch stored inventory sources, campaigns, insertion orders, line
|
85
|
-
# items, YouTube ad groups and ads.
|
86
|
-
class DownloadRequest
|
87
|
-
include Google::Apis::Core::Hashable
|
88
|
-
|
89
|
-
# File types that will be returned. If INVENTORY_SOURCE is requested, no other
|
90
|
-
# file types may be requested. Acceptable values are: - "AD" - "AD_GROUP" - "
|
91
|
-
# CAMPAIGN" - "INSERTION_ORDER" - "INVENTORY_SOURCE" - "LINE_ITEM"
|
92
|
-
# Corresponds to the JSON property `fileTypes`
|
93
|
-
# @return [Array<String>]
|
94
|
-
attr_accessor :file_types
|
95
|
-
|
96
|
-
# The IDs of the specified filter type. This is used to filter entities to fetch.
|
97
|
-
# At least one ID must be specified.
|
98
|
-
# Corresponds to the JSON property `filterIds`
|
99
|
-
# @return [Array<Fixnum>]
|
100
|
-
attr_accessor :filter_ids
|
101
|
-
|
102
|
-
# Filter type used to filter entities to fetch. PARTNER_ID and
|
103
|
-
# INVENTORY_SOURCE_ID may only be used when downloading inventory sources.
|
104
|
-
# Corresponds to the JSON property `filterType`
|
105
|
-
# @return [String]
|
106
|
-
attr_accessor :filter_type
|
107
|
-
|
108
|
-
# SDF Version (column names, types, order) in which the entities will be
|
109
|
-
# returned. Default to 5.
|
110
|
-
# Corresponds to the JSON property `version`
|
111
|
-
# @return [String]
|
112
|
-
attr_accessor :version
|
113
|
-
|
114
|
-
def initialize(**args)
|
115
|
-
update!(**args)
|
116
|
-
end
|
117
|
-
|
118
|
-
# Update properties of this object
|
119
|
-
def update!(**args)
|
120
|
-
@file_types = args[:file_types] if args.key?(:file_types)
|
121
|
-
@filter_ids = args[:filter_ids] if args.key?(:filter_ids)
|
122
|
-
@filter_type = args[:filter_type] if args.key?(:filter_type)
|
123
|
-
@version = args[:version] if args.key?(:version)
|
124
|
-
end
|
125
|
-
end
|
126
|
-
|
127
|
-
# Download response.
|
128
|
-
class DownloadResponse
|
129
|
-
include Google::Apis::Core::Hashable
|
130
|
-
|
131
|
-
# Retrieved ad groups in SDF format.
|
132
|
-
# Corresponds to the JSON property `adGroups`
|
133
|
-
# @return [String]
|
134
|
-
attr_accessor :ad_groups
|
135
|
-
|
136
|
-
# Retrieved ads in SDF format.
|
137
|
-
# Corresponds to the JSON property `ads`
|
138
|
-
# @return [String]
|
139
|
-
attr_accessor :ads
|
140
|
-
|
141
|
-
# Retrieved campaigns in SDF format.
|
142
|
-
# Corresponds to the JSON property `campaigns`
|
143
|
-
# @return [String]
|
144
|
-
attr_accessor :campaigns
|
145
|
-
|
146
|
-
# Retrieved insertion orders in SDF format.
|
147
|
-
# Corresponds to the JSON property `insertionOrders`
|
148
|
-
# @return [String]
|
149
|
-
attr_accessor :insertion_orders
|
150
|
-
|
151
|
-
#
|
152
|
-
# Corresponds to the JSON property `inventorySources`
|
153
|
-
# @return [String]
|
154
|
-
attr_accessor :inventory_sources
|
155
|
-
|
156
|
-
# Retrieved line items in SDF format.
|
157
|
-
# Corresponds to the JSON property `lineItems`
|
158
|
-
# @return [String]
|
159
|
-
attr_accessor :line_items
|
160
|
-
|
161
|
-
def initialize(**args)
|
162
|
-
update!(**args)
|
163
|
-
end
|
164
|
-
|
165
|
-
# Update properties of this object
|
166
|
-
def update!(**args)
|
167
|
-
@ad_groups = args[:ad_groups] if args.key?(:ad_groups)
|
168
|
-
@ads = args[:ads] if args.key?(:ads)
|
169
|
-
@campaigns = args[:campaigns] if args.key?(:campaigns)
|
170
|
-
@insertion_orders = args[:insertion_orders] if args.key?(:insertion_orders)
|
171
|
-
@inventory_sources = args[:inventory_sources] if args.key?(:inventory_sources)
|
172
|
-
@line_items = args[:line_items] if args.key?(:line_items)
|
173
|
-
end
|
174
|
-
end
|
175
|
-
|
176
|
-
# Filter used to match traffic data in your report.
|
177
|
-
class FilterPair
|
178
|
-
include Google::Apis::Core::Hashable
|
179
|
-
|
180
|
-
# Filter type.
|
181
|
-
# Corresponds to the JSON property `type`
|
182
|
-
# @return [String]
|
183
|
-
attr_accessor :type
|
184
|
-
|
185
|
-
# Filter value.
|
186
|
-
# Corresponds to the JSON property `value`
|
187
|
-
# @return [String]
|
188
|
-
attr_accessor :value
|
189
|
-
|
190
|
-
def initialize(**args)
|
191
|
-
update!(**args)
|
192
|
-
end
|
193
|
-
|
194
|
-
# Update properties of this object
|
195
|
-
def update!(**args)
|
196
|
-
@type = args[:type] if args.key?(:type)
|
197
|
-
@value = args[:value] if args.key?(:value)
|
198
|
-
end
|
199
|
-
end
|
200
|
-
|
201
|
-
# List queries response.
|
202
|
-
class ListQueriesResponse
|
203
|
-
include Google::Apis::Core::Hashable
|
204
|
-
|
205
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
206
|
-
# doubleclickbidmanager#listQueriesResponse".
|
207
|
-
# Corresponds to the JSON property `kind`
|
208
|
-
# @return [String]
|
209
|
-
attr_accessor :kind
|
210
|
-
|
211
|
-
# Retrieved queries.
|
212
|
-
# Corresponds to the JSON property `queries`
|
213
|
-
# @return [Array<Google::Apis::DoubleclickbidmanagerV1::Query>]
|
214
|
-
attr_accessor :queries
|
215
|
-
|
216
|
-
def initialize(**args)
|
217
|
-
update!(**args)
|
218
|
-
end
|
219
|
-
|
220
|
-
# Update properties of this object
|
221
|
-
def update!(**args)
|
222
|
-
@kind = args[:kind] if args.key?(:kind)
|
223
|
-
@queries = args[:queries] if args.key?(:queries)
|
224
|
-
end
|
225
|
-
end
|
226
|
-
|
227
|
-
# List reports response.
|
228
|
-
class ListReportsResponse
|
229
|
-
include Google::Apis::Core::Hashable
|
230
|
-
|
231
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
232
|
-
# doubleclickbidmanager#listReportsResponse".
|
233
|
-
# Corresponds to the JSON property `kind`
|
234
|
-
# @return [String]
|
235
|
-
attr_accessor :kind
|
236
|
-
|
237
|
-
# Retrieved reports.
|
238
|
-
# Corresponds to the JSON property `reports`
|
239
|
-
# @return [Array<Google::Apis::DoubleclickbidmanagerV1::Report>]
|
240
|
-
attr_accessor :reports
|
241
|
-
|
242
|
-
def initialize(**args)
|
243
|
-
update!(**args)
|
244
|
-
end
|
245
|
-
|
246
|
-
# Update properties of this object
|
247
|
-
def update!(**args)
|
248
|
-
@kind = args[:kind] if args.key?(:kind)
|
249
|
-
@reports = args[:reports] if args.key?(:reports)
|
250
|
-
end
|
251
|
-
end
|
252
|
-
|
253
|
-
# Parameters of a query or report.
|
254
|
-
class Parameters
|
255
|
-
include Google::Apis::Core::Hashable
|
256
|
-
|
257
|
-
# Filters used to match traffic data in your report.
|
258
|
-
# Corresponds to the JSON property `filters`
|
259
|
-
# @return [Array<Google::Apis::DoubleclickbidmanagerV1::FilterPair>]
|
260
|
-
attr_accessor :filters
|
261
|
-
|
262
|
-
# Data is grouped by the filters listed in this field.
|
263
|
-
# Corresponds to the JSON property `groupBys`
|
264
|
-
# @return [Array<String>]
|
265
|
-
attr_accessor :group_bys
|
266
|
-
|
267
|
-
# Deprecated. This field is no longer in use.
|
268
|
-
# Corresponds to the JSON property `includeInviteData`
|
269
|
-
# @return [Boolean]
|
270
|
-
attr_accessor :include_invite_data
|
271
|
-
alias_method :include_invite_data?, :include_invite_data
|
272
|
-
|
273
|
-
# Metrics to include as columns in your report.
|
274
|
-
# Corresponds to the JSON property `metrics`
|
275
|
-
# @return [Array<String>]
|
276
|
-
attr_accessor :metrics
|
277
|
-
|
278
|
-
# Report type.
|
279
|
-
# Corresponds to the JSON property `type`
|
280
|
-
# @return [String]
|
281
|
-
attr_accessor :type
|
282
|
-
|
283
|
-
def initialize(**args)
|
284
|
-
update!(**args)
|
285
|
-
end
|
286
|
-
|
287
|
-
# Update properties of this object
|
288
|
-
def update!(**args)
|
289
|
-
@filters = args[:filters] if args.key?(:filters)
|
290
|
-
@group_bys = args[:group_bys] if args.key?(:group_bys)
|
291
|
-
@include_invite_data = args[:include_invite_data] if args.key?(:include_invite_data)
|
292
|
-
@metrics = args[:metrics] if args.key?(:metrics)
|
293
|
-
@type = args[:type] if args.key?(:type)
|
294
|
-
end
|
295
|
-
end
|
296
|
-
|
297
|
-
# Represents a query.
|
298
|
-
class Query
|
299
|
-
include Google::Apis::Core::Hashable
|
300
|
-
|
301
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
302
|
-
# doubleclickbidmanager#query".
|
303
|
-
# Corresponds to the JSON property `kind`
|
304
|
-
# @return [String]
|
305
|
-
attr_accessor :kind
|
306
|
-
|
307
|
-
# Query metadata.
|
308
|
-
# Corresponds to the JSON property `metadata`
|
309
|
-
# @return [Google::Apis::DoubleclickbidmanagerV1::QueryMetadata]
|
310
|
-
attr_accessor :metadata
|
311
|
-
|
312
|
-
# Parameters of a query or report.
|
313
|
-
# Corresponds to the JSON property `params`
|
314
|
-
# @return [Google::Apis::DoubleclickbidmanagerV1::Parameters]
|
315
|
-
attr_accessor :params
|
316
|
-
|
317
|
-
# Query ID.
|
318
|
-
# Corresponds to the JSON property `queryId`
|
319
|
-
# @return [Fixnum]
|
320
|
-
attr_accessor :query_id
|
321
|
-
|
322
|
-
# The ending time for the data that is shown in the report. Note,
|
323
|
-
# reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and
|
324
|
-
# ignored otherwise.
|
325
|
-
# Corresponds to the JSON property `reportDataEndTimeMs`
|
326
|
-
# @return [Fixnum]
|
327
|
-
attr_accessor :report_data_end_time_ms
|
328
|
-
|
329
|
-
# The starting time for the data that is shown in the report. Note,
|
330
|
-
# reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and
|
331
|
-
# ignored otherwise.
|
332
|
-
# Corresponds to the JSON property `reportDataStartTimeMs`
|
333
|
-
# @return [Fixnum]
|
334
|
-
attr_accessor :report_data_start_time_ms
|
335
|
-
|
336
|
-
# Information on how frequently and when to run a query.
|
337
|
-
# Corresponds to the JSON property `schedule`
|
338
|
-
# @return [Google::Apis::DoubleclickbidmanagerV1::QuerySchedule]
|
339
|
-
attr_accessor :schedule
|
340
|
-
|
341
|
-
# Canonical timezone code for report data time. Defaults to America/New_York.
|
342
|
-
# Corresponds to the JSON property `timezoneCode`
|
343
|
-
# @return [String]
|
344
|
-
attr_accessor :timezone_code
|
345
|
-
|
346
|
-
def initialize(**args)
|
347
|
-
update!(**args)
|
348
|
-
end
|
349
|
-
|
350
|
-
# Update properties of this object
|
351
|
-
def update!(**args)
|
352
|
-
@kind = args[:kind] if args.key?(:kind)
|
353
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
354
|
-
@params = args[:params] if args.key?(:params)
|
355
|
-
@query_id = args[:query_id] if args.key?(:query_id)
|
356
|
-
@report_data_end_time_ms = args[:report_data_end_time_ms] if args.key?(:report_data_end_time_ms)
|
357
|
-
@report_data_start_time_ms = args[:report_data_start_time_ms] if args.key?(:report_data_start_time_ms)
|
358
|
-
@schedule = args[:schedule] if args.key?(:schedule)
|
359
|
-
@timezone_code = args[:timezone_code] if args.key?(:timezone_code)
|
360
|
-
end
|
361
|
-
end
|
362
|
-
|
363
|
-
# Query metadata.
|
364
|
-
class QueryMetadata
|
365
|
-
include Google::Apis::Core::Hashable
|
366
|
-
|
367
|
-
# Range of report data.
|
368
|
-
# Corresponds to the JSON property `dataRange`
|
369
|
-
# @return [String]
|
370
|
-
attr_accessor :data_range
|
371
|
-
|
372
|
-
# Format of the generated report.
|
373
|
-
# Corresponds to the JSON property `format`
|
374
|
-
# @return [String]
|
375
|
-
attr_accessor :format
|
376
|
-
|
377
|
-
# The path to the location in Google Cloud Storage where the latest report is
|
378
|
-
# stored.
|
379
|
-
# Corresponds to the JSON property `googleCloudStoragePathForLatestReport`
|
380
|
-
# @return [String]
|
381
|
-
attr_accessor :google_cloud_storage_path_for_latest_report
|
382
|
-
|
383
|
-
# The path in Google Drive for the latest report.
|
384
|
-
# Corresponds to the JSON property `googleDrivePathForLatestReport`
|
385
|
-
# @return [String]
|
386
|
-
attr_accessor :google_drive_path_for_latest_report
|
387
|
-
|
388
|
-
# The time when the latest report started to run.
|
389
|
-
# Corresponds to the JSON property `latestReportRunTimeMs`
|
390
|
-
# @return [Fixnum]
|
391
|
-
attr_accessor :latest_report_run_time_ms
|
392
|
-
|
393
|
-
# Locale of the generated reports. Valid values are cs CZECH de GERMAN en
|
394
|
-
# ENGLISH es SPANISH fr FRENCH it ITALIAN ja JAPANESE ko KOREAN pl POLISH pt-BR
|
395
|
-
# BRAZILIAN_PORTUGUESE ru RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-
|
396
|
-
# TW TAIWAN_CHINESE An locale string not in the list above will generate reports
|
397
|
-
# in English.
|
398
|
-
# Corresponds to the JSON property `locale`
|
399
|
-
# @return [String]
|
400
|
-
attr_accessor :locale
|
401
|
-
|
402
|
-
# Number of reports that have been generated for the query.
|
403
|
-
# Corresponds to the JSON property `reportCount`
|
404
|
-
# @return [Fixnum]
|
405
|
-
attr_accessor :report_count
|
406
|
-
|
407
|
-
# Whether the latest report is currently running.
|
408
|
-
# Corresponds to the JSON property `running`
|
409
|
-
# @return [Boolean]
|
410
|
-
attr_accessor :running
|
411
|
-
alias_method :running?, :running
|
412
|
-
|
413
|
-
# Whether to send an email notification when a report is ready. Default to false.
|
414
|
-
# Corresponds to the JSON property `sendNotification`
|
415
|
-
# @return [Boolean]
|
416
|
-
attr_accessor :send_notification
|
417
|
-
alias_method :send_notification?, :send_notification
|
418
|
-
|
419
|
-
# List of email addresses which are sent email notifications when the report is
|
420
|
-
# finished. Separate from sendNotification.
|
421
|
-
# Corresponds to the JSON property `shareEmailAddress`
|
422
|
-
# @return [Array<String>]
|
423
|
-
attr_accessor :share_email_address
|
424
|
-
|
425
|
-
# Query title. It is used to name the reports generated from this query.
|
426
|
-
# Corresponds to the JSON property `title`
|
427
|
-
# @return [String]
|
428
|
-
attr_accessor :title
|
429
|
-
|
430
|
-
def initialize(**args)
|
431
|
-
update!(**args)
|
432
|
-
end
|
433
|
-
|
434
|
-
# Update properties of this object
|
435
|
-
def update!(**args)
|
436
|
-
@data_range = args[:data_range] if args.key?(:data_range)
|
437
|
-
@format = args[:format] if args.key?(:format)
|
438
|
-
@google_cloud_storage_path_for_latest_report = args[:google_cloud_storage_path_for_latest_report] if args.key?(:google_cloud_storage_path_for_latest_report)
|
439
|
-
@google_drive_path_for_latest_report = args[:google_drive_path_for_latest_report] if args.key?(:google_drive_path_for_latest_report)
|
440
|
-
@latest_report_run_time_ms = args[:latest_report_run_time_ms] if args.key?(:latest_report_run_time_ms)
|
441
|
-
@locale = args[:locale] if args.key?(:locale)
|
442
|
-
@report_count = args[:report_count] if args.key?(:report_count)
|
443
|
-
@running = args[:running] if args.key?(:running)
|
444
|
-
@send_notification = args[:send_notification] if args.key?(:send_notification)
|
445
|
-
@share_email_address = args[:share_email_address] if args.key?(:share_email_address)
|
446
|
-
@title = args[:title] if args.key?(:title)
|
447
|
-
end
|
448
|
-
end
|
449
|
-
|
450
|
-
# Information on how frequently and when to run a query.
|
451
|
-
class QuerySchedule
|
452
|
-
include Google::Apis::Core::Hashable
|
453
|
-
|
454
|
-
# Datetime to periodically run the query until.
|
455
|
-
# Corresponds to the JSON property `endTimeMs`
|
456
|
-
# @return [Fixnum]
|
457
|
-
attr_accessor :end_time_ms
|
458
|
-
|
459
|
-
# How often the query is run.
|
460
|
-
# Corresponds to the JSON property `frequency`
|
461
|
-
# @return [String]
|
462
|
-
attr_accessor :frequency
|
463
|
-
|
464
|
-
# Time of day at which a new report will be generated, represented as minutes
|
465
|
-
# past midnight. Range is 0 to 1439. Only applies to scheduled reports.
|
466
|
-
# Corresponds to the JSON property `nextRunMinuteOfDay`
|
467
|
-
# @return [Fixnum]
|
468
|
-
attr_accessor :next_run_minute_of_day
|
469
|
-
|
470
|
-
# Canonical timezone code for report generation time. Defaults to America/
|
471
|
-
# New_York.
|
472
|
-
# Corresponds to the JSON property `nextRunTimezoneCode`
|
473
|
-
# @return [String]
|
474
|
-
attr_accessor :next_run_timezone_code
|
475
|
-
|
476
|
-
def initialize(**args)
|
477
|
-
update!(**args)
|
478
|
-
end
|
479
|
-
|
480
|
-
# Update properties of this object
|
481
|
-
def update!(**args)
|
482
|
-
@end_time_ms = args[:end_time_ms] if args.key?(:end_time_ms)
|
483
|
-
@frequency = args[:frequency] if args.key?(:frequency)
|
484
|
-
@next_run_minute_of_day = args[:next_run_minute_of_day] if args.key?(:next_run_minute_of_day)
|
485
|
-
@next_run_timezone_code = args[:next_run_timezone_code] if args.key?(:next_run_timezone_code)
|
486
|
-
end
|
487
|
-
end
|
488
|
-
|
489
|
-
# Represents a report.
|
490
|
-
class Report
|
491
|
-
include Google::Apis::Core::Hashable
|
492
|
-
|
493
|
-
# Key used to identify a report.
|
494
|
-
# Corresponds to the JSON property `key`
|
495
|
-
# @return [Google::Apis::DoubleclickbidmanagerV1::ReportKey]
|
496
|
-
attr_accessor :key
|
497
|
-
|
498
|
-
# Report metadata.
|
499
|
-
# Corresponds to the JSON property `metadata`
|
500
|
-
# @return [Google::Apis::DoubleclickbidmanagerV1::ReportMetadata]
|
501
|
-
attr_accessor :metadata
|
502
|
-
|
503
|
-
# Parameters of a query or report.
|
504
|
-
# Corresponds to the JSON property `params`
|
505
|
-
# @return [Google::Apis::DoubleclickbidmanagerV1::Parameters]
|
506
|
-
attr_accessor :params
|
507
|
-
|
508
|
-
def initialize(**args)
|
509
|
-
update!(**args)
|
510
|
-
end
|
511
|
-
|
512
|
-
# Update properties of this object
|
513
|
-
def update!(**args)
|
514
|
-
@key = args[:key] if args.key?(:key)
|
515
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
516
|
-
@params = args[:params] if args.key?(:params)
|
517
|
-
end
|
518
|
-
end
|
519
|
-
|
520
|
-
# An explanation of a report failure.
|
521
|
-
class ReportFailure
|
522
|
-
include Google::Apis::Core::Hashable
|
523
|
-
|
524
|
-
# Error code that shows why the report was not created.
|
525
|
-
# Corresponds to the JSON property `errorCode`
|
526
|
-
# @return [String]
|
527
|
-
attr_accessor :error_code
|
528
|
-
|
529
|
-
def initialize(**args)
|
530
|
-
update!(**args)
|
531
|
-
end
|
532
|
-
|
533
|
-
# Update properties of this object
|
534
|
-
def update!(**args)
|
535
|
-
@error_code = args[:error_code] if args.key?(:error_code)
|
536
|
-
end
|
537
|
-
end
|
538
|
-
|
539
|
-
# Key used to identify a report.
|
540
|
-
class ReportKey
|
541
|
-
include Google::Apis::Core::Hashable
|
542
|
-
|
543
|
-
# Query ID.
|
544
|
-
# Corresponds to the JSON property `queryId`
|
545
|
-
# @return [Fixnum]
|
546
|
-
attr_accessor :query_id
|
547
|
-
|
548
|
-
# Report ID.
|
549
|
-
# Corresponds to the JSON property `reportId`
|
550
|
-
# @return [Fixnum]
|
551
|
-
attr_accessor :report_id
|
552
|
-
|
553
|
-
def initialize(**args)
|
554
|
-
update!(**args)
|
555
|
-
end
|
556
|
-
|
557
|
-
# Update properties of this object
|
558
|
-
def update!(**args)
|
559
|
-
@query_id = args[:query_id] if args.key?(:query_id)
|
560
|
-
@report_id = args[:report_id] if args.key?(:report_id)
|
561
|
-
end
|
562
|
-
end
|
563
|
-
|
564
|
-
# Report metadata.
|
565
|
-
class ReportMetadata
|
566
|
-
include Google::Apis::Core::Hashable
|
567
|
-
|
568
|
-
# The path to the location in Google Cloud Storage where the report is stored.
|
569
|
-
# Corresponds to the JSON property `googleCloudStoragePath`
|
570
|
-
# @return [String]
|
571
|
-
attr_accessor :google_cloud_storage_path
|
572
|
-
|
573
|
-
# The ending time for the data that is shown in the report.
|
574
|
-
# Corresponds to the JSON property `reportDataEndTimeMs`
|
575
|
-
# @return [Fixnum]
|
576
|
-
attr_accessor :report_data_end_time_ms
|
577
|
-
|
578
|
-
# The starting time for the data that is shown in the report.
|
579
|
-
# Corresponds to the JSON property `reportDataStartTimeMs`
|
580
|
-
# @return [Fixnum]
|
581
|
-
attr_accessor :report_data_start_time_ms
|
582
|
-
|
583
|
-
# Report status.
|
584
|
-
# Corresponds to the JSON property `status`
|
585
|
-
# @return [Google::Apis::DoubleclickbidmanagerV1::ReportStatus]
|
586
|
-
attr_accessor :status
|
587
|
-
|
588
|
-
def initialize(**args)
|
589
|
-
update!(**args)
|
590
|
-
end
|
591
|
-
|
592
|
-
# Update properties of this object
|
593
|
-
def update!(**args)
|
594
|
-
@google_cloud_storage_path = args[:google_cloud_storage_path] if args.key?(:google_cloud_storage_path)
|
595
|
-
@report_data_end_time_ms = args[:report_data_end_time_ms] if args.key?(:report_data_end_time_ms)
|
596
|
-
@report_data_start_time_ms = args[:report_data_start_time_ms] if args.key?(:report_data_start_time_ms)
|
597
|
-
@status = args[:status] if args.key?(:status)
|
598
|
-
end
|
599
|
-
end
|
600
|
-
|
601
|
-
# Report status.
|
602
|
-
class ReportStatus
|
603
|
-
include Google::Apis::Core::Hashable
|
604
|
-
|
605
|
-
# An explanation of a report failure.
|
606
|
-
# Corresponds to the JSON property `failure`
|
607
|
-
# @return [Google::Apis::DoubleclickbidmanagerV1::ReportFailure]
|
608
|
-
attr_accessor :failure
|
609
|
-
|
610
|
-
# The time when this report either completed successfully or failed.
|
611
|
-
# Corresponds to the JSON property `finishTimeMs`
|
612
|
-
# @return [Fixnum]
|
613
|
-
attr_accessor :finish_time_ms
|
614
|
-
|
615
|
-
# The file type of the report.
|
616
|
-
# Corresponds to the JSON property `format`
|
617
|
-
# @return [String]
|
618
|
-
attr_accessor :format
|
619
|
-
|
620
|
-
# The state of the report.
|
621
|
-
# Corresponds to the JSON property `state`
|
622
|
-
# @return [String]
|
623
|
-
attr_accessor :state
|
624
|
-
|
625
|
-
def initialize(**args)
|
626
|
-
update!(**args)
|
627
|
-
end
|
628
|
-
|
629
|
-
# Update properties of this object
|
630
|
-
def update!(**args)
|
631
|
-
@failure = args[:failure] if args.key?(:failure)
|
632
|
-
@finish_time_ms = args[:finish_time_ms] if args.key?(:finish_time_ms)
|
633
|
-
@format = args[:format] if args.key?(:format)
|
634
|
-
@state = args[:state] if args.key?(:state)
|
635
|
-
end
|
636
|
-
end
|
637
|
-
|
638
|
-
# Represents the upload status of a row in the request.
|
639
|
-
class RowStatus
|
640
|
-
include Google::Apis::Core::Hashable
|
641
|
-
|
642
|
-
# Whether the stored entity is changed as a result of upload.
|
643
|
-
# Corresponds to the JSON property `changed`
|
644
|
-
# @return [Boolean]
|
645
|
-
attr_accessor :changed
|
646
|
-
alias_method :changed?, :changed
|
647
|
-
|
648
|
-
# Entity Id.
|
649
|
-
# Corresponds to the JSON property `entityId`
|
650
|
-
# @return [Fixnum]
|
651
|
-
attr_accessor :entity_id
|
652
|
-
|
653
|
-
# Entity name.
|
654
|
-
# Corresponds to the JSON property `entityName`
|
655
|
-
# @return [String]
|
656
|
-
attr_accessor :entity_name
|
657
|
-
|
658
|
-
# Reasons why the entity can't be uploaded.
|
659
|
-
# Corresponds to the JSON property `errors`
|
660
|
-
# @return [Array<String>]
|
661
|
-
attr_accessor :errors
|
662
|
-
|
663
|
-
# Whether the entity is persisted.
|
664
|
-
# Corresponds to the JSON property `persisted`
|
665
|
-
# @return [Boolean]
|
666
|
-
attr_accessor :persisted
|
667
|
-
alias_method :persisted?, :persisted
|
668
|
-
|
669
|
-
# Row number.
|
670
|
-
# Corresponds to the JSON property `rowNumber`
|
671
|
-
# @return [Fixnum]
|
672
|
-
attr_accessor :row_number
|
673
|
-
|
674
|
-
def initialize(**args)
|
675
|
-
update!(**args)
|
676
|
-
end
|
677
|
-
|
678
|
-
# Update properties of this object
|
679
|
-
def update!(**args)
|
680
|
-
@changed = args[:changed] if args.key?(:changed)
|
681
|
-
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
682
|
-
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
683
|
-
@errors = args[:errors] if args.key?(:errors)
|
684
|
-
@persisted = args[:persisted] if args.key?(:persisted)
|
685
|
-
@row_number = args[:row_number] if args.key?(:row_number)
|
686
|
-
end
|
687
|
-
end
|
688
|
-
|
689
|
-
# Request to run a stored query to generate a report.
|
690
|
-
class RunQueryRequest
|
691
|
-
include Google::Apis::Core::Hashable
|
692
|
-
|
693
|
-
# Report data range used to generate the report.
|
694
|
-
# Corresponds to the JSON property `dataRange`
|
695
|
-
# @return [String]
|
696
|
-
attr_accessor :data_range
|
697
|
-
|
698
|
-
# The ending time for the data that is shown in the report. Note,
|
699
|
-
# reportDataEndTimeMs is required if dataRange is CUSTOM_DATES and ignored
|
700
|
-
# otherwise.
|
701
|
-
# Corresponds to the JSON property `reportDataEndTimeMs`
|
702
|
-
# @return [Fixnum]
|
703
|
-
attr_accessor :report_data_end_time_ms
|
704
|
-
|
705
|
-
# The starting time for the data that is shown in the report. Note,
|
706
|
-
# reportDataStartTimeMs is required if dataRange is CUSTOM_DATES and ignored
|
707
|
-
# otherwise.
|
708
|
-
# Corresponds to the JSON property `reportDataStartTimeMs`
|
709
|
-
# @return [Fixnum]
|
710
|
-
attr_accessor :report_data_start_time_ms
|
711
|
-
|
712
|
-
# Canonical timezone code for report data time. Defaults to America/New_York.
|
713
|
-
# Corresponds to the JSON property `timezoneCode`
|
714
|
-
# @return [String]
|
715
|
-
attr_accessor :timezone_code
|
716
|
-
|
717
|
-
def initialize(**args)
|
718
|
-
update!(**args)
|
719
|
-
end
|
720
|
-
|
721
|
-
# Update properties of this object
|
722
|
-
def update!(**args)
|
723
|
-
@data_range = args[:data_range] if args.key?(:data_range)
|
724
|
-
@report_data_end_time_ms = args[:report_data_end_time_ms] if args.key?(:report_data_end_time_ms)
|
725
|
-
@report_data_start_time_ms = args[:report_data_start_time_ms] if args.key?(:report_data_start_time_ms)
|
726
|
-
@timezone_code = args[:timezone_code] if args.key?(:timezone_code)
|
727
|
-
end
|
728
|
-
end
|
729
|
-
|
730
|
-
# Request to upload line items.
|
731
|
-
class UploadLineItemsRequest
|
732
|
-
include Google::Apis::Core::Hashable
|
733
|
-
|
734
|
-
# Set to true to get upload status without actually persisting the line items.
|
735
|
-
# Corresponds to the JSON property `dryRun`
|
736
|
-
# @return [Boolean]
|
737
|
-
attr_accessor :dry_run
|
738
|
-
alias_method :dry_run?, :dry_run
|
739
|
-
|
740
|
-
# Format the line items are in. Default to CSV.
|
741
|
-
# Corresponds to the JSON property `format`
|
742
|
-
# @return [String]
|
743
|
-
attr_accessor :format
|
744
|
-
|
745
|
-
# Line items in CSV to upload. Refer to Entity Write File Format for more
|
746
|
-
# information on file format.
|
747
|
-
# Corresponds to the JSON property `lineItems`
|
748
|
-
# @return [String]
|
749
|
-
attr_accessor :line_items
|
750
|
-
|
751
|
-
def initialize(**args)
|
752
|
-
update!(**args)
|
753
|
-
end
|
754
|
-
|
755
|
-
# Update properties of this object
|
756
|
-
def update!(**args)
|
757
|
-
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
758
|
-
@format = args[:format] if args.key?(:format)
|
759
|
-
@line_items = args[:line_items] if args.key?(:line_items)
|
760
|
-
end
|
761
|
-
end
|
762
|
-
|
763
|
-
# Upload line items response.
|
764
|
-
class UploadLineItemsResponse
|
765
|
-
include Google::Apis::Core::Hashable
|
766
|
-
|
767
|
-
# Represents the status of upload.
|
768
|
-
# Corresponds to the JSON property `uploadStatus`
|
769
|
-
# @return [Google::Apis::DoubleclickbidmanagerV1::UploadStatus]
|
770
|
-
attr_accessor :upload_status
|
771
|
-
|
772
|
-
def initialize(**args)
|
773
|
-
update!(**args)
|
774
|
-
end
|
775
|
-
|
776
|
-
# Update properties of this object
|
777
|
-
def update!(**args)
|
778
|
-
@upload_status = args[:upload_status] if args.key?(:upload_status)
|
779
|
-
end
|
780
|
-
end
|
781
|
-
|
782
|
-
# Represents the status of upload.
|
783
|
-
class UploadStatus
|
784
|
-
include Google::Apis::Core::Hashable
|
785
|
-
|
786
|
-
# Reasons why upload can't be completed.
|
787
|
-
# Corresponds to the JSON property `errors`
|
788
|
-
# @return [Array<String>]
|
789
|
-
attr_accessor :errors
|
790
|
-
|
791
|
-
# Per-row upload status.
|
792
|
-
# Corresponds to the JSON property `rowStatus`
|
793
|
-
# @return [Array<Google::Apis::DoubleclickbidmanagerV1::RowStatus>]
|
794
|
-
attr_accessor :row_status
|
795
|
-
|
796
|
-
def initialize(**args)
|
797
|
-
update!(**args)
|
798
|
-
end
|
799
|
-
|
800
|
-
# Update properties of this object
|
801
|
-
def update!(**args)
|
802
|
-
@errors = args[:errors] if args.key?(:errors)
|
803
|
-
@row_status = args[:row_status] if args.key?(:row_status)
|
804
|
-
end
|
805
|
-
end
|
806
24
|
end
|
807
25
|
end
|
808
26
|
end
|