google-apis-authorizedbuyersmarketplace_v1 0.22.0 → 0.24.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6149f11cb3e1b338ff7e885922200e5798eb72a663d6355e0d2e355e12153ab
4
- data.tar.gz: ed287bf4d81fcd86559f7560cb08c52f15d038328f29e0ad8813fefe9e22356f
3
+ metadata.gz: 5e1a4a3d47cfbb8dbe12642842b849d73c1d9fabe40eb3f978ae34eebdb0e2fb
4
+ data.tar.gz: b607395fb6c10cef060ca684ac728b4609b4759b97b85fbce81b9257576d7fd8
5
5
  SHA512:
6
- metadata.gz: a4385a8fe232ee25df2bd11fb14f8e1e24aa5db5d7a945b264ad854db3c99b3d4eb01da330320e8927eab47507b391cb2fce28c0387abf0dce430b2fdfc0614f
7
- data.tar.gz: c39ea92f4c7d6917b21cae9e6367c3881f1ab71c8dfbe7f123e3eb1a1cf972d44db756e2df0179d56851df381454a53b26738e4798d5771fb6c0ae0abfc61ce0
6
+ metadata.gz: b00cea97c958ca17bd8748676cbf2bc7d62214bd534dc7a8ea73a9ce382089841b756d2b3ac9d4c6094d63e5ea873a3b52b3456f7d36524297d5e67a1fd0763e
7
+ data.tar.gz: 515248feb306fad55825df5c39849c889e5f6904d04ba23685dd70881e81d306c0bca609f0037c048e234fb57078d98d8637aa42a448c8655e1715b8f6078dfd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-authorizedbuyersmarketplace_v1
2
2
 
3
+ ### v0.24.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240418
6
+
7
+ ### v0.23.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240304
10
+
3
11
  ### v0.22.0 (2024-02-23)
4
12
 
5
13
  * Regenerated using generator version 0.14.0
@@ -168,6 +168,13 @@ module Google
168
168
  # @return [String]
169
169
  attr_accessor :display_name
170
170
 
171
+ # Output only. If set, this field contains the list of DSP specific seat ids set
172
+ # by media planners that are eligible to transact on this deal. The seat ID is
173
+ # in the calling DSP's namespace.
174
+ # Corresponds to the JSON property `eligibleSeatIds`
175
+ # @return [Array<String>]
176
+ attr_accessor :eligible_seat_ids
177
+
171
178
  # Immutable. The unique identifier for the auction package. Format: `buyers/`
172
179
  # accountId`/auctionPackages/`auctionPackageId`` The auction_package_id part of
173
180
  # name is sent in the BidRequest to all RTB bidders and is returned as deal_id
@@ -176,12 +183,27 @@ module Google
176
183
  # @return [String]
177
184
  attr_accessor :name
178
185
 
179
- # Output only. The list of clients of the current buyer that are subscribed to
180
- # the AuctionPackage. Format: `buyers/`buyerAccountId`/clients/`clientAccountId``
186
+ # Output only. The list of buyers that are subscribed to the AuctionPackage.
187
+ # This field is only populated when calling as a bidder. Format: `buyers/`
188
+ # buyerAccountId``
189
+ # Corresponds to the JSON property `subscribedBuyers`
190
+ # @return [Array<String>]
191
+ attr_accessor :subscribed_buyers
192
+
193
+ # Output only. When calling as a buyer, the list of clients of the current buyer
194
+ # that are subscribed to the AuctionPackage. When calling as a bidder, the list
195
+ # of clients that are subscribed to the AuctionPackage owned by the bidder or
196
+ # its buyers. Format: `buyers/`buyerAccountId`/clients/`clientAccountId``
181
197
  # Corresponds to the JSON property `subscribedClients`
182
198
  # @return [Array<String>]
183
199
  attr_accessor :subscribed_clients
184
200
 
201
+ # Output only. The list of media planners that are subscribed to the
202
+ # AuctionPackage. This field is only populated when calling as a bidder.
203
+ # Corresponds to the JSON property `subscribedMediaPlanners`
204
+ # @return [Array<Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner>]
205
+ attr_accessor :subscribed_media_planners
206
+
185
207
  # Output only. Time the auction package was last updated. This value is only
186
208
  # increased when this auction package is updated but never when a buyer
187
209
  # subscribed.
@@ -199,8 +221,11 @@ module Google
199
221
  @creator = args[:creator] if args.key?(:creator)
200
222
  @description = args[:description] if args.key?(:description)
201
223
  @display_name = args[:display_name] if args.key?(:display_name)
224
+ @eligible_seat_ids = args[:eligible_seat_ids] if args.key?(:eligible_seat_ids)
202
225
  @name = args[:name] if args.key?(:name)
226
+ @subscribed_buyers = args[:subscribed_buyers] if args.key?(:subscribed_buyers)
203
227
  @subscribed_clients = args[:subscribed_clients] if args.key?(:subscribed_clients)
228
+ @subscribed_media_planners = args[:subscribed_media_planners] if args.key?(:subscribed_media_planners)
204
229
  @update_time = args[:update_time] if args.key?(:update_time)
205
230
  end
206
231
  end
@@ -551,13 +576,14 @@ module Google
551
576
  # Output only. When the client field is populated, this field refers to the
552
577
  # buyer who creates and manages the client buyer and gets billed on behalf of
553
578
  # the client buyer; when the buyer field is populated, this field is the same
554
- # value as buyer. Format : `buyers/`buyerAccountId``
579
+ # value as buyer; when the deal belongs to a media planner account, this field
580
+ # will be empty. Format : `buyers/`buyerAccountId``
555
581
  # Corresponds to the JSON property `billedBuyer`
556
582
  # @return [String]
557
583
  attr_accessor :billed_buyer
558
584
 
559
- # Output only. Refers to a buyer in The Realtime-bidding API. Format: `buyers/`
560
- # buyerAccountId``
585
+ # Output only. Refers to a buyer in Real-time Bidding API's Buyer resource.
586
+ # Format: `buyers/`buyerAccountId``
561
587
  # Corresponds to the JSON property `buyer`
562
588
  # @return [String]
563
589
  attr_accessor :buyer
@@ -600,6 +626,13 @@ module Google
600
626
  # @return [String]
601
627
  attr_accessor :display_name
602
628
 
629
+ # Output only. If set, this field contains the list of DSP specific seat ids set
630
+ # by media planners that are eligible to transact on this deal. The seat ID is
631
+ # in the calling DSP's namespace.
632
+ # Corresponds to the JSON property `eligibleSeatIds`
633
+ # @return [Array<String>]
634
+ attr_accessor :eligible_seat_ids
635
+
603
636
  # Represents an amount of money with its currency type.
604
637
  # Corresponds to the JSON property `estimatedGrossSpend`
605
638
  # @return [Google::Apis::AuthorizedbuyersmarketplaceV1::Money]
@@ -619,6 +652,11 @@ module Google
619
652
  # @return [String]
620
653
  attr_accessor :flight_start_time
621
654
 
655
+ # Describes a single Media Planner account.
656
+ # Corresponds to the JSON property `mediaPlanner`
657
+ # @return [Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner]
658
+ attr_accessor :media_planner
659
+
622
660
  # Immutable. The unique identifier of the deal. Auto-generated by the server
623
661
  # when a deal is created. Format: buyers/`accountId`/proposals/`proposalId`/
624
662
  # deals/`dealId`
@@ -691,9 +729,11 @@ module Google
691
729
  @delivery_control = args[:delivery_control] if args.key?(:delivery_control)
692
730
  @description = args[:description] if args.key?(:description)
693
731
  @display_name = args[:display_name] if args.key?(:display_name)
732
+ @eligible_seat_ids = args[:eligible_seat_ids] if args.key?(:eligible_seat_ids)
694
733
  @estimated_gross_spend = args[:estimated_gross_spend] if args.key?(:estimated_gross_spend)
695
734
  @flight_end_time = args[:flight_end_time] if args.key?(:flight_end_time)
696
735
  @flight_start_time = args[:flight_start_time] if args.key?(:flight_start_time)
736
+ @media_planner = args[:media_planner] if args.key?(:media_planner)
697
737
  @name = args[:name] if args.key?(:name)
698
738
  @preferred_deal_terms = args[:preferred_deal_terms] if args.key?(:preferred_deal_terms)
699
739
  @private_auction_terms = args[:private_auction_terms] if args.key?(:private_auction_terms)
@@ -1217,6 +1257,25 @@ module Google
1217
1257
  end
1218
1258
  end
1219
1259
 
1260
+ # Describes a single Media Planner account.
1261
+ class MediaPlanner
1262
+ include Google::Apis::Core::Hashable
1263
+
1264
+ # Output only. Account ID of the media planner.
1265
+ # Corresponds to the JSON property `accountId`
1266
+ # @return [String]
1267
+ attr_accessor :account_id
1268
+
1269
+ def initialize(**args)
1270
+ update!(**args)
1271
+ end
1272
+
1273
+ # Update properties of this object
1274
+ def update!(**args)
1275
+ @account_id = args[:account_id] if args.key?(:account_id)
1276
+ end
1277
+ end
1278
+
1220
1279
  # Mobile application targeting settings.
1221
1280
  class MobileApplicationTargeting
1222
1281
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AuthorizedbuyersmarketplaceV1
18
18
  # Version of the google-apis-authorizedbuyersmarketplace_v1 gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231129"
25
+ REVISION = "20240418"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class MediaPlanner
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class MobileApplicationTargeting
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -456,8 +462,12 @@ module Google
456
462
  property :creator, as: 'creator'
457
463
  property :description, as: 'description'
458
464
  property :display_name, as: 'displayName'
465
+ collection :eligible_seat_ids, as: 'eligibleSeatIds'
459
466
  property :name, as: 'name'
467
+ collection :subscribed_buyers, as: 'subscribedBuyers'
460
468
  collection :subscribed_clients, as: 'subscribedClients'
469
+ collection :subscribed_media_planners, as: 'subscribedMediaPlanners', class: Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner::Representation
470
+
461
471
  property :update_time, as: 'updateTime'
462
472
  end
463
473
  end
@@ -579,10 +589,13 @@ module Google
579
589
 
580
590
  property :description, as: 'description'
581
591
  property :display_name, as: 'displayName'
592
+ collection :eligible_seat_ids, as: 'eligibleSeatIds'
582
593
  property :estimated_gross_spend, as: 'estimatedGrossSpend', class: Google::Apis::AuthorizedbuyersmarketplaceV1::Money, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::Money::Representation
583
594
 
584
595
  property :flight_end_time, as: 'flightEndTime'
585
596
  property :flight_start_time, as: 'flightStartTime'
597
+ property :media_planner, as: 'mediaPlanner', class: Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner::Representation
598
+
586
599
  property :name, as: 'name'
587
600
  property :preferred_deal_terms, as: 'preferredDealTerms', class: Google::Apis::AuthorizedbuyersmarketplaceV1::PreferredDealTerms, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1::PreferredDealTerms::Representation
588
601
 
@@ -761,6 +774,13 @@ module Google
761
774
  end
762
775
  end
763
776
 
777
+ class MediaPlanner
778
+ # @private
779
+ class Representation < Google::Apis::Core::JsonRepresentation
780
+ property :account_id, as: 'accountId'
781
+ end
782
+ end
783
+
764
784
  class MobileApplicationTargeting
765
785
  # @private
766
786
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -52,6 +52,56 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # List the auction packages. Buyers can use the URL path "/v1/buyers/`accountId`/
56
+ # auctionPackages" to list auction packages for the current buyer and its
57
+ # clients. Bidders can use the URL path "/v1/bidders/`accountId`/auctionPackages"
58
+ # to list auction packages for the bidder, its media planners, its buyers, and
59
+ # all their clients.
60
+ # @param [String] parent
61
+ # Required. Name of the parent buyer that can access the auction package. Format:
62
+ # `buyers/`accountId``. When used with a bidder account, the auction packages
63
+ # that the bidder, its media planners, its buyers and clients are subscribed to
64
+ # will be listed, in the format `bidders/`accountId``.
65
+ # @param [String] filter
66
+ # Optional. Optional query string using the [Cloud API list filtering syntax](/
67
+ # authorized-buyers/apis/guides/list-filters). Only supported when parent is
68
+ # bidder. Supported columns for filtering are: * displayName * createTime *
69
+ # updateTime * eligibleSeatIds
70
+ # @param [Fixnum] page_size
71
+ # Requested page size. The server may return fewer results than requested. Max
72
+ # allowed page size is 500.
73
+ # @param [String] page_token
74
+ # The page token as returned. ListAuctionPackagesResponse.nextPageToken
75
+ # @param [String] fields
76
+ # Selector specifying which fields to include in a partial response.
77
+ # @param [String] quota_user
78
+ # Available to use for quota purposes for server-side applications. Can be any
79
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
80
+ # @param [Google::Apis::RequestOptions] options
81
+ # Request-specific options
82
+ #
83
+ # @yield [result, err] Result & error if block supplied
84
+ # @yieldparam result [Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse] parsed result object
85
+ # @yieldparam err [StandardError] error object if request failed
86
+ #
87
+ # @return [Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse]
88
+ #
89
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
90
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
91
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
92
+ def list_bidder_auction_packages(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
93
+ command = make_simple_command(:get, 'v1/{+parent}/auctionPackages', options)
94
+ command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse::Representation
95
+ command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse
96
+ command.params['parent'] = parent unless parent.nil?
97
+ command.query['filter'] = filter unless filter.nil?
98
+ command.query['pageSize'] = page_size unless page_size.nil?
99
+ command.query['pageToken'] = page_token unless page_token.nil?
100
+ command.query['fields'] = fields unless fields.nil?
101
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
102
+ execute_or_queue_command(command, &block)
103
+ end
104
+
55
105
  # Lists finalized deals. Use the URL path "/v1/buyers/`accountId`/finalizedDeals"
56
106
  # to list finalized deals for the current buyer and its clients. Bidders can
57
107
  # use the URL path "/v1/bidders/`accountId`/finalizedDeals" to list finalized
@@ -65,7 +115,7 @@ module Google
65
115
  # developers.google.com/authorized-buyers/apis/guides/list-filters) Supported
66
116
  # columns for filtering are: * deal.displayName * deal.dealType * deal.
67
117
  # createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime *
68
- # dealServingStatus
118
+ # deal.eligibleSeatIds * dealServingStatus
69
119
  # @param [String] order_by
70
120
  # An optional query string to sort finalized deals using the [Cloud API sorting
71
121
  # syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order).
@@ -143,10 +193,21 @@ module Google
143
193
  execute_or_queue_command(command, &block)
144
194
  end
145
195
 
146
- # List the auction packages subscribed by a buyer and its clients.
196
+ # List the auction packages. Buyers can use the URL path "/v1/buyers/`accountId`/
197
+ # auctionPackages" to list auction packages for the current buyer and its
198
+ # clients. Bidders can use the URL path "/v1/bidders/`accountId`/auctionPackages"
199
+ # to list auction packages for the bidder, its media planners, its buyers, and
200
+ # all their clients.
147
201
  # @param [String] parent
148
202
  # Required. Name of the parent buyer that can access the auction package. Format:
149
- # `buyers/`accountId``
203
+ # `buyers/`accountId``. When used with a bidder account, the auction packages
204
+ # that the bidder, its media planners, its buyers and clients are subscribed to
205
+ # will be listed, in the format `bidders/`accountId``.
206
+ # @param [String] filter
207
+ # Optional. Optional query string using the [Cloud API list filtering syntax](/
208
+ # authorized-buyers/apis/guides/list-filters). Only supported when parent is
209
+ # bidder. Supported columns for filtering are: * displayName * createTime *
210
+ # updateTime * eligibleSeatIds
150
211
  # @param [Fixnum] page_size
151
212
  # Requested page size. The server may return fewer results than requested. Max
152
213
  # allowed page size is 500.
@@ -169,11 +230,12 @@ module Google
169
230
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
170
231
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
171
232
  # @raise [Google::Apis::AuthorizationError] Authorization is required
172
- def list_buyer_auction_packages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
233
+ def list_buyer_auction_packages(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
173
234
  command = make_simple_command(:get, 'v1/{+parent}/auctionPackages', options)
174
235
  command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse::Representation
175
236
  command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1::ListAuctionPackagesResponse
176
237
  command.params['parent'] = parent unless parent.nil?
238
+ command.query['filter'] = filter unless filter.nil?
177
239
  command.query['pageSize'] = page_size unless page_size.nil?
178
240
  command.query['pageToken'] = page_token unless page_token.nil?
179
241
  command.query['fields'] = fields unless fields.nil?
@@ -844,7 +906,7 @@ module Google
844
906
  # developers.google.com/authorized-buyers/apis/guides/list-filters) Supported
845
907
  # columns for filtering are: * deal.displayName * deal.dealType * deal.
846
908
  # createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime *
847
- # dealServingStatus
909
+ # deal.eligibleSeatIds * dealServingStatus
848
910
  # @param [String] order_by
849
911
  # An optional query string to sort finalized deals using the [Cloud API sorting
850
912
  # syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order).
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-authorizedbuyersmarketplace_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-authorizedbuyersmarketplace_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-authorizedbuyersmarketplace_v1/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-authorizedbuyersmarketplace_v1/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-authorizedbuyersmarketplace_v1
63
63
  post_install_message:
64
64
  rdoc_options: []