google-apis-realtimebidding_v1 0.2.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d70211180d5fc5984fa9bdb6336e6aecd91c431a5f11e5db072dcb376871b86e
4
- data.tar.gz: d240a464d348fe04556ee8bdf82990934ef4317f22290f0395271456029aaaa6
3
+ metadata.gz: be031d29df988c4971d089ef51ac3205c5fee4787935ee9c776e5109816250f9
4
+ data.tar.gz: bfd90e34f4736620b9e4d6b6f8f1ea392066d4c003d707b329cc285a91ae1c3f
5
5
  SHA512:
6
- metadata.gz: 0a8108b9241dba00970d8e8069931117c2ee0f9071e63c5a76a6538ce99391700dfd6c93b4956744d615726daf6cdc829550630bc035079e60b0f07b3e2e682b
7
- data.tar.gz: f34f07e8209bb4add07bf2ce5bd04be8f70c68d019e97f0a4721997cc84cb09f7cee8829c487265a99136a8bae29d497e17b724f0e3ff14f14602dc844c83ca7
6
+ metadata.gz: f8a01a21dfcc7af21c92d99bcade85cda4483d3a2691db78cbdf16d3152064fd7098ee7ba749b6b8986b72dca9bea4e5617eca5e281244394c72093e0587dafe
7
+ data.tar.gz: 7277f100b3567d2791c4000c3a770326d60acfdc77b45c719ed14bf2cea0fab47b9f51b07044f9ad3e6773ecb3b58533d5cd4935a2cef3ad28c534a7f4f8c7e9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-realtimebidding_v1
2
2
 
3
+ ### v0.7.0 (2021-06-29)
4
+
5
+ * Regenerated using generator version 0.4.0
6
+
7
+ ### v0.6.0 (2021-06-24)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.5.0 (2021-06-02)
12
+
13
+ * Regenerated from discovery document revision 20210529
14
+ * Regenerated using generator version 0.3.0
15
+
16
+ ### v0.4.0 (2021-05-19)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.3.0 (2021-03-12)
21
+
22
+ * Regenerated from discovery document revision 20210311
23
+ * Regenerated using generator version 0.2.0
24
+
3
25
  ### v0.2.0 (2021-03-04)
4
26
 
5
27
  * Regenerated using generator version 0.1.2
@@ -36,6 +36,58 @@ module Google
36
36
  end
37
37
  end
38
38
 
39
+ # The list of detected Ad Technology Providers for this creative. Bids placed
40
+ # for inventory that will serve to EEA or UK users are expected to comply with
41
+ # GDPR requirements. You must ensure that the creatives used in such bids should
42
+ # contain only user consented ad technology providers as indicated in the bid
43
+ # request. Google reserves the right to filter non-compliant bids. User
44
+ # consented ad technology providers can be found in the [Google Protocol](https:/
45
+ # /developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto)
46
+ # with the `BidRequest.adslot.consented_providers_settings` field, and can be
47
+ # found as an [OpenRTB extension](https://developers.google.com/authorized-
48
+ # buyers/rtb/downloads/openrtb-adx-proto) with the `BidRequest.user.ext.
49
+ # consented_providers_settings` and `BidRequest.user.ext.consent` fields. See
50
+ # https://support.google.com/authorizedbuyers/answer/9789378 for additional
51
+ # information about the Google TCF v2 integration.
52
+ class AdTechnologyProviders
53
+ include Google::Apis::Core::Hashable
54
+
55
+ # The detected IAB Global Vendor List (GVL) IDs for this creative. See the IAB
56
+ # Global Vendor List at https://vendorlist.consensu.org/v2/vendor-list.json for
57
+ # details about the vendors.
58
+ # Corresponds to the JSON property `detectedGvlIds`
59
+ # @return [Array<Fixnum>]
60
+ attr_accessor :detected_gvl_ids
61
+
62
+ # The detected [Google Ad Tech Providers (ATP)](https://support.google.com/
63
+ # admanager/answer/9012903) for this creative. See https://storage.googleapis.
64
+ # com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided
65
+ # name, a privacy policy URL, and a list of domains which can be attributed to
66
+ # the provider.
67
+ # Corresponds to the JSON property `detectedProviderIds`
68
+ # @return [Array<Fixnum>]
69
+ attr_accessor :detected_provider_ids
70
+
71
+ # Domains of detected unidentified ad technology providers (if any). You must
72
+ # ensure that the creatives used in bids placed for inventory that will serve to
73
+ # EEA or UK users does not contain unidentified ad technology providers. Google
74
+ # reserves the right to filter non-compliant bids.
75
+ # Corresponds to the JSON property `unidentifiedProviderDomains`
76
+ # @return [Array<String>]
77
+ attr_accessor :unidentified_provider_domains
78
+
79
+ def initialize(**args)
80
+ update!(**args)
81
+ end
82
+
83
+ # Update properties of this object
84
+ def update!(**args)
85
+ @detected_gvl_ids = args[:detected_gvl_ids] if args.key?(:detected_gvl_ids)
86
+ @detected_provider_ids = args[:detected_provider_ids] if args.key?(:detected_provider_ids)
87
+ @unidentified_provider_domains = args[:unidentified_provider_domains] if args.key?(:unidentified_provider_domains)
88
+ end
89
+ end
90
+
39
91
  # A request to start targeting the provided app IDs in a specific pretargeting
40
92
  # configuration. The pretargeting configuration itself specifies how these apps
41
93
  # are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.
@@ -205,6 +257,131 @@ module Google
205
257
  end
206
258
  end
207
259
 
260
+ # Bidder settings.
261
+ class Bidder
262
+ include Google::Apis::Core::Hashable
263
+
264
+ # Output only. A flag to bypass pretargeting for private auctions and preferred
265
+ # deals. When true, bid requests from these nonguaranteed deals will always be
266
+ # sent. When false, bid requests will be subject to regular pretargeting
267
+ # configurations. Programmatic Guaranteed deals will always be sent to the
268
+ # bidder, regardless of the value for this flag. Auction packages are not
269
+ # impacted by this value and are subject to the regular pretargeting
270
+ # configurations.
271
+ # Corresponds to the JSON property `bypassNonguaranteedDealsPretargeting`
272
+ # @return [Boolean]
273
+ attr_accessor :bypass_nonguaranteed_deals_pretargeting
274
+ alias_method :bypass_nonguaranteed_deals_pretargeting?, :bypass_nonguaranteed_deals_pretargeting
275
+
276
+ # Output only. The buyer's network ID used for cookie matching. This ID
277
+ # corresponds to the `google_nid` parameter in the URL used in cookie match
278
+ # requests. Refer to https://developers.google.com/authorized-buyers/rtb/cookie-
279
+ # guide for further information.
280
+ # Corresponds to the JSON property `cookieMatchingNetworkId`
281
+ # @return [String]
282
+ attr_accessor :cookie_matching_network_id
283
+
284
+ # Output only. The base URL used in cookie match requests. Refer to https://
285
+ # developers.google.com/authorized-buyers/rtb/cookie-guide for further
286
+ # information.
287
+ # Corresponds to the JSON property `cookieMatchingUrl`
288
+ # @return [String]
289
+ attr_accessor :cookie_matching_url
290
+
291
+ # Output only. The billing ID for the deals pretargeting config. This billing ID
292
+ # is sent on the bid request for guaranteed and nonguaranteed deals matched in
293
+ # pretargeting.
294
+ # Corresponds to the JSON property `dealsBillingId`
295
+ # @return [String]
296
+ attr_accessor :deals_billing_id
297
+
298
+ # Output only. Name of the bidder resource that must follow the pattern `bidders/
299
+ # `bidderAccountId``, where ``bidderAccountId`` is the account ID of the bidder
300
+ # whose information is to be received. One can get their account ID on the
301
+ # Authorized Buyers or Open Bidding UI, or by contacting their Google account
302
+ # manager.
303
+ # Corresponds to the JSON property `name`
304
+ # @return [String]
305
+ attr_accessor :name
306
+
307
+ def initialize(**args)
308
+ update!(**args)
309
+ end
310
+
311
+ # Update properties of this object
312
+ def update!(**args)
313
+ @bypass_nonguaranteed_deals_pretargeting = args[:bypass_nonguaranteed_deals_pretargeting] if args.key?(:bypass_nonguaranteed_deals_pretargeting)
314
+ @cookie_matching_network_id = args[:cookie_matching_network_id] if args.key?(:cookie_matching_network_id)
315
+ @cookie_matching_url = args[:cookie_matching_url] if args.key?(:cookie_matching_url)
316
+ @deals_billing_id = args[:deals_billing_id] if args.key?(:deals_billing_id)
317
+ @name = args[:name] if args.key?(:name)
318
+ end
319
+ end
320
+
321
+ # RTB Buyer account information.
322
+ class Buyer
323
+ include Google::Apis::Core::Hashable
324
+
325
+ # Output only. The number of creatives that this buyer submitted via the API or
326
+ # bid with in the last 30 days. This is counted against the maximum number of
327
+ # active creatives.
328
+ # Corresponds to the JSON property `activeCreativeCount`
329
+ # @return [Fixnum]
330
+ attr_accessor :active_creative_count
331
+
332
+ # Output only. The name of the bidder resource that is responsible for receiving
333
+ # bidding traffic for this account. The bidder name must follow the pattern `
334
+ # bidders/`bidderAccountId``, where ``bidderAccountId`` is the account ID of the
335
+ # bidder receiving traffic for this buyer.
336
+ # Corresponds to the JSON property `bidder`
337
+ # @return [String]
338
+ attr_accessor :bidder
339
+
340
+ # Output only. A list of billing IDs associated with this account. These IDs
341
+ # appear on: 1. A bid request, to signal which buyers are eligible to bid on a
342
+ # given opportunity, and which pretargeting configurations were matched for each
343
+ # eligible buyer. 2. The bid response, to attribute a winning impression to a
344
+ # specific account for billing, reporting, policy and publisher block
345
+ # enforcement.
346
+ # Corresponds to the JSON property `billingIds`
347
+ # @return [Array<String>]
348
+ attr_accessor :billing_ids
349
+
350
+ # Output only. The diplay name associated with this buyer account, as visible to
351
+ # sellers.
352
+ # Corresponds to the JSON property `displayName`
353
+ # @return [String]
354
+ attr_accessor :display_name
355
+
356
+ # Output only. The maximum number of active creatives that this buyer can have.
357
+ # Corresponds to the JSON property `maximumActiveCreativeCount`
358
+ # @return [Fixnum]
359
+ attr_accessor :maximum_active_creative_count
360
+
361
+ # Output only. Name of the buyer resource that must follow the pattern `buyers/`
362
+ # buyerAccountId``, where ``buyerAccountId`` is the account ID of the buyer
363
+ # account whose information is to be received. One can get their account ID on
364
+ # the Authorized Buyers or Open Bidding UI, or by contacting their Google
365
+ # account manager.
366
+ # Corresponds to the JSON property `name`
367
+ # @return [String]
368
+ attr_accessor :name
369
+
370
+ def initialize(**args)
371
+ update!(**args)
372
+ end
373
+
374
+ # Update properties of this object
375
+ def update!(**args)
376
+ @active_creative_count = args[:active_creative_count] if args.key?(:active_creative_count)
377
+ @bidder = args[:bidder] if args.key?(:bidder)
378
+ @billing_ids = args[:billing_ids] if args.key?(:billing_ids)
379
+ @display_name = args[:display_name] if args.key?(:display_name)
380
+ @maximum_active_creative_count = args[:maximum_active_creative_count] if args.key?(:maximum_active_creative_count)
381
+ @name = args[:name] if args.key?(:name)
382
+ end
383
+ end
384
+
208
385
  # A request to close a specified user list.
209
386
  class CloseUserListRequest
210
387
  include Google::Apis::Core::Hashable
@@ -402,6 +579,23 @@ module Google
402
579
  class CreativeServingDecision
403
580
  include Google::Apis::Core::Hashable
404
581
 
582
+ # The list of detected Ad Technology Providers for this creative. Bids placed
583
+ # for inventory that will serve to EEA or UK users are expected to comply with
584
+ # GDPR requirements. You must ensure that the creatives used in such bids should
585
+ # contain only user consented ad technology providers as indicated in the bid
586
+ # request. Google reserves the right to filter non-compliant bids. User
587
+ # consented ad technology providers can be found in the [Google Protocol](https:/
588
+ # /developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto)
589
+ # with the `BidRequest.adslot.consented_providers_settings` field, and can be
590
+ # found as an [OpenRTB extension](https://developers.google.com/authorized-
591
+ # buyers/rtb/downloads/openrtb-adx-proto) with the `BidRequest.user.ext.
592
+ # consented_providers_settings` and `BidRequest.user.ext.consent` fields. See
593
+ # https://support.google.com/authorizedbuyers/answer/9789378 for additional
594
+ # information about the Google TCF v2 integration.
595
+ # Corresponds to the JSON property `adTechnologyProviders`
596
+ # @return [Google::Apis::RealtimebiddingV1::AdTechnologyProviders]
597
+ attr_accessor :ad_technology_providers
598
+
405
599
  # Policy compliance of the creative for a transaction type or a region.
406
600
  # Corresponds to the JSON property `chinaPolicyCompliance`
407
601
  # @return [Google::Apis::RealtimebiddingV1::PolicyCompliance]
@@ -500,6 +694,7 @@ module Google
500
694
 
501
695
  # Update properties of this object
502
696
  def update!(**args)
697
+ @ad_technology_providers = args[:ad_technology_providers] if args.key?(:ad_technology_providers)
503
698
  @china_policy_compliance = args[:china_policy_compliance] if args.key?(:china_policy_compliance)
504
699
  @deals_policy_compliance = args[:deals_policy_compliance] if args.key?(:deals_policy_compliance)
505
700
  @detected_advertisers = args[:detected_advertisers] if args.key?(:detected_advertisers)
@@ -765,6 +960,54 @@ module Google
765
960
  end
766
961
  end
767
962
 
963
+ # Bidder endpoint that receives bid requests.
964
+ class Endpoint
965
+ include Google::Apis::Core::Hashable
966
+
967
+ # The protocol that the bidder endpoint is using.
968
+ # Corresponds to the JSON property `bidProtocol`
969
+ # @return [String]
970
+ attr_accessor :bid_protocol
971
+
972
+ # The maximum number of queries per second allowed to be sent to this server.
973
+ # Corresponds to the JSON property `maximumQps`
974
+ # @return [Fixnum]
975
+ attr_accessor :maximum_qps
976
+
977
+ # Output only. Name of the endpoint resource that must follow the pattern `
978
+ # bidders/`bidderAccountId`/endpoints/`endpointId``, where `bidderAccountId` is
979
+ # the account ID of the bidder who operates this endpoint, and `endpointId` is a
980
+ # unique ID assigned by the server.
981
+ # Corresponds to the JSON property `name`
982
+ # @return [String]
983
+ attr_accessor :name
984
+
985
+ # The trading location that bid requests should be sent from. See https://
986
+ # developers.google.com/authorized-buyers/rtb/peer-guide#trading-locations for
987
+ # further information.
988
+ # Corresponds to the JSON property `tradingLocation`
989
+ # @return [String]
990
+ attr_accessor :trading_location
991
+
992
+ # Output only. The URL that bid requests should be sent to.
993
+ # Corresponds to the JSON property `url`
994
+ # @return [String]
995
+ attr_accessor :url
996
+
997
+ def initialize(**args)
998
+ update!(**args)
999
+ end
1000
+
1001
+ # Update properties of this object
1002
+ def update!(**args)
1003
+ @bid_protocol = args[:bid_protocol] if args.key?(:bid_protocol)
1004
+ @maximum_qps = args[:maximum_qps] if args.key?(:maximum_qps)
1005
+ @name = args[:name] if args.key?(:name)
1006
+ @trading_location = args[:trading_location] if args.key?(:trading_location)
1007
+ @url = args[:url] if args.key?(:url)
1008
+ end
1009
+ end
1010
+
768
1011
  # Response for a request to get remarketing tag.
769
1012
  class GetRemarketingTagResponse
770
1013
  include Google::Apis::Core::Hashable
@@ -902,6 +1145,58 @@ module Google
902
1145
  end
903
1146
  end
904
1147
 
1148
+ # A response containing bidders.
1149
+ class ListBiddersResponse
1150
+ include Google::Apis::Core::Hashable
1151
+
1152
+ # List of bidders.
1153
+ # Corresponds to the JSON property `bidders`
1154
+ # @return [Array<Google::Apis::RealtimebiddingV1::Bidder>]
1155
+ attr_accessor :bidders
1156
+
1157
+ # A token which can be passed to a subsequent call to the `ListBidders` method
1158
+ # to retrieve the next page of results in ListBiddersRequest.pageToken.
1159
+ # Corresponds to the JSON property `nextPageToken`
1160
+ # @return [String]
1161
+ attr_accessor :next_page_token
1162
+
1163
+ def initialize(**args)
1164
+ update!(**args)
1165
+ end
1166
+
1167
+ # Update properties of this object
1168
+ def update!(**args)
1169
+ @bidders = args[:bidders] if args.key?(:bidders)
1170
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1171
+ end
1172
+ end
1173
+
1174
+ # A response containing buyer account information.
1175
+ class ListBuyersResponse
1176
+ include Google::Apis::Core::Hashable
1177
+
1178
+ # List of buyers.
1179
+ # Corresponds to the JSON property `buyers`
1180
+ # @return [Array<Google::Apis::RealtimebiddingV1::Buyer>]
1181
+ attr_accessor :buyers
1182
+
1183
+ # A token which can be passed to a subsequent call to the `ListBuyers` method to
1184
+ # retrieve the next page of results in ListBuyersRequest.pageToken.
1185
+ # Corresponds to the JSON property `nextPageToken`
1186
+ # @return [String]
1187
+ attr_accessor :next_page_token
1188
+
1189
+ def initialize(**args)
1190
+ update!(**args)
1191
+ end
1192
+
1193
+ # Update properties of this object
1194
+ def update!(**args)
1195
+ @buyers = args[:buyers] if args.key?(:buyers)
1196
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1197
+ end
1198
+ end
1199
+
905
1200
  # A response for listing creatives.
906
1201
  class ListCreativesResponse
907
1202
  include Google::Apis::Core::Hashable
@@ -929,6 +1224,32 @@ module Google
929
1224
  end
930
1225
  end
931
1226
 
1227
+ # A response containing bidder endpoints.
1228
+ class ListEndpointsResponse
1229
+ include Google::Apis::Core::Hashable
1230
+
1231
+ # List of bidder endpoints.
1232
+ # Corresponds to the JSON property `endpoints`
1233
+ # @return [Array<Google::Apis::RealtimebiddingV1::Endpoint>]
1234
+ attr_accessor :endpoints
1235
+
1236
+ # A token which can be passed to a subsequent call to the `ListEndpoints` method
1237
+ # to retrieve the next page of results in ListEndpointsRequest.pageToken.
1238
+ # Corresponds to the JSON property `nextPageToken`
1239
+ # @return [String]
1240
+ attr_accessor :next_page_token
1241
+
1242
+ def initialize(**args)
1243
+ update!(**args)
1244
+ end
1245
+
1246
+ # Update properties of this object
1247
+ def update!(**args)
1248
+ @endpoints = args[:endpoints] if args.key?(:endpoints)
1249
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1250
+ end
1251
+ end
1252
+
932
1253
  # A response containing pretargeting configurations.
933
1254
  class ListPretargetingConfigsResponse
934
1255
  include Google::Apis::Core::Hashable
@@ -1078,6 +1399,11 @@ module Google
1078
1399
  # @return [String]
1079
1400
  attr_accessor :video_url
1080
1401
 
1402
+ # The contents of a VAST document for a native video ad.
1403
+ # Corresponds to the JSON property `videoVastXml`
1404
+ # @return [String]
1405
+ attr_accessor :video_vast_xml
1406
+
1081
1407
  def initialize(**args)
1082
1408
  update!(**args)
1083
1409
  end
@@ -1096,6 +1422,7 @@ module Google
1096
1422
  @price_display_text = args[:price_display_text] if args.key?(:price_display_text)
1097
1423
  @star_rating = args[:star_rating] if args.key?(:star_rating)
1098
1424
  @video_url = args[:video_url] if args.key?(:video_url)
1425
+ @video_vast_xml = args[:video_vast_xml] if args.key?(:video_vast_xml)
1099
1426
  end
1100
1427
  end
1101
1428
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RealtimebiddingV1
18
18
  # Version of the google-apis-realtimebidding_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201109"
25
+ REVISION = "20210529"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AdTechnologyProviders
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AddTargetedAppsRequest
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -58,6 +64,18 @@ module Google
58
64
  include Google::Apis::Core::JsonObjectSupport
59
65
  end
60
66
 
67
+ class Bidder
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Buyer
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
61
79
  class CloseUserListRequest
62
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
81
 
@@ -130,6 +148,12 @@ module Google
130
148
  include Google::Apis::Core::JsonObjectSupport
131
149
  end
132
150
 
151
+ class Endpoint
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
133
157
  class GetRemarketingTagResponse
134
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
159
 
@@ -160,12 +184,30 @@ module Google
160
184
  include Google::Apis::Core::JsonObjectSupport
161
185
  end
162
186
 
187
+ class ListBiddersResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ListBuyersResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
163
199
  class ListCreativesResponse
164
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
201
 
166
202
  include Google::Apis::Core::JsonObjectSupport
167
203
  end
168
204
 
205
+ class ListEndpointsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
169
211
  class ListPretargetingConfigsResponse
170
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
213
 
@@ -304,6 +346,15 @@ module Google
304
346
  end
305
347
  end
306
348
 
349
+ class AdTechnologyProviders
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ collection :detected_gvl_ids, as: 'detectedGvlIds'
353
+ collection :detected_provider_ids, as: 'detectedProviderIds'
354
+ collection :unidentified_provider_domains, as: 'unidentifiedProviderDomains'
355
+ end
356
+ end
357
+
307
358
  class AddTargetedAppsRequest
308
359
  # @private
309
360
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -348,6 +399,29 @@ module Google
348
399
  end
349
400
  end
350
401
 
402
+ class Bidder
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :bypass_nonguaranteed_deals_pretargeting, as: 'bypassNonguaranteedDealsPretargeting'
406
+ property :cookie_matching_network_id, as: 'cookieMatchingNetworkId'
407
+ property :cookie_matching_url, as: 'cookieMatchingUrl'
408
+ property :deals_billing_id, as: 'dealsBillingId'
409
+ property :name, as: 'name'
410
+ end
411
+ end
412
+
413
+ class Buyer
414
+ # @private
415
+ class Representation < Google::Apis::Core::JsonRepresentation
416
+ property :active_creative_count, :numeric_string => true, as: 'activeCreativeCount'
417
+ property :bidder, as: 'bidder'
418
+ collection :billing_ids, as: 'billingIds'
419
+ property :display_name, as: 'displayName'
420
+ property :maximum_active_creative_count, :numeric_string => true, as: 'maximumActiveCreativeCount'
421
+ property :name, as: 'name'
422
+ end
423
+ end
424
+
351
425
  class CloseUserListRequest
352
426
  # @private
353
427
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -395,6 +469,8 @@ module Google
395
469
  class CreativeServingDecision
396
470
  # @private
397
471
  class Representation < Google::Apis::Core::JsonRepresentation
472
+ property :ad_technology_providers, as: 'adTechnologyProviders', class: Google::Apis::RealtimebiddingV1::AdTechnologyProviders, decorator: Google::Apis::RealtimebiddingV1::AdTechnologyProviders::Representation
473
+
398
474
  property :china_policy_compliance, as: 'chinaPolicyCompliance', class: Google::Apis::RealtimebiddingV1::PolicyCompliance, decorator: Google::Apis::RealtimebiddingV1::PolicyCompliance::Representation
399
475
 
400
476
  property :deals_policy_compliance, as: 'dealsPolicyCompliance', class: Google::Apis::RealtimebiddingV1::PolicyCompliance, decorator: Google::Apis::RealtimebiddingV1::PolicyCompliance::Representation
@@ -489,6 +565,17 @@ module Google
489
565
  end
490
566
  end
491
567
 
568
+ class Endpoint
569
+ # @private
570
+ class Representation < Google::Apis::Core::JsonRepresentation
571
+ property :bid_protocol, as: 'bidProtocol'
572
+ property :maximum_qps, :numeric_string => true, as: 'maximumQps'
573
+ property :name, as: 'name'
574
+ property :trading_location, as: 'tradingLocation'
575
+ property :url, as: 'url'
576
+ end
577
+ end
578
+
492
579
  class GetRemarketingTagResponse
493
580
  # @private
494
581
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -529,6 +616,24 @@ module Google
529
616
  end
530
617
  end
531
618
 
619
+ class ListBiddersResponse
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ collection :bidders, as: 'bidders', class: Google::Apis::RealtimebiddingV1::Bidder, decorator: Google::Apis::RealtimebiddingV1::Bidder::Representation
623
+
624
+ property :next_page_token, as: 'nextPageToken'
625
+ end
626
+ end
627
+
628
+ class ListBuyersResponse
629
+ # @private
630
+ class Representation < Google::Apis::Core::JsonRepresentation
631
+ collection :buyers, as: 'buyers', class: Google::Apis::RealtimebiddingV1::Buyer, decorator: Google::Apis::RealtimebiddingV1::Buyer::Representation
632
+
633
+ property :next_page_token, as: 'nextPageToken'
634
+ end
635
+ end
636
+
532
637
  class ListCreativesResponse
533
638
  # @private
534
639
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -538,6 +643,15 @@ module Google
538
643
  end
539
644
  end
540
645
 
646
+ class ListEndpointsResponse
647
+ # @private
648
+ class Representation < Google::Apis::Core::JsonRepresentation
649
+ collection :endpoints, as: 'endpoints', class: Google::Apis::RealtimebiddingV1::Endpoint, decorator: Google::Apis::RealtimebiddingV1::Endpoint::Representation
650
+
651
+ property :next_page_token, as: 'nextPageToken'
652
+ end
653
+ end
654
+
541
655
  class ListPretargetingConfigsResponse
542
656
  # @private
543
657
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -582,6 +696,7 @@ module Google
582
696
  property :price_display_text, as: 'priceDisplayText'
583
697
  property :star_rating, as: 'starRating'
584
698
  property :video_url, as: 'videoUrl'
699
+ property :video_vast_xml, as: 'videoVastXml'
585
700
  end
586
701
  end
587
702
 
@@ -52,6 +52,73 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # Gets a bidder account by its name.
56
+ # @param [String] name
57
+ # Required. Name of the bidder to get. Format: `bidders/`bidderAccountId``
58
+ # @param [String] fields
59
+ # Selector specifying which fields to include in a partial response.
60
+ # @param [String] quota_user
61
+ # Available to use for quota purposes for server-side applications. Can be any
62
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
63
+ # @param [Google::Apis::RequestOptions] options
64
+ # Request-specific options
65
+ #
66
+ # @yield [result, err] Result & error if block supplied
67
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::Bidder] parsed result object
68
+ # @yieldparam err [StandardError] error object if request failed
69
+ #
70
+ # @return [Google::Apis::RealtimebiddingV1::Bidder]
71
+ #
72
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
75
+ def get_bidder(name, fields: nil, quota_user: nil, options: nil, &block)
76
+ command = make_simple_command(:get, 'v1/{+name}', options)
77
+ command.response_representation = Google::Apis::RealtimebiddingV1::Bidder::Representation
78
+ command.response_class = Google::Apis::RealtimebiddingV1::Bidder
79
+ command.params['name'] = name unless name.nil?
80
+ command.query['fields'] = fields unless fields.nil?
81
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
82
+ execute_or_queue_command(command, &block)
83
+ end
84
+
85
+ # Lists all the bidder accounts that belong to the caller.
86
+ # @param [Fixnum] page_size
87
+ # The maximum number of bidders to return. If unspecified, at most 100 bidders
88
+ # will be returned. The maximum value is 500; values above 500 will be coerced
89
+ # to 500.
90
+ # @param [String] page_token
91
+ # A token identifying a page of results the server should return. This value is
92
+ # received from a previous `ListBidders` call in ListBiddersResponse.
93
+ # nextPageToken.
94
+ # @param [String] fields
95
+ # Selector specifying which fields to include in a partial response.
96
+ # @param [String] quota_user
97
+ # Available to use for quota purposes for server-side applications. Can be any
98
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
99
+ # @param [Google::Apis::RequestOptions] options
100
+ # Request-specific options
101
+ #
102
+ # @yield [result, err] Result & error if block supplied
103
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::ListBiddersResponse] parsed result object
104
+ # @yieldparam err [StandardError] error object if request failed
105
+ #
106
+ # @return [Google::Apis::RealtimebiddingV1::ListBiddersResponse]
107
+ #
108
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
109
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
110
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
111
+ def list_bidders(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
112
+ command = make_simple_command(:get, 'v1/bidders', options)
113
+ command.response_representation = Google::Apis::RealtimebiddingV1::ListBiddersResponse::Representation
114
+ command.response_class = Google::Apis::RealtimebiddingV1::ListBiddersResponse
115
+ command.query['pageSize'] = page_size unless page_size.nil?
116
+ command.query['pageToken'] = page_token unless page_token.nil?
117
+ command.query['fields'] = fields unless fields.nil?
118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
119
+ execute_or_queue_command(command, &block)
120
+ end
121
+
55
122
  # Lists creatives.
56
123
  # @param [String] parent
57
124
  # Required. Name of the parent buyer that owns the creatives. The pattern for
@@ -154,6 +221,78 @@ module Google
154
221
  execute_or_queue_command(command, &block)
155
222
  end
156
223
 
224
+ # Gets a bidder endpoint by its name.
225
+ # @param [String] name
226
+ # Required. Name of the bidder endpoint to get. Format: `bidders/`
227
+ # bidderAccountId`/endpoints/`endpointId``
228
+ # @param [String] fields
229
+ # Selector specifying which fields to include in a partial response.
230
+ # @param [String] quota_user
231
+ # Available to use for quota purposes for server-side applications. Can be any
232
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
233
+ # @param [Google::Apis::RequestOptions] options
234
+ # Request-specific options
235
+ #
236
+ # @yield [result, err] Result & error if block supplied
237
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::Endpoint] parsed result object
238
+ # @yieldparam err [StandardError] error object if request failed
239
+ #
240
+ # @return [Google::Apis::RealtimebiddingV1::Endpoint]
241
+ #
242
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
243
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
244
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
245
+ def get_bidder_endpoint(name, fields: nil, quota_user: nil, options: nil, &block)
246
+ command = make_simple_command(:get, 'v1/{+name}', options)
247
+ command.response_representation = Google::Apis::RealtimebiddingV1::Endpoint::Representation
248
+ command.response_class = Google::Apis::RealtimebiddingV1::Endpoint
249
+ command.params['name'] = name unless name.nil?
250
+ command.query['fields'] = fields unless fields.nil?
251
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
252
+ execute_or_queue_command(command, &block)
253
+ end
254
+
255
+ # Lists all the bidder's endpoints.
256
+ # @param [String] parent
257
+ # Required. Name of the bidder whose endpoints will be listed. Format: `bidders/`
258
+ # bidderAccountId``
259
+ # @param [Fixnum] page_size
260
+ # The maximum number of endpoints to return. If unspecified, at most 100
261
+ # endpoints will be returned. The maximum value is 500; values above 500 will be
262
+ # coerced to 500.
263
+ # @param [String] page_token
264
+ # A token identifying a page of results the server should return. This value is
265
+ # received from a previous `ListEndpoints` call in ListEndpointsResponse.
266
+ # nextPageToken.
267
+ # @param [String] fields
268
+ # Selector specifying which fields to include in a partial response.
269
+ # @param [String] quota_user
270
+ # Available to use for quota purposes for server-side applications. Can be any
271
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
272
+ # @param [Google::Apis::RequestOptions] options
273
+ # Request-specific options
274
+ #
275
+ # @yield [result, err] Result & error if block supplied
276
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::ListEndpointsResponse] parsed result object
277
+ # @yieldparam err [StandardError] error object if request failed
278
+ #
279
+ # @return [Google::Apis::RealtimebiddingV1::ListEndpointsResponse]
280
+ #
281
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
282
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
283
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
284
+ def list_bidder_endpoints(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
285
+ command = make_simple_command(:get, 'v1/{+parent}/endpoints', options)
286
+ command.response_representation = Google::Apis::RealtimebiddingV1::ListEndpointsResponse::Representation
287
+ command.response_class = Google::Apis::RealtimebiddingV1::ListEndpointsResponse
288
+ command.params['parent'] = parent unless parent.nil?
289
+ command.query['pageSize'] = page_size unless page_size.nil?
290
+ command.query['pageToken'] = page_token unless page_token.nil?
291
+ command.query['fields'] = fields unless fields.nil?
292
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
293
+ execute_or_queue_command(command, &block)
294
+ end
295
+
157
296
  # Activates a pretargeting configuration.
158
297
  # @param [String] name
159
298
  # Required. The name of the pretargeting configuration. Format: bidders/`
@@ -604,6 +743,36 @@ module Google
604
743
  execute_or_queue_command(command, &block)
605
744
  end
606
745
 
746
+ # Gets a buyer account by its name.
747
+ # @param [String] name
748
+ # Required. Name of the buyer to get. Format: `buyers/`buyerId``
749
+ # @param [String] fields
750
+ # Selector specifying which fields to include in a partial response.
751
+ # @param [String] quota_user
752
+ # Available to use for quota purposes for server-side applications. Can be any
753
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
754
+ # @param [Google::Apis::RequestOptions] options
755
+ # Request-specific options
756
+ #
757
+ # @yield [result, err] Result & error if block supplied
758
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::Buyer] parsed result object
759
+ # @yieldparam err [StandardError] error object if request failed
760
+ #
761
+ # @return [Google::Apis::RealtimebiddingV1::Buyer]
762
+ #
763
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
764
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
765
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
766
+ def get_buyer(name, fields: nil, quota_user: nil, options: nil, &block)
767
+ command = make_simple_command(:get, 'v1/{+name}', options)
768
+ command.response_representation = Google::Apis::RealtimebiddingV1::Buyer::Representation
769
+ command.response_class = Google::Apis::RealtimebiddingV1::Buyer
770
+ command.params['name'] = name unless name.nil?
771
+ command.query['fields'] = fields unless fields.nil?
772
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
773
+ execute_or_queue_command(command, &block)
774
+ end
775
+
607
776
  # Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript
608
777
  # code that can be placed on a web page. When a user visits a page containing a
609
778
  # remarketing tag, Google adds the user to a user list.
@@ -641,6 +810,43 @@ module Google
641
810
  execute_or_queue_command(command, &block)
642
811
  end
643
812
 
813
+ # Lists all buyer account information the calling buyer user or service account
814
+ # is permissioned to manage.
815
+ # @param [Fixnum] page_size
816
+ # The maximum number of buyers to return. If unspecified, at most 100 buyers
817
+ # will be returned. The maximum value is 500; values above 500 will be coerced
818
+ # to 500.
819
+ # @param [String] page_token
820
+ # A token identifying a page of results the server should return. This value is
821
+ # received from a previous `ListBuyers` call in ListBuyersResponse.nextPageToken.
822
+ # @param [String] fields
823
+ # Selector specifying which fields to include in a partial response.
824
+ # @param [String] quota_user
825
+ # Available to use for quota purposes for server-side applications. Can be any
826
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
827
+ # @param [Google::Apis::RequestOptions] options
828
+ # Request-specific options
829
+ #
830
+ # @yield [result, err] Result & error if block supplied
831
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::ListBuyersResponse] parsed result object
832
+ # @yieldparam err [StandardError] error object if request failed
833
+ #
834
+ # @return [Google::Apis::RealtimebiddingV1::ListBuyersResponse]
835
+ #
836
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
837
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
838
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
839
+ def list_buyers(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
840
+ command = make_simple_command(:get, 'v1/buyers', options)
841
+ command.response_representation = Google::Apis::RealtimebiddingV1::ListBuyersResponse::Representation
842
+ command.response_class = Google::Apis::RealtimebiddingV1::ListBuyersResponse
843
+ command.query['pageSize'] = page_size unless page_size.nil?
844
+ command.query['pageToken'] = page_token unless page_token.nil?
845
+ command.query['fields'] = fields unless fields.nil?
846
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
847
+ execute_or_queue_command(command, &block)
848
+ end
849
+
644
850
  # Creates a creative.
645
851
  # @param [String] parent
646
852
  # Required. The name of the parent buyer that the new creative belongs to that
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-realtimebidding_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.7.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: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Real-time Bidding API V1. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-realtimebidding_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-realtimebidding_v1/v0.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-realtimebidding_v1/v0.7.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-realtimebidding_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Real-time Bidding API V1