google-apis-realtimebidding_v1 0.13.0 → 0.16.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 +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/google/apis/realtimebidding_v1/classes.rb +161 -3
- data/lib/google/apis/realtimebidding_v1/gem_version.rb +3 -3
- data/lib/google/apis/realtimebidding_v1/representations.rb +86 -0
- data/lib/google/apis/realtimebidding_v1/service.rb +168 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3748e480b0f19f403a1641ed42cb6b9f759b9a0f47f420b7546e7cf7dd8c2af
|
4
|
+
data.tar.gz: 57d660a4e33749db78a48458597d0999746a9251780924cb6e34ce227aa1eede
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9eb470b074408a9a266d3008bb7220766fb1dae6ee27adc5316ee3be4277d36c75dbcaa5429938fef33708e4a15ef3d725b395a9a8e17b13494a1eaa775aa058
|
7
|
+
data.tar.gz: 52e7f962ea78e53e2f0cce0edb31f29d35f83b9e83e4cb0bb61d75538e2f65e40eec6699830c1bcfe2542a8673c52a611b913521227885645cbbbbe14647ef8b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-realtimebidding_v1
|
2
2
|
|
3
|
+
### v0.16.0 (2022-06-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220608
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
8
|
+
### v0.15.0 (2022-05-04)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220503
|
11
|
+
|
12
|
+
### v0.14.0 (2022-03-22)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220319
|
15
|
+
|
3
16
|
### v0.13.0 (2022-03-02)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220301
|
@@ -53,7 +53,7 @@ module Google
|
|
53
53
|
include Google::Apis::Core::Hashable
|
54
54
|
|
55
55
|
# The detected IAB Global Vendor List (GVL) IDs for this creative. See the IAB
|
56
|
-
# Global Vendor List at https://
|
56
|
+
# Global Vendor List at https://vendor-list.consensu.org/v2/vendor-list.json for
|
57
57
|
# details about the vendors.
|
58
58
|
# Corresponds to the JSON property `detectedGvlIds`
|
59
59
|
# @return [Array<Fixnum>]
|
@@ -257,6 +257,88 @@ module Google
|
|
257
257
|
end
|
258
258
|
end
|
259
259
|
|
260
|
+
# A request to approve a batch of publisher connections.
|
261
|
+
class BatchApprovePublisherConnectionsRequest
|
262
|
+
include Google::Apis::Core::Hashable
|
263
|
+
|
264
|
+
# Required. The names of the publishers with which connections will be approved.
|
265
|
+
# In the pattern `bidders/`bidder`/publisherConnections/`publisher`` where ``
|
266
|
+
# bidder`` is the account ID of the bidder, and ``publisher`` is the ads.txt/app-
|
267
|
+
# ads.txt publisher ID.
|
268
|
+
# Corresponds to the JSON property `names`
|
269
|
+
# @return [Array<String>]
|
270
|
+
attr_accessor :names
|
271
|
+
|
272
|
+
def initialize(**args)
|
273
|
+
update!(**args)
|
274
|
+
end
|
275
|
+
|
276
|
+
# Update properties of this object
|
277
|
+
def update!(**args)
|
278
|
+
@names = args[:names] if args.key?(:names)
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
# A response for the request to approve a batch of publisher connections.
|
283
|
+
class BatchApprovePublisherConnectionsResponse
|
284
|
+
include Google::Apis::Core::Hashable
|
285
|
+
|
286
|
+
# The publisher connections that have been approved.
|
287
|
+
# Corresponds to the JSON property `publisherConnections`
|
288
|
+
# @return [Array<Google::Apis::RealtimebiddingV1::PublisherConnection>]
|
289
|
+
attr_accessor :publisher_connections
|
290
|
+
|
291
|
+
def initialize(**args)
|
292
|
+
update!(**args)
|
293
|
+
end
|
294
|
+
|
295
|
+
# Update properties of this object
|
296
|
+
def update!(**args)
|
297
|
+
@publisher_connections = args[:publisher_connections] if args.key?(:publisher_connections)
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
# A request to reject a batch of publisher connections.
|
302
|
+
class BatchRejectPublisherConnectionsRequest
|
303
|
+
include Google::Apis::Core::Hashable
|
304
|
+
|
305
|
+
# Required. The names of the publishers with whom connection will be rejected.
|
306
|
+
# In the pattern `bidders/`bidder`/publisherConnections/`publisher`` where ``
|
307
|
+
# bidder`` is the account ID of the bidder, and ``publisher`` is the ads.txt/app-
|
308
|
+
# ads.txt publisher ID.
|
309
|
+
# Corresponds to the JSON property `names`
|
310
|
+
# @return [Array<String>]
|
311
|
+
attr_accessor :names
|
312
|
+
|
313
|
+
def initialize(**args)
|
314
|
+
update!(**args)
|
315
|
+
end
|
316
|
+
|
317
|
+
# Update properties of this object
|
318
|
+
def update!(**args)
|
319
|
+
@names = args[:names] if args.key?(:names)
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
# A response for the request to reject a batch of publisher connections.
|
324
|
+
class BatchRejectPublisherConnectionsResponse
|
325
|
+
include Google::Apis::Core::Hashable
|
326
|
+
|
327
|
+
# The publisher connections that have been rejected.
|
328
|
+
# Corresponds to the JSON property `publisherConnections`
|
329
|
+
# @return [Array<Google::Apis::RealtimebiddingV1::PublisherConnection>]
|
330
|
+
attr_accessor :publisher_connections
|
331
|
+
|
332
|
+
def initialize(**args)
|
333
|
+
update!(**args)
|
334
|
+
end
|
335
|
+
|
336
|
+
# Update properties of this object
|
337
|
+
def update!(**args)
|
338
|
+
@publisher_connections = args[:publisher_connections] if args.key?(:publisher_connections)
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
260
342
|
# Bidder settings.
|
261
343
|
class Bidder
|
262
344
|
include Google::Apis::Core::Hashable
|
@@ -946,8 +1028,7 @@ module Google
|
|
946
1028
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
947
1029
|
# messages in your APIs. A typical example is to use it as the request or the
|
948
1030
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
949
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
950
|
-
# `Empty` is empty JSON object ````.
|
1031
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
951
1032
|
class Empty
|
952
1033
|
include Google::Apis::Core::Hashable
|
953
1034
|
|
@@ -1277,6 +1358,33 @@ module Google
|
|
1277
1358
|
end
|
1278
1359
|
end
|
1279
1360
|
|
1361
|
+
# A response to a request for listing publisher connections.
|
1362
|
+
class ListPublisherConnectionsResponse
|
1363
|
+
include Google::Apis::Core::Hashable
|
1364
|
+
|
1365
|
+
# A token to retrieve the next page of results. Pass this value in the
|
1366
|
+
# ListPublisherConnectionsRequest.pageToken field in the subsequent call to the `
|
1367
|
+
# ListPublisherConnections` method to retrieve the next page of results.
|
1368
|
+
# Corresponds to the JSON property `nextPageToken`
|
1369
|
+
# @return [String]
|
1370
|
+
attr_accessor :next_page_token
|
1371
|
+
|
1372
|
+
# The list of publisher connections.
|
1373
|
+
# Corresponds to the JSON property `publisherConnections`
|
1374
|
+
# @return [Array<Google::Apis::RealtimebiddingV1::PublisherConnection>]
|
1375
|
+
attr_accessor :publisher_connections
|
1376
|
+
|
1377
|
+
def initialize(**args)
|
1378
|
+
update!(**args)
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
# Update properties of this object
|
1382
|
+
def update!(**args)
|
1383
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1384
|
+
@publisher_connections = args[:publisher_connections] if args.key?(:publisher_connections)
|
1385
|
+
end
|
1386
|
+
end
|
1387
|
+
|
1280
1388
|
# The list user list response.
|
1281
1389
|
class ListUserListsResponse
|
1282
1390
|
include Google::Apis::Core::Hashable
|
@@ -1785,6 +1893,56 @@ module Google
|
|
1785
1893
|
end
|
1786
1894
|
end
|
1787
1895
|
|
1896
|
+
# An Open Bidding exchange's connection to a publisher. This is initiated by the
|
1897
|
+
# publisher for the bidder to review. If approved by the bidder, this means that
|
1898
|
+
# the bidder agrees to receive bid requests from the publisher.
|
1899
|
+
class PublisherConnection
|
1900
|
+
include Google::Apis::Core::Hashable
|
1901
|
+
|
1902
|
+
# Whether the publisher has been approved by the bidder.
|
1903
|
+
# Corresponds to the JSON property `biddingState`
|
1904
|
+
# @return [String]
|
1905
|
+
attr_accessor :bidding_state
|
1906
|
+
|
1907
|
+
# Output only. The time at which the publisher initiated a connection with the
|
1908
|
+
# bidder (irrespective of if or when the bidder approves it). This is
|
1909
|
+
# subsequently updated if the publisher revokes and re-initiates the connection.
|
1910
|
+
# Corresponds to the JSON property `createTime`
|
1911
|
+
# @return [String]
|
1912
|
+
attr_accessor :create_time
|
1913
|
+
|
1914
|
+
# Output only. Publisher display name.
|
1915
|
+
# Corresponds to the JSON property `displayName`
|
1916
|
+
# @return [String]
|
1917
|
+
attr_accessor :display_name
|
1918
|
+
|
1919
|
+
# Output only. Name of the publisher connection. This follows the pattern `
|
1920
|
+
# bidders/`bidder`/publisherConnections/`publisher``, where ``bidder``
|
1921
|
+
# represents the account ID of the bidder, and ``publisher`` is the ads.txt/app-
|
1922
|
+
# ads.txt publisher ID.
|
1923
|
+
# Corresponds to the JSON property `name`
|
1924
|
+
# @return [String]
|
1925
|
+
attr_accessor :name
|
1926
|
+
|
1927
|
+
# Output only. Whether the publisher is an Ad Manager or AdMob publisher.
|
1928
|
+
# Corresponds to the JSON property `publisherPlatform`
|
1929
|
+
# @return [String]
|
1930
|
+
attr_accessor :publisher_platform
|
1931
|
+
|
1932
|
+
def initialize(**args)
|
1933
|
+
update!(**args)
|
1934
|
+
end
|
1935
|
+
|
1936
|
+
# Update properties of this object
|
1937
|
+
def update!(**args)
|
1938
|
+
@bidding_state = args[:bidding_state] if args.key?(:bidding_state)
|
1939
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1940
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1941
|
+
@name = args[:name] if args.key?(:name)
|
1942
|
+
@publisher_platform = args[:publisher_platform] if args.key?(:publisher_platform)
|
1943
|
+
end
|
1944
|
+
end
|
1945
|
+
|
1788
1946
|
# A request to stop targeting the provided apps in a specific pretargeting
|
1789
1947
|
# configuration. The pretargeting configuration itself specifies how these apps
|
1790
1948
|
# are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220608"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,30 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class BatchApprovePublisherConnectionsRequest
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class BatchApprovePublisherConnectionsResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class BatchRejectPublisherConnectionsRequest
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class BatchRejectPublisherConnectionsResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
67
91
|
class Bidder
|
68
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
93
|
|
@@ -214,6 +238,12 @@ module Google
|
|
214
238
|
include Google::Apis::Core::JsonObjectSupport
|
215
239
|
end
|
216
240
|
|
241
|
+
class ListPublisherConnectionsResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
217
247
|
class ListUserListsResponse
|
218
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
249
|
|
@@ -268,6 +298,12 @@ module Google
|
|
268
298
|
include Google::Apis::Core::JsonObjectSupport
|
269
299
|
end
|
270
300
|
|
301
|
+
class PublisherConnection
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
271
307
|
class RemoveTargetedAppsRequest
|
272
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
309
|
|
@@ -399,6 +435,36 @@ module Google
|
|
399
435
|
end
|
400
436
|
end
|
401
437
|
|
438
|
+
class BatchApprovePublisherConnectionsRequest
|
439
|
+
# @private
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
441
|
+
collection :names, as: 'names'
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
445
|
+
class BatchApprovePublisherConnectionsResponse
|
446
|
+
# @private
|
447
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
448
|
+
collection :publisher_connections, as: 'publisherConnections', class: Google::Apis::RealtimebiddingV1::PublisherConnection, decorator: Google::Apis::RealtimebiddingV1::PublisherConnection::Representation
|
449
|
+
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
class BatchRejectPublisherConnectionsRequest
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
collection :names, as: 'names'
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
class BatchRejectPublisherConnectionsResponse
|
461
|
+
# @private
|
462
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
463
|
+
collection :publisher_connections, as: 'publisherConnections', class: Google::Apis::RealtimebiddingV1::PublisherConnection, decorator: Google::Apis::RealtimebiddingV1::PublisherConnection::Representation
|
464
|
+
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
402
468
|
class Bidder
|
403
469
|
# @private
|
404
470
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -661,6 +727,15 @@ module Google
|
|
661
727
|
end
|
662
728
|
end
|
663
729
|
|
730
|
+
class ListPublisherConnectionsResponse
|
731
|
+
# @private
|
732
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
733
|
+
property :next_page_token, as: 'nextPageToken'
|
734
|
+
collection :publisher_connections, as: 'publisherConnections', class: Google::Apis::RealtimebiddingV1::PublisherConnection, decorator: Google::Apis::RealtimebiddingV1::PublisherConnection::Representation
|
735
|
+
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
664
739
|
class ListUserListsResponse
|
665
740
|
# @private
|
666
741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -789,6 +864,17 @@ module Google
|
|
789
864
|
end
|
790
865
|
end
|
791
866
|
|
867
|
+
class PublisherConnection
|
868
|
+
# @private
|
869
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
870
|
+
property :bidding_state, as: 'biddingState'
|
871
|
+
property :create_time, as: 'createTime'
|
872
|
+
property :display_name, as: 'displayName'
|
873
|
+
property :name, as: 'name'
|
874
|
+
property :publisher_platform, as: 'publisherPlatform'
|
875
|
+
end
|
876
|
+
end
|
877
|
+
|
792
878
|
class RemoveTargetedAppsRequest
|
793
879
|
# @private
|
794
880
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -119,7 +119,12 @@ module Google
|
|
119
119
|
execute_or_queue_command(command, &block)
|
120
120
|
end
|
121
121
|
|
122
|
-
# Lists creatives.
|
122
|
+
# Lists creatives as they are at the time of the initial request. This call may
|
123
|
+
# take multiple hours to complete. For large, paginated requests, this method
|
124
|
+
# returns a snapshot of creatives at the time of request for the first page. `
|
125
|
+
# lastStatusUpdate` and `creativeServingDecision` may be outdated for creatives
|
126
|
+
# on sequential pages. We recommend [Google Cloud Pub/Sub](//cloud.google.com/
|
127
|
+
# pubsub/docs/overview) to view the latest status.
|
123
128
|
# @param [String] parent
|
124
129
|
# Required. Name of the parent buyer that owns the creatives. The pattern for
|
125
130
|
# this resource is either `buyers/`buyerAccountId`` or `bidders/`bidderAccountId`
|
@@ -784,6 +789,162 @@ module Google
|
|
784
789
|
execute_or_queue_command(command, &block)
|
785
790
|
end
|
786
791
|
|
792
|
+
# Batch approves multiple publisher connections.
|
793
|
+
# @param [String] parent
|
794
|
+
# Required. The bidder for whom publisher connections will be approved. Format: `
|
795
|
+
# bidders/`bidder`` where ``bidder`` is the account ID of the bidder.
|
796
|
+
# @param [Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsRequest] batch_approve_publisher_connections_request_object
|
797
|
+
# @param [String] fields
|
798
|
+
# Selector specifying which fields to include in a partial response.
|
799
|
+
# @param [String] quota_user
|
800
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
801
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
802
|
+
# @param [Google::Apis::RequestOptions] options
|
803
|
+
# Request-specific options
|
804
|
+
#
|
805
|
+
# @yield [result, err] Result & error if block supplied
|
806
|
+
# @yieldparam result [Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsResponse] parsed result object
|
807
|
+
# @yieldparam err [StandardError] error object if request failed
|
808
|
+
#
|
809
|
+
# @return [Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsResponse]
|
810
|
+
#
|
811
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
812
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
813
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
814
|
+
def batch_approve_publisher_connections(parent, batch_approve_publisher_connections_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
815
|
+
command = make_simple_command(:post, 'v1/{+parent}/publisherConnections:batchApprove', options)
|
816
|
+
command.request_representation = Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsRequest::Representation
|
817
|
+
command.request_object = batch_approve_publisher_connections_request_object
|
818
|
+
command.response_representation = Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsResponse::Representation
|
819
|
+
command.response_class = Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsResponse
|
820
|
+
command.params['parent'] = parent unless parent.nil?
|
821
|
+
command.query['fields'] = fields unless fields.nil?
|
822
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
823
|
+
execute_or_queue_command(command, &block)
|
824
|
+
end
|
825
|
+
|
826
|
+
# Batch rejects multiple publisher connections.
|
827
|
+
# @param [String] parent
|
828
|
+
# Required. The bidder for whom publisher connections will be rejected. Format: `
|
829
|
+
# bidders/`bidder`` where ``bidder`` is the account ID of the bidder.
|
830
|
+
# @param [Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsRequest] batch_reject_publisher_connections_request_object
|
831
|
+
# @param [String] fields
|
832
|
+
# Selector specifying which fields to include in a partial response.
|
833
|
+
# @param [String] quota_user
|
834
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
835
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
836
|
+
# @param [Google::Apis::RequestOptions] options
|
837
|
+
# Request-specific options
|
838
|
+
#
|
839
|
+
# @yield [result, err] Result & error if block supplied
|
840
|
+
# @yieldparam result [Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsResponse] parsed result object
|
841
|
+
# @yieldparam err [StandardError] error object if request failed
|
842
|
+
#
|
843
|
+
# @return [Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsResponse]
|
844
|
+
#
|
845
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
846
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
847
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
848
|
+
def batch_reject_publisher_connections(parent, batch_reject_publisher_connections_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
849
|
+
command = make_simple_command(:post, 'v1/{+parent}/publisherConnections:batchReject', options)
|
850
|
+
command.request_representation = Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsRequest::Representation
|
851
|
+
command.request_object = batch_reject_publisher_connections_request_object
|
852
|
+
command.response_representation = Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsResponse::Representation
|
853
|
+
command.response_class = Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsResponse
|
854
|
+
command.params['parent'] = parent unless parent.nil?
|
855
|
+
command.query['fields'] = fields unless fields.nil?
|
856
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
857
|
+
execute_or_queue_command(command, &block)
|
858
|
+
end
|
859
|
+
|
860
|
+
# Gets a publisher connection.
|
861
|
+
# @param [String] name
|
862
|
+
# Required. Name of the publisher whose connection information is to be
|
863
|
+
# retrieved. In the pattern `bidders/`bidder`/publisherConnections/`publisher``
|
864
|
+
# where ``bidder`` is the account ID of the bidder, and ``publisher`` is the ads.
|
865
|
+
# txt/app-ads.txt publisher ID. See publisherConnection.name.
|
866
|
+
# @param [String] fields
|
867
|
+
# Selector specifying which fields to include in a partial response.
|
868
|
+
# @param [String] quota_user
|
869
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
870
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
871
|
+
# @param [Google::Apis::RequestOptions] options
|
872
|
+
# Request-specific options
|
873
|
+
#
|
874
|
+
# @yield [result, err] Result & error if block supplied
|
875
|
+
# @yieldparam result [Google::Apis::RealtimebiddingV1::PublisherConnection] parsed result object
|
876
|
+
# @yieldparam err [StandardError] error object if request failed
|
877
|
+
#
|
878
|
+
# @return [Google::Apis::RealtimebiddingV1::PublisherConnection]
|
879
|
+
#
|
880
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
881
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
882
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
883
|
+
def get_bidder_publisher_connection(name, fields: nil, quota_user: nil, options: nil, &block)
|
884
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
885
|
+
command.response_representation = Google::Apis::RealtimebiddingV1::PublisherConnection::Representation
|
886
|
+
command.response_class = Google::Apis::RealtimebiddingV1::PublisherConnection
|
887
|
+
command.params['name'] = name unless name.nil?
|
888
|
+
command.query['fields'] = fields unless fields.nil?
|
889
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
890
|
+
execute_or_queue_command(command, &block)
|
891
|
+
end
|
892
|
+
|
893
|
+
# Lists publisher connections for a given bidder.
|
894
|
+
# @param [String] parent
|
895
|
+
# Required. Name of the bidder for which publishers have initiated connections.
|
896
|
+
# The pattern for this resource is `bidders/`bidder`` where ``bidder``
|
897
|
+
# represents the account ID of the bidder.
|
898
|
+
# @param [String] filter
|
899
|
+
# Query string to filter publisher connections. Connections can be filtered by `
|
900
|
+
# displayName`, `publisherPlatform`, and `biddingState`. If no filter is
|
901
|
+
# specified, all publisher connections will be returned. Example: 'displayName="
|
902
|
+
# Great Publisher*" AND publisherPlatform=ADMOB AND biddingState != PENDING' See
|
903
|
+
# https://google.aip.dev/160 for more information about filtering syntax.
|
904
|
+
# @param [String] order_by
|
905
|
+
# Order specification by which results should be sorted. If no sort order is
|
906
|
+
# specified, the results will be returned in an arbitrary order. Currently
|
907
|
+
# results can be sorted by `createTime`. Example: 'createTime DESC'.
|
908
|
+
# @param [Fixnum] page_size
|
909
|
+
# Requested page size. The server may return fewer results than requested (due
|
910
|
+
# to timeout constraint) even if more are available via another call. If
|
911
|
+
# unspecified, the server will pick an appropriate default. Acceptable values
|
912
|
+
# are 1 to 5000, inclusive.
|
913
|
+
# @param [String] page_token
|
914
|
+
# A token identifying a page of results the server should return. Typically,
|
915
|
+
# this is the value of ListPublisherConnectionsResponse.nextPageToken returned
|
916
|
+
# from the previous call to the 'ListPublisherConnections' method.
|
917
|
+
# @param [String] fields
|
918
|
+
# Selector specifying which fields to include in a partial response.
|
919
|
+
# @param [String] quota_user
|
920
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
921
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
922
|
+
# @param [Google::Apis::RequestOptions] options
|
923
|
+
# Request-specific options
|
924
|
+
#
|
925
|
+
# @yield [result, err] Result & error if block supplied
|
926
|
+
# @yieldparam result [Google::Apis::RealtimebiddingV1::ListPublisherConnectionsResponse] parsed result object
|
927
|
+
# @yieldparam err [StandardError] error object if request failed
|
928
|
+
#
|
929
|
+
# @return [Google::Apis::RealtimebiddingV1::ListPublisherConnectionsResponse]
|
930
|
+
#
|
931
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
932
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
933
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
934
|
+
def list_bidder_publisher_connections(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
935
|
+
command = make_simple_command(:get, 'v1/{+parent}/publisherConnections', options)
|
936
|
+
command.response_representation = Google::Apis::RealtimebiddingV1::ListPublisherConnectionsResponse::Representation
|
937
|
+
command.response_class = Google::Apis::RealtimebiddingV1::ListPublisherConnectionsResponse
|
938
|
+
command.params['parent'] = parent unless parent.nil?
|
939
|
+
command.query['filter'] = filter unless filter.nil?
|
940
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
941
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
942
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
943
|
+
command.query['fields'] = fields unless fields.nil?
|
944
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
945
|
+
execute_or_queue_command(command, &block)
|
946
|
+
end
|
947
|
+
|
787
948
|
# Gets a buyer account by its name.
|
788
949
|
# @param [String] name
|
789
950
|
# Required. Name of the buyer to get. Format: `buyers/`buyerId``
|
@@ -961,7 +1122,12 @@ module Google
|
|
961
1122
|
execute_or_queue_command(command, &block)
|
962
1123
|
end
|
963
1124
|
|
964
|
-
# Lists creatives.
|
1125
|
+
# Lists creatives as they are at the time of the initial request. This call may
|
1126
|
+
# take multiple hours to complete. For large, paginated requests, this method
|
1127
|
+
# returns a snapshot of creatives at the time of request for the first page. `
|
1128
|
+
# lastStatusUpdate` and `creativeServingDecision` may be outdated for creatives
|
1129
|
+
# on sequential pages. We recommend [Google Cloud Pub/Sub](//cloud.google.com/
|
1130
|
+
# pubsub/docs/overview) to view the latest status.
|
965
1131
|
# @param [String] parent
|
966
1132
|
# Required. Name of the parent buyer that owns the creatives. The pattern for
|
967
1133
|
# this resource is either `buyers/`buyerAccountId`` or `bidders/`bidderAccountId`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-realtimebidding_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.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: 2022-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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-realtimebidding_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-realtimebidding_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-realtimebidding_v1/v0.16.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-realtimebidding_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Real-time Bidding API V1
|