google-apis-authorizedbuyersmarketplace_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1035 @@
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 AuthorizedbuyersmarketplaceV1
24
+
25
+ class AcceptProposalRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ActivateClientRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ActivateClientUserRequest
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 AddCreativeRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AddNoteRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AuctionPackage
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class BatchUpdateDealsRequest
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class BatchUpdateDealsResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CancelNegotiationRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Client
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ClientUser
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class Contact
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class CreativeRequirements
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class CriteriaTargeting
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DayPart
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DayPartTargeting
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class DeactivateClientRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class DeactivateClientUserRequest
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Deal
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class DealPausingInfo
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class DeliveryControl
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Empty
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class FinalizedDeal
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class FirstPartyMobileApplicationTargeting
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class FrequencyCap
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class InventorySizeTargeting
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ListAuctionPackagesResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ListClientUsersResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ListClientsResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ListDealsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ListFinalizedDealsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ListProposalsResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ListPublisherProfilesResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class MarketplaceTargeting
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class MobileApplicationTargeting
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class Money
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class Note
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class OperatingSystemTargeting
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class PauseFinalizedDealRequest
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class PlacementTargeting
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class PreferredDealTerms
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class Price
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class PrivateAuctionTerms
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class PrivateData
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ProgrammaticGuaranteedTerms
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class Proposal
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class PublisherProfile
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class PublisherProfileMobileApplication
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class ResumeFinalizedDealRequest
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class RtbMetrics
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class SendRfpRequest
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class SetReadyToServeRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class SubscribeAuctionPackageRequest
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class SubscribeClientsRequest
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class TechnologyTargeting
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class TimeOfDay
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class TimeZone
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class UnsubscribeAuctionPackageRequest
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class UnsubscribeClientsRequest
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class UpdateDealRequest
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class UriTargeting
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class VideoTargeting
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class AcceptProposalRequest
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :proposal_revision, :numeric_string => true, as: 'proposalRevision'
407
+ end
408
+ end
409
+
410
+ class ActivateClientRequest
411
+ # @private
412
+ class Representation < Google::Apis::Core::JsonRepresentation
413
+ end
414
+ end
415
+
416
+ class ActivateClientUserRequest
417
+ # @private
418
+ class Representation < Google::Apis::Core::JsonRepresentation
419
+ end
420
+ end
421
+
422
+ class AdSize
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ property :height, :numeric_string => true, as: 'height'
426
+ property :type, as: 'type'
427
+ property :width, :numeric_string => true, as: 'width'
428
+ end
429
+ end
430
+
431
+ class AddCreativeRequest
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :creative, as: 'creative'
435
+ end
436
+ end
437
+
438
+ class AddNoteRequest
439
+ # @private
440
+ class Representation < Google::Apis::Core::JsonRepresentation
441
+ property :note, as: 'note', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Note, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Note::Representation
442
+
443
+ end
444
+ end
445
+
446
+ class AuctionPackage
447
+ # @private
448
+ class Representation < Google::Apis::Core::JsonRepresentation
449
+ property :create_time, as: 'createTime'
450
+ property :creator, as: 'creator'
451
+ property :description, as: 'description'
452
+ property :display_name, as: 'displayName'
453
+ property :name, as: 'name'
454
+ collection :subscribed_clients, as: 'subscribedClients'
455
+ property :update_time, as: 'updateTime'
456
+ end
457
+ end
458
+
459
+ class BatchUpdateDealsRequest
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ collection :requests, as: 'requests', class: Google::Apis::AuthorizedbuyersmarketplaceV1::UpdateDealRequest, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::UpdateDealRequest::Representation
463
+
464
+ end
465
+ end
466
+
467
+ class BatchUpdateDealsResponse
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ collection :deals, as: 'deals', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Deal, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Deal::Representation
471
+
472
+ end
473
+ end
474
+
475
+ class CancelNegotiationRequest
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ end
479
+ end
480
+
481
+ class Client
482
+ # @private
483
+ class Representation < Google::Apis::Core::JsonRepresentation
484
+ property :display_name, as: 'displayName'
485
+ property :name, as: 'name'
486
+ property :partner_client_id, as: 'partnerClientId'
487
+ property :role, as: 'role'
488
+ property :seller_visible, as: 'sellerVisible'
489
+ property :state, as: 'state'
490
+ end
491
+ end
492
+
493
+ class ClientUser
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :email, as: 'email'
497
+ property :name, as: 'name'
498
+ property :state, as: 'state'
499
+ end
500
+ end
501
+
502
+ class Contact
503
+ # @private
504
+ class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :display_name, as: 'displayName'
506
+ property :email, as: 'email'
507
+ end
508
+ end
509
+
510
+ class CreativeRequirements
511
+ # @private
512
+ class Representation < Google::Apis::Core::JsonRepresentation
513
+ property :creative_pre_approval_policy, as: 'creativePreApprovalPolicy'
514
+ property :creative_safe_frame_compatibility, as: 'creativeSafeFrameCompatibility'
515
+ property :programmatic_creative_source, as: 'programmaticCreativeSource'
516
+ end
517
+ end
518
+
519
+ class CriteriaTargeting
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ collection :excluded_criteria_ids, as: 'excludedCriteriaIds'
523
+ collection :targeted_criteria_ids, as: 'targetedCriteriaIds'
524
+ end
525
+ end
526
+
527
+ class DayPart
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :day_of_week, as: 'dayOfWeek'
531
+ property :end_time, as: 'endTime', class: Google::Apis::AuthorizedbuyersmarketplaceV1::TimeOfDay, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::TimeOfDay::Representation
532
+
533
+ property :start_time, as: 'startTime', class: Google::Apis::AuthorizedbuyersmarketplaceV1::TimeOfDay, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::TimeOfDay::Representation
534
+
535
+ end
536
+ end
537
+
538
+ class DayPartTargeting
539
+ # @private
540
+ class Representation < Google::Apis::Core::JsonRepresentation
541
+ collection :day_parts, as: 'dayParts', class: Google::Apis::AuthorizedbuyersmarketplaceV1::DayPart, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::DayPart::Representation
542
+
543
+ property :time_zone_type, as: 'timeZoneType'
544
+ end
545
+ end
546
+
547
+ class DeactivateClientRequest
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ end
551
+ end
552
+
553
+ class DeactivateClientUserRequest
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ end
557
+ end
558
+
559
+ class Deal
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :billed_buyer, as: 'billedBuyer'
563
+ property :buyer, as: 'buyer'
564
+ property :client, as: 'client'
565
+ property :create_time, as: 'createTime'
566
+ property :creative_requirements, as: 'creativeRequirements', class: Google::Apis::AuthorizedbuyersmarketplaceV1::CreativeRequirements, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::CreativeRequirements::Representation
567
+
568
+ property :deal_type, as: 'dealType'
569
+ property :delivery_control, as: 'deliveryControl', class: Google::Apis::AuthorizedbuyersmarketplaceV1::DeliveryControl, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::DeliveryControl::Representation
570
+
571
+ property :description, as: 'description'
572
+ property :display_name, as: 'displayName'
573
+ property :estimated_gross_spend, as: 'estimatedGrossSpend', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Money, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Money::Representation
574
+
575
+ property :flight_end_time, as: 'flightEndTime'
576
+ property :flight_start_time, as: 'flightStartTime'
577
+ property :name, as: 'name'
578
+ property :preferred_deal_terms, as: 'preferredDealTerms', class: Google::Apis::AuthorizedbuyersmarketplaceV1::PreferredDealTerms, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::PreferredDealTerms::Representation
579
+
580
+ property :private_auction_terms, as: 'privateAuctionTerms', class: Google::Apis::AuthorizedbuyersmarketplaceV1::PrivateAuctionTerms, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::PrivateAuctionTerms::Representation
581
+
582
+ property :programmatic_guaranteed_terms, as: 'programmaticGuaranteedTerms', class: Google::Apis::AuthorizedbuyersmarketplaceV1::ProgrammaticGuaranteedTerms, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::ProgrammaticGuaranteedTerms::Representation
583
+
584
+ property :proposal_revision, :numeric_string => true, as: 'proposalRevision'
585
+ property :publisher_profile, as: 'publisherProfile'
586
+ property :seller_time_zone, as: 'sellerTimeZone', class: Google::Apis::AuthorizedbuyersmarketplaceV1::TimeZone, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::TimeZone::Representation
587
+
588
+ property :targeting, as: 'targeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::MarketplaceTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::MarketplaceTargeting::Representation
589
+
590
+ property :update_time, as: 'updateTime'
591
+ end
592
+ end
593
+
594
+ class DealPausingInfo
595
+ # @private
596
+ class Representation < Google::Apis::Core::JsonRepresentation
597
+ property :pause_reason, as: 'pauseReason'
598
+ property :pause_role, as: 'pauseRole'
599
+ property :pausing_consented, as: 'pausingConsented'
600
+ end
601
+ end
602
+
603
+ class DeliveryControl
604
+ # @private
605
+ class Representation < Google::Apis::Core::JsonRepresentation
606
+ property :companion_delivery_type, as: 'companionDeliveryType'
607
+ property :creative_rotation_type, as: 'creativeRotationType'
608
+ property :delivery_rate_type, as: 'deliveryRateType'
609
+ collection :frequency_cap, as: 'frequencyCap', class: Google::Apis::AuthorizedbuyersmarketplaceV1::FrequencyCap, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::FrequencyCap::Representation
610
+
611
+ property :roadblocking_type, as: 'roadblockingType'
612
+ end
613
+ end
614
+
615
+ class Empty
616
+ # @private
617
+ class Representation < Google::Apis::Core::JsonRepresentation
618
+ end
619
+ end
620
+
621
+ class FinalizedDeal
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ property :deal, as: 'deal', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Deal, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Deal::Representation
625
+
626
+ property :deal_pausing_info, as: 'dealPausingInfo', class: Google::Apis::AuthorizedbuyersmarketplaceV1::DealPausingInfo, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::DealPausingInfo::Representation
627
+
628
+ property :deal_serving_status, as: 'dealServingStatus'
629
+ property :name, as: 'name'
630
+ property :ready_to_serve, as: 'readyToServe'
631
+ property :rtb_metrics, as: 'rtbMetrics', class: Google::Apis::AuthorizedbuyersmarketplaceV1::RtbMetrics, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::RtbMetrics::Representation
632
+
633
+ end
634
+ end
635
+
636
+ class FirstPartyMobileApplicationTargeting
637
+ # @private
638
+ class Representation < Google::Apis::Core::JsonRepresentation
639
+ collection :excluded_app_ids, as: 'excludedAppIds'
640
+ collection :targeted_app_ids, as: 'targetedAppIds'
641
+ end
642
+ end
643
+
644
+ class FrequencyCap
645
+ # @private
646
+ class Representation < Google::Apis::Core::JsonRepresentation
647
+ property :max_impressions, as: 'maxImpressions'
648
+ property :time_unit_type, as: 'timeUnitType'
649
+ property :time_units_count, as: 'timeUnitsCount'
650
+ end
651
+ end
652
+
653
+ class InventorySizeTargeting
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ collection :excluded_inventory_sizes, as: 'excludedInventorySizes', class: Google::Apis::AuthorizedbuyersmarketplaceV1::AdSize, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::AdSize::Representation
657
+
658
+ collection :targeted_inventory_sizes, as: 'targetedInventorySizes', class: Google::Apis::AuthorizedbuyersmarketplaceV1::AdSize, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::AdSize::Representation
659
+
660
+ end
661
+ end
662
+
663
+ class ListAuctionPackagesResponse
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ collection :auction_packages, as: 'auctionPackages', class: Google::Apis::AuthorizedbuyersmarketplaceV1::AuctionPackage, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::AuctionPackage::Representation
667
+
668
+ property :next_page_token, as: 'nextPageToken'
669
+ end
670
+ end
671
+
672
+ class ListClientUsersResponse
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ collection :client_users, as: 'clientUsers', class: Google::Apis::AuthorizedbuyersmarketplaceV1::ClientUser, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::ClientUser::Representation
676
+
677
+ property :next_page_token, as: 'nextPageToken'
678
+ end
679
+ end
680
+
681
+ class ListClientsResponse
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ collection :clients, as: 'clients', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Client, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Client::Representation
685
+
686
+ property :next_page_token, as: 'nextPageToken'
687
+ end
688
+ end
689
+
690
+ class ListDealsResponse
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ collection :deals, as: 'deals', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Deal, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Deal::Representation
694
+
695
+ property :next_page_token, as: 'nextPageToken'
696
+ end
697
+ end
698
+
699
+ class ListFinalizedDealsResponse
700
+ # @private
701
+ class Representation < Google::Apis::Core::JsonRepresentation
702
+ collection :finalized_deals, as: 'finalizedDeals', class: Google::Apis::AuthorizedbuyersmarketplaceV1::FinalizedDeal, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::FinalizedDeal::Representation
703
+
704
+ property :next_page_token, as: 'nextPageToken'
705
+ end
706
+ end
707
+
708
+ class ListProposalsResponse
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :next_page_token, as: 'nextPageToken'
712
+ collection :proposals, as: 'proposals', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Proposal, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Proposal::Representation
713
+
714
+ end
715
+ end
716
+
717
+ class ListPublisherProfilesResponse
718
+ # @private
719
+ class Representation < Google::Apis::Core::JsonRepresentation
720
+ property :next_page_token, as: 'nextPageToken'
721
+ collection :publisher_profiles, as: 'publisherProfiles', class: Google::Apis::AuthorizedbuyersmarketplaceV1::PublisherProfile, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::PublisherProfile::Representation
722
+
723
+ end
724
+ end
725
+
726
+ class MarketplaceTargeting
727
+ # @private
728
+ class Representation < Google::Apis::Core::JsonRepresentation
729
+ property :daypart_targeting, as: 'daypartTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::DayPartTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::DayPartTargeting::Representation
730
+
731
+ property :geo_targeting, as: 'geoTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting::Representation
732
+
733
+ property :inventory_size_targeting, as: 'inventorySizeTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::InventorySizeTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::InventorySizeTargeting::Representation
734
+
735
+ property :placement_targeting, as: 'placementTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::PlacementTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::PlacementTargeting::Representation
736
+
737
+ property :technology_targeting, as: 'technologyTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::TechnologyTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::TechnologyTargeting::Representation
738
+
739
+ property :user_list_targeting, as: 'userListTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting::Representation
740
+
741
+ property :video_targeting, as: 'videoTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::VideoTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::VideoTargeting::Representation
742
+
743
+ end
744
+ end
745
+
746
+ class MobileApplicationTargeting
747
+ # @private
748
+ class Representation < Google::Apis::Core::JsonRepresentation
749
+ property :first_party_targeting, as: 'firstPartyTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::FirstPartyMobileApplicationTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::FirstPartyMobileApplicationTargeting::Representation
750
+
751
+ end
752
+ end
753
+
754
+ class Money
755
+ # @private
756
+ class Representation < Google::Apis::Core::JsonRepresentation
757
+ property :currency_code, as: 'currencyCode'
758
+ property :nanos, as: 'nanos'
759
+ property :units, :numeric_string => true, as: 'units'
760
+ end
761
+ end
762
+
763
+ class Note
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :create_time, as: 'createTime'
767
+ property :creator_role, as: 'creatorRole'
768
+ property :note, as: 'note'
769
+ end
770
+ end
771
+
772
+ class OperatingSystemTargeting
773
+ # @private
774
+ class Representation < Google::Apis::Core::JsonRepresentation
775
+ property :operating_system_criteria, as: 'operatingSystemCriteria', class: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting::Representation
776
+
777
+ property :operating_system_version_criteria, as: 'operatingSystemVersionCriteria', class: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting::Representation
778
+
779
+ end
780
+ end
781
+
782
+ class PauseFinalizedDealRequest
783
+ # @private
784
+ class Representation < Google::Apis::Core::JsonRepresentation
785
+ property :reason, as: 'reason'
786
+ end
787
+ end
788
+
789
+ class PlacementTargeting
790
+ # @private
791
+ class Representation < Google::Apis::Core::JsonRepresentation
792
+ property :mobile_application_targeting, as: 'mobileApplicationTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::MobileApplicationTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::MobileApplicationTargeting::Representation
793
+
794
+ property :uri_targeting, as: 'uriTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::UriTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::UriTargeting::Representation
795
+
796
+ end
797
+ end
798
+
799
+ class PreferredDealTerms
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ property :fixed_price, as: 'fixedPrice', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Price, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Price::Representation
803
+
804
+ end
805
+ end
806
+
807
+ class Price
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ property :amount, as: 'amount', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Money, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Money::Representation
811
+
812
+ property :type, as: 'type'
813
+ end
814
+ end
815
+
816
+ class PrivateAuctionTerms
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ property :floor_price, as: 'floorPrice', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Price, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Price::Representation
820
+
821
+ property :open_auction_allowed, as: 'openAuctionAllowed'
822
+ end
823
+ end
824
+
825
+ class PrivateData
826
+ # @private
827
+ class Representation < Google::Apis::Core::JsonRepresentation
828
+ property :reference_id, as: 'referenceId'
829
+ end
830
+ end
831
+
832
+ class ProgrammaticGuaranteedTerms
833
+ # @private
834
+ class Representation < Google::Apis::Core::JsonRepresentation
835
+ property :fixed_price, as: 'fixedPrice', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Price, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Price::Representation
836
+
837
+ property :guaranteed_looks, :numeric_string => true, as: 'guaranteedLooks'
838
+ property :impression_cap, :numeric_string => true, as: 'impressionCap'
839
+ property :minimum_daily_looks, :numeric_string => true, as: 'minimumDailyLooks'
840
+ property :percent_share_of_voice, :numeric_string => true, as: 'percentShareOfVoice'
841
+ property :reservation_type, as: 'reservationType'
842
+ end
843
+ end
844
+
845
+ class Proposal
846
+ # @private
847
+ class Representation < Google::Apis::Core::JsonRepresentation
848
+ property :billed_buyer, as: 'billedBuyer'
849
+ property :buyer, as: 'buyer'
850
+ collection :buyer_contacts, as: 'buyerContacts', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Contact, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Contact::Representation
851
+
852
+ property :buyer_private_data, as: 'buyerPrivateData', class: Google::Apis::AuthorizedbuyersmarketplaceV1::PrivateData, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::PrivateData::Representation
853
+
854
+ property :client, as: 'client'
855
+ property :deal_type, as: 'dealType'
856
+ property :display_name, as: 'displayName'
857
+ property :is_renegotiating, as: 'isRenegotiating'
858
+ property :last_updater_or_commentor_role, as: 'lastUpdaterOrCommentorRole'
859
+ property :name, as: 'name'
860
+ collection :notes, as: 'notes', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Note, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Note::Representation
861
+
862
+ property :originator_role, as: 'originatorRole'
863
+ property :pausing_consented, as: 'pausingConsented'
864
+ property :proposal_revision, :numeric_string => true, as: 'proposalRevision'
865
+ property :publisher_profile, as: 'publisherProfile'
866
+ collection :seller_contacts, as: 'sellerContacts', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Contact, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Contact::Representation
867
+
868
+ property :state, as: 'state'
869
+ property :terms_and_conditions, as: 'termsAndConditions'
870
+ property :update_time, as: 'updateTime'
871
+ end
872
+ end
873
+
874
+ class PublisherProfile
875
+ # @private
876
+ class Representation < Google::Apis::Core::JsonRepresentation
877
+ property :audience_description, as: 'audienceDescription'
878
+ property :direct_deals_contact, as: 'directDealsContact'
879
+ property :display_name, as: 'displayName'
880
+ collection :domains, as: 'domains'
881
+ property :is_parent, as: 'isParent'
882
+ property :logo_url, as: 'logoUrl'
883
+ property :media_kit_url, as: 'mediaKitUrl'
884
+ collection :mobile_apps, as: 'mobileApps', class: Google::Apis::AuthorizedbuyersmarketplaceV1::PublisherProfileMobileApplication, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::PublisherProfileMobileApplication::Representation
885
+
886
+ property :name, as: 'name'
887
+ property :overview, as: 'overview'
888
+ property :pitch_statement, as: 'pitchStatement'
889
+ property :programmatic_deals_contact, as: 'programmaticDealsContact'
890
+ property :publisher_code, as: 'publisherCode'
891
+ property :sample_page_url, as: 'samplePageUrl'
892
+ collection :top_headlines, as: 'topHeadlines'
893
+ end
894
+ end
895
+
896
+ class PublisherProfileMobileApplication
897
+ # @private
898
+ class Representation < Google::Apis::Core::JsonRepresentation
899
+ property :app_store, as: 'appStore'
900
+ property :external_app_id, as: 'externalAppId'
901
+ property :name, as: 'name'
902
+ end
903
+ end
904
+
905
+ class ResumeFinalizedDealRequest
906
+ # @private
907
+ class Representation < Google::Apis::Core::JsonRepresentation
908
+ end
909
+ end
910
+
911
+ class RtbMetrics
912
+ # @private
913
+ class Representation < Google::Apis::Core::JsonRepresentation
914
+ property :ad_impressions7_days, :numeric_string => true, as: 'adImpressions7Days'
915
+ property :bid_rate7_days, as: 'bidRate7Days'
916
+ property :bid_requests7_days, :numeric_string => true, as: 'bidRequests7Days'
917
+ property :bids7_days, :numeric_string => true, as: 'bids7Days'
918
+ property :filtered_bid_rate7_days, as: 'filteredBidRate7Days'
919
+ property :must_bid_rate_current_month, as: 'mustBidRateCurrentMonth'
920
+ end
921
+ end
922
+
923
+ class SendRfpRequest
924
+ # @private
925
+ class Representation < Google::Apis::Core::JsonRepresentation
926
+ collection :buyer_contacts, as: 'buyerContacts', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Contact, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Contact::Representation
927
+
928
+ property :client, as: 'client'
929
+ property :display_name, as: 'displayName'
930
+ property :estimated_gross_spend, as: 'estimatedGrossSpend', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Money, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Money::Representation
931
+
932
+ property :flight_end_time, as: 'flightEndTime'
933
+ property :flight_start_time, as: 'flightStartTime'
934
+ property :geo_targeting, as: 'geoTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting::Representation
935
+
936
+ property :inventory_size_targeting, as: 'inventorySizeTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::InventorySizeTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::InventorySizeTargeting::Representation
937
+
938
+ property :note, as: 'note'
939
+ property :preferred_deal_terms, as: 'preferredDealTerms', class: Google::Apis::AuthorizedbuyersmarketplaceV1::PreferredDealTerms, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::PreferredDealTerms::Representation
940
+
941
+ property :programmatic_guaranteed_terms, as: 'programmaticGuaranteedTerms', class: Google::Apis::AuthorizedbuyersmarketplaceV1::ProgrammaticGuaranteedTerms, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::ProgrammaticGuaranteedTerms::Representation
942
+
943
+ property :publisher_profile, as: 'publisherProfile'
944
+ end
945
+ end
946
+
947
+ class SetReadyToServeRequest
948
+ # @private
949
+ class Representation < Google::Apis::Core::JsonRepresentation
950
+ end
951
+ end
952
+
953
+ class SubscribeAuctionPackageRequest
954
+ # @private
955
+ class Representation < Google::Apis::Core::JsonRepresentation
956
+ end
957
+ end
958
+
959
+ class SubscribeClientsRequest
960
+ # @private
961
+ class Representation < Google::Apis::Core::JsonRepresentation
962
+ collection :clients, as: 'clients'
963
+ end
964
+ end
965
+
966
+ class TechnologyTargeting
967
+ # @private
968
+ class Representation < Google::Apis::Core::JsonRepresentation
969
+ property :device_capability_targeting, as: 'deviceCapabilityTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting::Representation
970
+
971
+ property :device_category_targeting, as: 'deviceCategoryTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting::Representation
972
+
973
+ property :operating_system_targeting, as: 'operatingSystemTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1::OperatingSystemTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::OperatingSystemTargeting::Representation
974
+
975
+ end
976
+ end
977
+
978
+ class TimeOfDay
979
+ # @private
980
+ class Representation < Google::Apis::Core::JsonRepresentation
981
+ property :hours, as: 'hours'
982
+ property :minutes, as: 'minutes'
983
+ property :nanos, as: 'nanos'
984
+ property :seconds, as: 'seconds'
985
+ end
986
+ end
987
+
988
+ class TimeZone
989
+ # @private
990
+ class Representation < Google::Apis::Core::JsonRepresentation
991
+ property :id, as: 'id'
992
+ property :version, as: 'version'
993
+ end
994
+ end
995
+
996
+ class UnsubscribeAuctionPackageRequest
997
+ # @private
998
+ class Representation < Google::Apis::Core::JsonRepresentation
999
+ end
1000
+ end
1001
+
1002
+ class UnsubscribeClientsRequest
1003
+ # @private
1004
+ class Representation < Google::Apis::Core::JsonRepresentation
1005
+ collection :clients, as: 'clients'
1006
+ end
1007
+ end
1008
+
1009
+ class UpdateDealRequest
1010
+ # @private
1011
+ class Representation < Google::Apis::Core::JsonRepresentation
1012
+ property :deal, as: 'deal', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Deal, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Deal::Representation
1013
+
1014
+ property :update_mask, as: 'updateMask'
1015
+ end
1016
+ end
1017
+
1018
+ class UriTargeting
1019
+ # @private
1020
+ class Representation < Google::Apis::Core::JsonRepresentation
1021
+ collection :excluded_uris, as: 'excludedUris'
1022
+ collection :targeted_uris, as: 'targetedUris'
1023
+ end
1024
+ end
1025
+
1026
+ class VideoTargeting
1027
+ # @private
1028
+ class Representation < Google::Apis::Core::JsonRepresentation
1029
+ collection :excluded_position_types, as: 'excludedPositionTypes'
1030
+ collection :targeted_position_types, as: 'targetedPositionTypes'
1031
+ end
1032
+ end
1033
+ end
1034
+ end
1035
+ end