google-apis-curationpartners_v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,773 @@
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 CurationpartnersV1
24
+
25
+ class AccessControlSettings
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ActivateCuratedPackageRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ActivateDataSegmentRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AdSize
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CriteriaTargeting
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CuratedPackage
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class DataSegment
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Date
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class DateRange
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class DeactivateCuratedPackageRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DeactivateDataSegmentRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DoubleList
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class Empty
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class FetchReportResultRowsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Field
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class FieldFilter
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Filter
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class FilterList
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class FixedDateRange
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class IntList
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListCuratedPackagesResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListDataSegmentsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ListMediaPlannersResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ListReportsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class MediaPlanner
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class MetricValueGroup
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Money
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Operation
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class PackagePlacementTargeting
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class PackagePublisherProvidedSignalsTargeting
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class PackageTargeting
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class PackageVideoTargeting
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Report
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ReportDefinition
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ReportValue
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class Row
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class RunReportMetadata
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class RunReportRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class RunReportResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Sort
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Status
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class StringList
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class StringTargetingDimension
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class TaxonomyTargeting
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class VideoPlayerSizeTargeting
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class VideoPlcmtTargeting
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class AccessControlSettings
302
+ # @private
303
+ class Representation < Google::Apis::Core::JsonRepresentation
304
+ collection :allowlisted_media_planners, as: 'allowlistedMediaPlanners'
305
+ end
306
+ end
307
+
308
+ class ActivateCuratedPackageRequest
309
+ # @private
310
+ class Representation < Google::Apis::Core::JsonRepresentation
311
+ end
312
+ end
313
+
314
+ class ActivateDataSegmentRequest
315
+ # @private
316
+ class Representation < Google::Apis::Core::JsonRepresentation
317
+ end
318
+ end
319
+
320
+ class AdSize
321
+ # @private
322
+ class Representation < Google::Apis::Core::JsonRepresentation
323
+ property :height, :numeric_string => true, as: 'height'
324
+ property :type, as: 'type'
325
+ property :width, :numeric_string => true, as: 'width'
326
+ end
327
+ end
328
+
329
+ class CriteriaTargeting
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ collection :excluded_criteria_ids, as: 'excludedCriteriaIds'
333
+ collection :targeted_criteria_ids, as: 'targetedCriteriaIds'
334
+ end
335
+ end
336
+
337
+ class CuratedPackage
338
+ # @private
339
+ class Representation < Google::Apis::Core::JsonRepresentation
340
+ property :access_settings, as: 'accessSettings', class: Google::Apis::CurationpartnersV1::AccessControlSettings, decorator: Google::Apis::CurationpartnersV1::AccessControlSettings::Representation
341
+
342
+ property :create_time, as: 'createTime'
343
+ property :curation_fee_visibility, as: 'curationFeeVisibility'
344
+ property :description, as: 'description'
345
+ property :display_name, as: 'displayName'
346
+ property :fee_cpm, as: 'feeCpm', class: Google::Apis::CurationpartnersV1::Money, decorator: Google::Apis::CurationpartnersV1::Money::Representation
347
+
348
+ property :floor_price_cpm, as: 'floorPriceCpm', class: Google::Apis::CurationpartnersV1::Money, decorator: Google::Apis::CurationpartnersV1::Money::Representation
349
+
350
+ property :millipercent_of_media_fee, :numeric_string => true, as: 'millipercentOfMediaFee'
351
+ property :name, as: 'name'
352
+ property :state, as: 'state'
353
+ property :targeting, as: 'targeting', class: Google::Apis::CurationpartnersV1::PackageTargeting, decorator: Google::Apis::CurationpartnersV1::PackageTargeting::Representation
354
+
355
+ property :update_time, as: 'updateTime'
356
+ end
357
+ end
358
+
359
+ class DataSegment
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ property :cpm_fee, as: 'cpmFee', class: Google::Apis::CurationpartnersV1::Money, decorator: Google::Apis::CurationpartnersV1::Money::Representation
363
+
364
+ property :create_time, as: 'createTime'
365
+ property :millipercent_of_media_fee, :numeric_string => true, as: 'millipercentOfMediaFee'
366
+ property :name, as: 'name'
367
+ property :state, as: 'state'
368
+ property :update_time, as: 'updateTime'
369
+ property :user_list_id, as: 'userListId'
370
+ end
371
+ end
372
+
373
+ class Date
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ property :day, as: 'day'
377
+ property :month, as: 'month'
378
+ property :year, as: 'year'
379
+ end
380
+ end
381
+
382
+ class DateRange
383
+ # @private
384
+ class Representation < Google::Apis::Core::JsonRepresentation
385
+ property :fixed, as: 'fixed', class: Google::Apis::CurationpartnersV1::FixedDateRange, decorator: Google::Apis::CurationpartnersV1::FixedDateRange::Representation
386
+
387
+ property :relative, as: 'relative'
388
+ end
389
+ end
390
+
391
+ class DeactivateCuratedPackageRequest
392
+ # @private
393
+ class Representation < Google::Apis::Core::JsonRepresentation
394
+ end
395
+ end
396
+
397
+ class DeactivateDataSegmentRequest
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ end
401
+ end
402
+
403
+ class DoubleList
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ collection :values, as: 'values'
407
+ end
408
+ end
409
+
410
+ class Empty
411
+ # @private
412
+ class Representation < Google::Apis::Core::JsonRepresentation
413
+ end
414
+ end
415
+
416
+ class FetchReportResultRowsResponse
417
+ # @private
418
+ class Representation < Google::Apis::Core::JsonRepresentation
419
+ collection :date_ranges, as: 'dateRanges', class: Google::Apis::CurationpartnersV1::FixedDateRange, decorator: Google::Apis::CurationpartnersV1::FixedDateRange::Representation
420
+
421
+ property :next_page_token, as: 'nextPageToken'
422
+ collection :rows, as: 'rows', class: Google::Apis::CurationpartnersV1::Row, decorator: Google::Apis::CurationpartnersV1::Row::Representation
423
+
424
+ property :run_time, as: 'runTime'
425
+ property :total_row_count, as: 'totalRowCount'
426
+ end
427
+ end
428
+
429
+ class Field
430
+ # @private
431
+ class Representation < Google::Apis::Core::JsonRepresentation
432
+ property :dimension, as: 'dimension'
433
+ property :metric, as: 'metric'
434
+ end
435
+ end
436
+
437
+ class FieldFilter
438
+ # @private
439
+ class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :field, as: 'field', class: Google::Apis::CurationpartnersV1::Field, decorator: Google::Apis::CurationpartnersV1::Field::Representation
441
+
442
+ property :operation, as: 'operation'
443
+ collection :values, as: 'values', class: Google::Apis::CurationpartnersV1::ReportValue, decorator: Google::Apis::CurationpartnersV1::ReportValue::Representation
444
+
445
+ end
446
+ end
447
+
448
+ class Filter
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ property :and_filter, as: 'andFilter', class: Google::Apis::CurationpartnersV1::FilterList, decorator: Google::Apis::CurationpartnersV1::FilterList::Representation
452
+
453
+ property :field_filter, as: 'fieldFilter', class: Google::Apis::CurationpartnersV1::FieldFilter, decorator: Google::Apis::CurationpartnersV1::FieldFilter::Representation
454
+
455
+ property :not_filter, as: 'notFilter', class: Google::Apis::CurationpartnersV1::Filter, decorator: Google::Apis::CurationpartnersV1::Filter::Representation
456
+
457
+ property :or_filter, as: 'orFilter', class: Google::Apis::CurationpartnersV1::FilterList, decorator: Google::Apis::CurationpartnersV1::FilterList::Representation
458
+
459
+ end
460
+ end
461
+
462
+ class FilterList
463
+ # @private
464
+ class Representation < Google::Apis::Core::JsonRepresentation
465
+ collection :filters, as: 'filters', class: Google::Apis::CurationpartnersV1::Filter, decorator: Google::Apis::CurationpartnersV1::Filter::Representation
466
+
467
+ end
468
+ end
469
+
470
+ class FixedDateRange
471
+ # @private
472
+ class Representation < Google::Apis::Core::JsonRepresentation
473
+ property :end_date, as: 'endDate', class: Google::Apis::CurationpartnersV1::Date, decorator: Google::Apis::CurationpartnersV1::Date::Representation
474
+
475
+ property :start_date, as: 'startDate', class: Google::Apis::CurationpartnersV1::Date, decorator: Google::Apis::CurationpartnersV1::Date::Representation
476
+
477
+ end
478
+ end
479
+
480
+ class IntList
481
+ # @private
482
+ class Representation < Google::Apis::Core::JsonRepresentation
483
+ collection :values, as: 'values'
484
+ end
485
+ end
486
+
487
+ class ListCuratedPackagesResponse
488
+ # @private
489
+ class Representation < Google::Apis::Core::JsonRepresentation
490
+ collection :curated_packages, as: 'curatedPackages', class: Google::Apis::CurationpartnersV1::CuratedPackage, decorator: Google::Apis::CurationpartnersV1::CuratedPackage::Representation
491
+
492
+ property :next_page_token, as: 'nextPageToken'
493
+ end
494
+ end
495
+
496
+ class ListDataSegmentsResponse
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ collection :data_segments, as: 'dataSegments', class: Google::Apis::CurationpartnersV1::DataSegment, decorator: Google::Apis::CurationpartnersV1::DataSegment::Representation
500
+
501
+ property :next_page_token, as: 'nextPageToken'
502
+ end
503
+ end
504
+
505
+ class ListMediaPlannersResponse
506
+ # @private
507
+ class Representation < Google::Apis::Core::JsonRepresentation
508
+ collection :media_planners, as: 'mediaPlanners', class: Google::Apis::CurationpartnersV1::MediaPlanner, decorator: Google::Apis::CurationpartnersV1::MediaPlanner::Representation
509
+
510
+ property :next_page_token, as: 'nextPageToken'
511
+ end
512
+ end
513
+
514
+ class ListReportsResponse
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :next_page_token, as: 'nextPageToken'
518
+ collection :reports, as: 'reports', class: Google::Apis::CurationpartnersV1::Report, decorator: Google::Apis::CurationpartnersV1::Report::Representation
519
+
520
+ property :total_size, as: 'totalSize'
521
+ end
522
+ end
523
+
524
+ class MediaPlanner
525
+ # @private
526
+ class Representation < Google::Apis::Core::JsonRepresentation
527
+ property :account_id, as: 'accountId'
528
+ collection :ancestor_names, as: 'ancestorNames'
529
+ property :display_name, as: 'displayName'
530
+ property :name, as: 'name'
531
+ end
532
+ end
533
+
534
+ class MetricValueGroup
535
+ # @private
536
+ class Representation < Google::Apis::Core::JsonRepresentation
537
+ collection :primary_values, as: 'primaryValues', class: Google::Apis::CurationpartnersV1::ReportValue, decorator: Google::Apis::CurationpartnersV1::ReportValue::Representation
538
+
539
+ end
540
+ end
541
+
542
+ class Money
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ property :currency_code, as: 'currencyCode'
546
+ property :nanos, as: 'nanos'
547
+ property :units, :numeric_string => true, as: 'units'
548
+ end
549
+ end
550
+
551
+ class Operation
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ property :done, as: 'done'
555
+ property :error, as: 'error', class: Google::Apis::CurationpartnersV1::Status, decorator: Google::Apis::CurationpartnersV1::Status::Representation
556
+
557
+ hash :metadata, as: 'metadata'
558
+ property :name, as: 'name'
559
+ hash :response, as: 'response'
560
+ end
561
+ end
562
+
563
+ class PackagePlacementTargeting
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ collection :included_mobile_app_category_targeting, as: 'includedMobileAppCategoryTargeting'
567
+ property :mobile_app_targeting, as: 'mobileAppTargeting', class: Google::Apis::CurationpartnersV1::StringTargetingDimension, decorator: Google::Apis::CurationpartnersV1::StringTargetingDimension::Representation
568
+
569
+ property :uri_targeting, as: 'uriTargeting', class: Google::Apis::CurationpartnersV1::StringTargetingDimension, decorator: Google::Apis::CurationpartnersV1::StringTargetingDimension::Representation
570
+
571
+ end
572
+ end
573
+
574
+ class PackagePublisherProvidedSignalsTargeting
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :audience_targeting, as: 'audienceTargeting', class: Google::Apis::CurationpartnersV1::TaxonomyTargeting, decorator: Google::Apis::CurationpartnersV1::TaxonomyTargeting::Representation
578
+
579
+ property :content_targeting, as: 'contentTargeting', class: Google::Apis::CurationpartnersV1::TaxonomyTargeting, decorator: Google::Apis::CurationpartnersV1::TaxonomyTargeting::Representation
580
+
581
+ property :video_and_audio_signals_targeting, as: 'videoAndAudioSignalsTargeting', class: Google::Apis::CurationpartnersV1::StringTargetingDimension, decorator: Google::Apis::CurationpartnersV1::StringTargetingDimension::Representation
582
+
583
+ end
584
+ end
585
+
586
+ class PackageTargeting
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :geo_targeting, as: 'geoTargeting', class: Google::Apis::CurationpartnersV1::CriteriaTargeting, decorator: Google::Apis::CurationpartnersV1::CriteriaTargeting::Representation
590
+
591
+ property :included_accelerated_mobile_page_type, as: 'includedAcceleratedMobilePageType'
592
+ collection :included_ad_sizes, as: 'includedAdSizes', class: Google::Apis::CurationpartnersV1::AdSize, decorator: Google::Apis::CurationpartnersV1::AdSize::Representation
593
+
594
+ collection :included_authorized_seller_statuses, as: 'includedAuthorizedSellerStatuses'
595
+ property :included_creative_format, as: 'includedCreativeFormat'
596
+ collection :included_data_segments, as: 'includedDataSegments'
597
+ collection :included_device_types, as: 'includedDeviceTypes'
598
+ property :included_environment, as: 'includedEnvironment'
599
+ collection :included_native_inventory_types, as: 'includedNativeInventoryTypes'
600
+ collection :included_open_measurement_types, as: 'includedOpenMeasurementTypes'
601
+ collection :included_restricted_categories, as: 'includedRestrictedCategories'
602
+ property :included_rewarded_type, as: 'includedRewardedType'
603
+ property :language_targeting, as: 'languageTargeting', class: Google::Apis::CurationpartnersV1::StringTargetingDimension, decorator: Google::Apis::CurationpartnersV1::StringTargetingDimension::Representation
604
+
605
+ property :minimum_predicted_click_through_rate_percentage_millis, :numeric_string => true, as: 'minimumPredictedClickThroughRatePercentageMillis'
606
+ property :minimum_predicted_viewability_percentage, :numeric_string => true, as: 'minimumPredictedViewabilityPercentage'
607
+ property :placement_targeting, as: 'placementTargeting', class: Google::Apis::CurationpartnersV1::PackagePlacementTargeting, decorator: Google::Apis::CurationpartnersV1::PackagePlacementTargeting::Representation
608
+
609
+ property :publisher_provided_signals_targeting, as: 'publisherProvidedSignalsTargeting', class: Google::Apis::CurationpartnersV1::PackagePublisherProvidedSignalsTargeting, decorator: Google::Apis::CurationpartnersV1::PackagePublisherProvidedSignalsTargeting::Representation
610
+
611
+ property :publisher_targeting, as: 'publisherTargeting', class: Google::Apis::CurationpartnersV1::StringTargetingDimension, decorator: Google::Apis::CurationpartnersV1::StringTargetingDimension::Representation
612
+
613
+ property :vertical_targeting, as: 'verticalTargeting', class: Google::Apis::CurationpartnersV1::CriteriaTargeting, decorator: Google::Apis::CurationpartnersV1::CriteriaTargeting::Representation
614
+
615
+ property :video_targeting, as: 'videoTargeting', class: Google::Apis::CurationpartnersV1::PackageVideoTargeting, decorator: Google::Apis::CurationpartnersV1::PackageVideoTargeting::Representation
616
+
617
+ end
618
+ end
619
+
620
+ class PackageVideoTargeting
621
+ # @private
622
+ class Representation < Google::Apis::Core::JsonRepresentation
623
+ property :included_content_delivery_method, as: 'includedContentDeliveryMethod'
624
+ property :included_maximum_ad_duration_targeting, as: 'includedMaximumAdDurationTargeting'
625
+ collection :included_mime_types, as: 'includedMimeTypes'
626
+ collection :included_playback_methods, as: 'includedPlaybackMethods'
627
+ property :included_player_size_targeting, as: 'includedPlayerSizeTargeting', class: Google::Apis::CurationpartnersV1::VideoPlayerSizeTargeting, decorator: Google::Apis::CurationpartnersV1::VideoPlayerSizeTargeting::Representation
628
+
629
+ collection :included_position_types, as: 'includedPositionTypes'
630
+ property :minimum_predicted_completion_rate_percentage, :numeric_string => true, as: 'minimumPredictedCompletionRatePercentage'
631
+ property :plcmt_targeting, as: 'plcmtTargeting', class: Google::Apis::CurationpartnersV1::VideoPlcmtTargeting, decorator: Google::Apis::CurationpartnersV1::VideoPlcmtTargeting::Representation
632
+
633
+ end
634
+ end
635
+
636
+ class Report
637
+ # @private
638
+ class Representation < Google::Apis::Core::JsonRepresentation
639
+ property :create_time, as: 'createTime'
640
+ property :display_name, as: 'displayName'
641
+ property :locale, as: 'locale'
642
+ property :name, as: 'name'
643
+ property :report_definition, as: 'reportDefinition', class: Google::Apis::CurationpartnersV1::ReportDefinition, decorator: Google::Apis::CurationpartnersV1::ReportDefinition::Representation
644
+
645
+ property :report_id, :numeric_string => true, as: 'reportId'
646
+ property :update_time, as: 'updateTime'
647
+ end
648
+ end
649
+
650
+ class ReportDefinition
651
+ # @private
652
+ class Representation < Google::Apis::Core::JsonRepresentation
653
+ property :currency_code, as: 'currencyCode'
654
+ property :date_range, as: 'dateRange', class: Google::Apis::CurationpartnersV1::DateRange, decorator: Google::Apis::CurationpartnersV1::DateRange::Representation
655
+
656
+ collection :dimensions, as: 'dimensions'
657
+ collection :filters, as: 'filters', class: Google::Apis::CurationpartnersV1::Filter, decorator: Google::Apis::CurationpartnersV1::Filter::Representation
658
+
659
+ collection :metrics, as: 'metrics'
660
+ collection :sorts, as: 'sorts', class: Google::Apis::CurationpartnersV1::Sort, decorator: Google::Apis::CurationpartnersV1::Sort::Representation
661
+
662
+ property :time_zone, as: 'timeZone'
663
+ property :time_zone_source, as: 'timeZoneSource'
664
+ end
665
+ end
666
+
667
+ class ReportValue
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ property :bool_value, as: 'boolValue'
671
+ property :bytes_value, :base64 => true, as: 'bytesValue'
672
+ property :double_list_value, as: 'doubleListValue', class: Google::Apis::CurationpartnersV1::DoubleList, decorator: Google::Apis::CurationpartnersV1::DoubleList::Representation
673
+
674
+ property :double_value, as: 'doubleValue'
675
+ property :int_list_value, as: 'intListValue', class: Google::Apis::CurationpartnersV1::IntList, decorator: Google::Apis::CurationpartnersV1::IntList::Representation
676
+
677
+ property :int_value, :numeric_string => true, as: 'intValue'
678
+ property :string_list_value, as: 'stringListValue', class: Google::Apis::CurationpartnersV1::StringList, decorator: Google::Apis::CurationpartnersV1::StringList::Representation
679
+
680
+ property :string_value, as: 'stringValue'
681
+ end
682
+ end
683
+
684
+ class Row
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ collection :dimension_values, as: 'dimensionValues', class: Google::Apis::CurationpartnersV1::ReportValue, decorator: Google::Apis::CurationpartnersV1::ReportValue::Representation
688
+
689
+ collection :metric_value_groups, as: 'metricValueGroups', class: Google::Apis::CurationpartnersV1::MetricValueGroup, decorator: Google::Apis::CurationpartnersV1::MetricValueGroup::Representation
690
+
691
+ end
692
+ end
693
+
694
+ class RunReportMetadata
695
+ # @private
696
+ class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :percent_complete, as: 'percentComplete'
698
+ property :report, as: 'report'
699
+ end
700
+ end
701
+
702
+ class RunReportRequest
703
+ # @private
704
+ class Representation < Google::Apis::Core::JsonRepresentation
705
+ end
706
+ end
707
+
708
+ class RunReportResponse
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :report_result, as: 'reportResult'
712
+ end
713
+ end
714
+
715
+ class Sort
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ property :descending, as: 'descending'
719
+ property :field, as: 'field', class: Google::Apis::CurationpartnersV1::Field, decorator: Google::Apis::CurationpartnersV1::Field::Representation
720
+
721
+ end
722
+ end
723
+
724
+ class Status
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :code, as: 'code'
728
+ collection :details, as: 'details'
729
+ property :message, as: 'message'
730
+ end
731
+ end
732
+
733
+ class StringList
734
+ # @private
735
+ class Representation < Google::Apis::Core::JsonRepresentation
736
+ collection :values, as: 'values'
737
+ end
738
+ end
739
+
740
+ class StringTargetingDimension
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :selection_type, as: 'selectionType'
744
+ collection :values, as: 'values'
745
+ end
746
+ end
747
+
748
+ class TaxonomyTargeting
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ collection :excluded_taxonomy_ids, as: 'excludedTaxonomyIds'
752
+ collection :targeted_taxonomy_ids, as: 'targetedTaxonomyIds'
753
+ end
754
+ end
755
+
756
+ class VideoPlayerSizeTargeting
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :minimum_height, :numeric_string => true, as: 'minimumHeight'
760
+ property :minimum_width, :numeric_string => true, as: 'minimumWidth'
761
+ end
762
+ end
763
+
764
+ class VideoPlcmtTargeting
765
+ # @private
766
+ class Representation < Google::Apis::Core::JsonRepresentation
767
+ property :selection_type, as: 'selectionType'
768
+ collection :video_plcmt_types, as: 'videoPlcmtTypes'
769
+ end
770
+ end
771
+ end
772
+ end
773
+ end