google-apis-realtimebidding_v1 0.12.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/realtimebidding_v1/classes.rb +176 -18
- data/lib/google/apis/realtimebidding_v1/gem_version.rb +2 -2
- data/lib/google/apis/realtimebidding_v1/representations.rb +86 -0
- data/lib/google/apis/realtimebidding_v1/service.rb +156 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73abf1daa8c146b98a85bbc307c450704eb175e7571a8f2b9032abb96872bba2
|
4
|
+
data.tar.gz: 03d2f696b766ef2b93bc3518b7183588c6695cdaf07e562771a733df48852376
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c8083fe1807ac3635a033f3253b966f5cc8cab5b822efadb167844a28d8c6f1b957fe78fedae9742d0d601202d6758191673841f3d09ae30dba78293048cdf4
|
7
|
+
data.tar.gz: 65d7fb027c3ff9bb348ea43f9580aaf12893cbda33d694208a93b9aedba35b835c7906d6865b4d1d9b6a1b25bd112e47ed15b10a5631cc33a73bc6d55be93b4d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-realtimebidding_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2022-05-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220503
|
6
|
+
|
7
|
+
### v0.14.0 (2022-03-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220319
|
10
|
+
|
11
|
+
### v0.13.0 (2022-03-02)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220301
|
14
|
+
|
3
15
|
### v0.12.0 (2022-02-03)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220131
|
@@ -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
|
@@ -715,11 +797,11 @@ module Google
|
|
715
797
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
716
798
|
# day and time zone are either specified elsewhere or are insignificant. The
|
717
799
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
718
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
719
|
-
# and day, with a zero year (
|
720
|
-
# zero month and a zero day * A year and month, with a zero day (
|
721
|
-
# card expiration date) Related types: * google.type.
|
722
|
-
# DateTime * google.protobuf.Timestamp
|
800
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
801
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
802
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
803
|
+
# example, a credit card expiration date). Related types: * google.type.
|
804
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
723
805
|
class Date
|
724
806
|
include Google::Apis::Core::Hashable
|
725
807
|
|
@@ -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.
|
@@ -1929,11 +2087,11 @@ module Google
|
|
1929
2087
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
1930
2088
|
# day and time zone are either specified elsewhere or are insignificant. The
|
1931
2089
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
1932
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
1933
|
-
# and day, with a zero year (
|
1934
|
-
# zero month and a zero day * A year and month, with a zero day (
|
1935
|
-
# card expiration date) Related types: * google.type.
|
1936
|
-
# DateTime * google.protobuf.Timestamp
|
2090
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
2091
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
2092
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
2093
|
+
# example, a credit card expiration date). Related types: * google.type.
|
2094
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
1937
2095
|
# Corresponds to the JSON property `endDate`
|
1938
2096
|
# @return [Google::Apis::RealtimebiddingV1::Date]
|
1939
2097
|
attr_accessor :end_date
|
@@ -1946,11 +2104,11 @@ module Google
|
|
1946
2104
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
1947
2105
|
# day and time zone are either specified elsewhere or are insignificant. The
|
1948
2106
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
1949
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
1950
|
-
# and day, with a zero year (
|
1951
|
-
# zero month and a zero day * A year and month, with a zero day (
|
1952
|
-
# card expiration date) Related types: * google.type.
|
1953
|
-
# DateTime * google.protobuf.Timestamp
|
2107
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
2108
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
2109
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
2110
|
+
# example, a credit card expiration date). Related types: * google.type.
|
2111
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
1954
2112
|
# Corresponds to the JSON property `startDate`
|
1955
2113
|
# @return [Google::Apis::RealtimebiddingV1::Date]
|
1956
2114
|
attr_accessor :start_date
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220503"
|
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
|
@@ -784,6 +784,162 @@ module Google
|
|
784
784
|
execute_or_queue_command(command, &block)
|
785
785
|
end
|
786
786
|
|
787
|
+
# Batch approves multiple publisher connections.
|
788
|
+
# @param [String] parent
|
789
|
+
# Required. The bidder for whom publisher connections will be approved. Format: `
|
790
|
+
# bidders/`bidder`` where ``bidder`` is the account ID of the bidder.
|
791
|
+
# @param [Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsRequest] batch_approve_publisher_connections_request_object
|
792
|
+
# @param [String] fields
|
793
|
+
# Selector specifying which fields to include in a partial response.
|
794
|
+
# @param [String] quota_user
|
795
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
796
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
797
|
+
# @param [Google::Apis::RequestOptions] options
|
798
|
+
# Request-specific options
|
799
|
+
#
|
800
|
+
# @yield [result, err] Result & error if block supplied
|
801
|
+
# @yieldparam result [Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsResponse] parsed result object
|
802
|
+
# @yieldparam err [StandardError] error object if request failed
|
803
|
+
#
|
804
|
+
# @return [Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsResponse]
|
805
|
+
#
|
806
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
807
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
808
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
809
|
+
def batch_approve_publisher_connections(parent, batch_approve_publisher_connections_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
810
|
+
command = make_simple_command(:post, 'v1/{+parent}/publisherConnections:batchApprove', options)
|
811
|
+
command.request_representation = Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsRequest::Representation
|
812
|
+
command.request_object = batch_approve_publisher_connections_request_object
|
813
|
+
command.response_representation = Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsResponse::Representation
|
814
|
+
command.response_class = Google::Apis::RealtimebiddingV1::BatchApprovePublisherConnectionsResponse
|
815
|
+
command.params['parent'] = parent unless parent.nil?
|
816
|
+
command.query['fields'] = fields unless fields.nil?
|
817
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
818
|
+
execute_or_queue_command(command, &block)
|
819
|
+
end
|
820
|
+
|
821
|
+
# Batch rejects multiple publisher connections.
|
822
|
+
# @param [String] parent
|
823
|
+
# Required. The bidder for whom publisher connections will be rejected. Format: `
|
824
|
+
# bidders/`bidder`` where ``bidder`` is the account ID of the bidder.
|
825
|
+
# @param [Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsRequest] batch_reject_publisher_connections_request_object
|
826
|
+
# @param [String] fields
|
827
|
+
# Selector specifying which fields to include in a partial response.
|
828
|
+
# @param [String] quota_user
|
829
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
830
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
831
|
+
# @param [Google::Apis::RequestOptions] options
|
832
|
+
# Request-specific options
|
833
|
+
#
|
834
|
+
# @yield [result, err] Result & error if block supplied
|
835
|
+
# @yieldparam result [Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsResponse] parsed result object
|
836
|
+
# @yieldparam err [StandardError] error object if request failed
|
837
|
+
#
|
838
|
+
# @return [Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsResponse]
|
839
|
+
#
|
840
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
841
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
842
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
843
|
+
def batch_reject_publisher_connections(parent, batch_reject_publisher_connections_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
844
|
+
command = make_simple_command(:post, 'v1/{+parent}/publisherConnections:batchReject', options)
|
845
|
+
command.request_representation = Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsRequest::Representation
|
846
|
+
command.request_object = batch_reject_publisher_connections_request_object
|
847
|
+
command.response_representation = Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsResponse::Representation
|
848
|
+
command.response_class = Google::Apis::RealtimebiddingV1::BatchRejectPublisherConnectionsResponse
|
849
|
+
command.params['parent'] = parent unless parent.nil?
|
850
|
+
command.query['fields'] = fields unless fields.nil?
|
851
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
852
|
+
execute_or_queue_command(command, &block)
|
853
|
+
end
|
854
|
+
|
855
|
+
# Gets a publisher connection.
|
856
|
+
# @param [String] name
|
857
|
+
# Required. Name of the publisher whose connection information is to be
|
858
|
+
# retrieved. In the pattern `bidders/`bidder`/publisherConnections/`publisher``
|
859
|
+
# where ``bidder`` is the account ID of the bidder, and ``publisher`` is the ads.
|
860
|
+
# txt/app-ads.txt publisher ID. See publisherConnection.name.
|
861
|
+
# @param [String] fields
|
862
|
+
# Selector specifying which fields to include in a partial response.
|
863
|
+
# @param [String] quota_user
|
864
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
865
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
866
|
+
# @param [Google::Apis::RequestOptions] options
|
867
|
+
# Request-specific options
|
868
|
+
#
|
869
|
+
# @yield [result, err] Result & error if block supplied
|
870
|
+
# @yieldparam result [Google::Apis::RealtimebiddingV1::PublisherConnection] parsed result object
|
871
|
+
# @yieldparam err [StandardError] error object if request failed
|
872
|
+
#
|
873
|
+
# @return [Google::Apis::RealtimebiddingV1::PublisherConnection]
|
874
|
+
#
|
875
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
876
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
877
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
878
|
+
def get_bidder_publisher_connection(name, fields: nil, quota_user: nil, options: nil, &block)
|
879
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
880
|
+
command.response_representation = Google::Apis::RealtimebiddingV1::PublisherConnection::Representation
|
881
|
+
command.response_class = Google::Apis::RealtimebiddingV1::PublisherConnection
|
882
|
+
command.params['name'] = name unless name.nil?
|
883
|
+
command.query['fields'] = fields unless fields.nil?
|
884
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
885
|
+
execute_or_queue_command(command, &block)
|
886
|
+
end
|
887
|
+
|
888
|
+
# Lists publisher connections for a given bidder.
|
889
|
+
# @param [String] parent
|
890
|
+
# Required. Name of the bidder for which publishers have initiated connections.
|
891
|
+
# The pattern for this resource is `bidders/`bidder`` where ``bidder``
|
892
|
+
# represents the account ID of the bidder.
|
893
|
+
# @param [String] filter
|
894
|
+
# Query string to filter publisher connections. Connections can be filtered by `
|
895
|
+
# displayName`, `publisherPlatform`, and `biddingState`. If no filter is
|
896
|
+
# specified, all publisher connections will be returned. Example: 'displayName="
|
897
|
+
# Great Publisher*" AND publisherPlatform=ADMOB AND biddingState != PENDING' See
|
898
|
+
# https://google.aip.dev/160 for more information about filtering syntax.
|
899
|
+
# @param [String] order_by
|
900
|
+
# Order specification by which results should be sorted. If no sort order is
|
901
|
+
# specified, the results will be returned in an arbitrary order. Currently
|
902
|
+
# results can be sorted by `createTime`. Example: 'createTime DESC'.
|
903
|
+
# @param [Fixnum] page_size
|
904
|
+
# Requested page size. The server may return fewer results than requested (due
|
905
|
+
# to timeout constraint) even if more are available via another call. If
|
906
|
+
# unspecified, the server will pick an appropriate default. Acceptable values
|
907
|
+
# are 1 to 5000, inclusive.
|
908
|
+
# @param [String] page_token
|
909
|
+
# A token identifying a page of results the server should return. Typically,
|
910
|
+
# this is the value of ListPublisherConnectionsResponse.nextPageToken returned
|
911
|
+
# from the previous call to the 'ListPublisherConnections' method.
|
912
|
+
# @param [String] fields
|
913
|
+
# Selector specifying which fields to include in a partial response.
|
914
|
+
# @param [String] quota_user
|
915
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
916
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
917
|
+
# @param [Google::Apis::RequestOptions] options
|
918
|
+
# Request-specific options
|
919
|
+
#
|
920
|
+
# @yield [result, err] Result & error if block supplied
|
921
|
+
# @yieldparam result [Google::Apis::RealtimebiddingV1::ListPublisherConnectionsResponse] parsed result object
|
922
|
+
# @yieldparam err [StandardError] error object if request failed
|
923
|
+
#
|
924
|
+
# @return [Google::Apis::RealtimebiddingV1::ListPublisherConnectionsResponse]
|
925
|
+
#
|
926
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
927
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
928
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
929
|
+
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)
|
930
|
+
command = make_simple_command(:get, 'v1/{+parent}/publisherConnections', options)
|
931
|
+
command.response_representation = Google::Apis::RealtimebiddingV1::ListPublisherConnectionsResponse::Representation
|
932
|
+
command.response_class = Google::Apis::RealtimebiddingV1::ListPublisherConnectionsResponse
|
933
|
+
command.params['parent'] = parent unless parent.nil?
|
934
|
+
command.query['filter'] = filter unless filter.nil?
|
935
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
936
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
937
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
938
|
+
command.query['fields'] = fields unless fields.nil?
|
939
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
940
|
+
execute_or_queue_command(command, &block)
|
941
|
+
end
|
942
|
+
|
787
943
|
# Gets a buyer account by its name.
|
788
944
|
# @param [String] name
|
789
945
|
# Required. Name of the buyer to get. Format: `buyers/`buyerId``
|
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.15.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-05-09 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-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.15.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: []
|