google-apis-displayvideo_v2 0.30.0 → 0.32.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: 0774c4f5e7e01a26a332362525f54336852608cd252555851647b9c7b647e77b
4
- data.tar.gz: 9e24429986721285ce0dba910518747fe3b1cf30c156279e48e11bfe072ff43f
3
+ metadata.gz: 3872b5b6ef19300f9445a5012acd5d114a64d48858774325e03b57c2b5c30014
4
+ data.tar.gz: 72f0640369b50ce6ba4babc9688c3bc513191f669db125705031ed3f36209feb
5
5
  SHA512:
6
- metadata.gz: 34067b85232fd3430ea10b765894361a80bec0d1ff502b9d2db702b4c0c8f637cb1c2f203558c9da0e7b789bc3de9f222bf9c68a1686cf264a358fbd74459345
7
- data.tar.gz: 53a44e33939f49bfca43ebcecffecd0bb8d6af073411d1fdad19986c0a1a9e38ecb610cbd5fb9aec2e4852b10e193a42864a80cfc61cf83fb5732c1a799e7a08
6
+ metadata.gz: fab7a8276e25e39195032e3282290c98938301f38c342d0a6cd7b88b160ebbc6b17e0b9d34288fcd42cbe275789830574cbb4efa59859b58141075cc5ff2fb0e
7
+ data.tar.gz: b82716d86112347c7c8b3e4fbc3f44103a7a1570352533f793267bcc58d6354346ee30c8584d4d14cc901f37ec5ad34147831067ae4ecf2f24d1a2343f053c18
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-displayvideo_v2
2
2
 
3
+ ### v0.32.0 (2024-02-04)
4
+
5
+ * Regenerated from discovery document revision 20240201
6
+
7
+ ### v0.31.0 (2024-01-28)
8
+
9
+ * Regenerated from discovery document revision 20240125
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.30.0 (2024-01-22)
4
13
 
5
14
  * Regenerated from discovery document revision 20240118
@@ -303,9 +303,12 @@ module Google
303
303
  attr_accessor :ias_client_id
304
304
 
305
305
  # Whether or not to use DV360's Online Behavioral Advertising (OBA) compliance.
306
- # Warning: Changing OBA settings may cause the audit status of your creatives to
307
- # be reset by some ad exchanges, making them ineligible to serve until they are
308
- # re-approved.
306
+ # Starting on February 9, 2024, this field will be affected by an update to the
307
+ # Display & Video 360 API Terms of Service. See our [announcement](//ads-
308
+ # developers.googleblog.com/2024/01/update-to-display-video-360-api-terms.html)
309
+ # for more detail. Warning: Changing OBA settings may cause the audit status of
310
+ # your creatives to be reset by some ad exchanges, making them ineligible to
311
+ # serve until they are re-approved.
309
312
  # Corresponds to the JSON property `obaComplianceDisabled`
310
313
  # @return [Boolean]
311
314
  attr_accessor :oba_compliance_disabled
@@ -2907,6 +2910,12 @@ module Google
2907
2910
  # @return [Fixnum]
2908
2911
  attr_accessor :cm_account_id
2909
2912
 
2913
+ # Output only. The set of CM360 Advertiser IDs sharing the CM360 Floodlight
2914
+ # configuration.
2915
+ # Corresponds to the JSON property `cmAdvertiserIds`
2916
+ # @return [Array<Fixnum>]
2917
+ attr_accessor :cm_advertiser_ids
2918
+
2910
2919
  # Required. Immutable. ID of the CM360 Floodlight configuration linked with the
2911
2920
  # DV360 advertiser.
2912
2921
  # Corresponds to the JSON property `cmFloodlightConfigId`
@@ -2948,6 +2957,7 @@ module Google
2948
2957
  # Update properties of this object
2949
2958
  def update!(**args)
2950
2959
  @cm_account_id = args[:cm_account_id] if args.key?(:cm_account_id)
2960
+ @cm_advertiser_ids = args[:cm_advertiser_ids] if args.key?(:cm_advertiser_ids)
2951
2961
  @cm_floodlight_config_id = args[:cm_floodlight_config_id] if args.key?(:cm_floodlight_config_id)
2952
2962
  @cm_floodlight_linking_authorized = args[:cm_floodlight_linking_authorized] if args.key?(:cm_floodlight_linking_authorized)
2953
2963
  @cm_syncable_site_ids = args[:cm_syncable_site_ids] if args.key?(:cm_syncable_site_ids)
@@ -5644,6 +5654,73 @@ module Google
5644
5654
  end
5645
5655
  end
5646
5656
 
5657
+ # A single Floodlight activity.
5658
+ class FloodlightActivity
5659
+ include Google::Apis::Core::Hashable
5660
+
5661
+ # Output only. IDs of the advertisers that have access to the parent Floodlight
5662
+ # group. Only advertisers under the provided partner ID will be listed in this
5663
+ # field.
5664
+ # Corresponds to the JSON property `advertiserIds`
5665
+ # @return [Array<Fixnum>]
5666
+ attr_accessor :advertiser_ids
5667
+
5668
+ # Required. The display name of the Floodlight activity.
5669
+ # Corresponds to the JSON property `displayName`
5670
+ # @return [String]
5671
+ attr_accessor :display_name
5672
+
5673
+ # Output only. The unique ID of the Floodlight activity. Assigned by the system.
5674
+ # Corresponds to the JSON property `floodlightActivityId`
5675
+ # @return [Fixnum]
5676
+ attr_accessor :floodlight_activity_id
5677
+
5678
+ # Required. Immutable. The ID of the parent Floodlight group.
5679
+ # Corresponds to the JSON property `floodlightGroupId`
5680
+ # @return [Fixnum]
5681
+ attr_accessor :floodlight_group_id
5682
+
5683
+ # Output only. The resource name of the Floodlight activity.
5684
+ # Corresponds to the JSON property `name`
5685
+ # @return [String]
5686
+ attr_accessor :name
5687
+
5688
+ # Output only. A list of configuration objects designating whether remarketing
5689
+ # for this Floodlight Activity is enabled and available for a specifc advertiser.
5690
+ # If enabled, this Floodlight Activity generates a remarketing user list that
5691
+ # is able to be used in targeting under the advertiser.
5692
+ # Corresponds to the JSON property `remarketingConfigs`
5693
+ # @return [Array<Google::Apis::DisplayvideoV2::RemarketingConfig>]
5694
+ attr_accessor :remarketing_configs
5695
+
5696
+ # Optional. Whether the Floodlight activity is served.
5697
+ # Corresponds to the JSON property `servingStatus`
5698
+ # @return [String]
5699
+ attr_accessor :serving_status
5700
+
5701
+ # Output only. Whether tags are required to be compliant.
5702
+ # Corresponds to the JSON property `sslRequired`
5703
+ # @return [Boolean]
5704
+ attr_accessor :ssl_required
5705
+ alias_method :ssl_required?, :ssl_required
5706
+
5707
+ def initialize(**args)
5708
+ update!(**args)
5709
+ end
5710
+
5711
+ # Update properties of this object
5712
+ def update!(**args)
5713
+ @advertiser_ids = args[:advertiser_ids] if args.key?(:advertiser_ids)
5714
+ @display_name = args[:display_name] if args.key?(:display_name)
5715
+ @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id)
5716
+ @floodlight_group_id = args[:floodlight_group_id] if args.key?(:floodlight_group_id)
5717
+ @name = args[:name] if args.key?(:name)
5718
+ @remarketing_configs = args[:remarketing_configs] if args.key?(:remarketing_configs)
5719
+ @serving_status = args[:serving_status] if args.key?(:serving_status)
5720
+ @ssl_required = args[:ssl_required] if args.key?(:ssl_required)
5721
+ end
5722
+ end
5723
+
5647
5724
  # A single Floodlight group.
5648
5725
  class FloodlightGroup
5649
5726
  include Google::Apis::Core::Hashable
@@ -7965,6 +8042,33 @@ module Google
7965
8042
  end
7966
8043
  end
7967
8044
 
8045
+ #
8046
+ class ListFloodlightActivitiesResponse
8047
+ include Google::Apis::Core::Hashable
8048
+
8049
+ # The list of Floodlight activities. This list will be absent if empty.
8050
+ # Corresponds to the JSON property `floodlightActivities`
8051
+ # @return [Array<Google::Apis::DisplayvideoV2::FloodlightActivity>]
8052
+ attr_accessor :floodlight_activities
8053
+
8054
+ # A token to retrieve the next page of results. Pass this value in the
8055
+ # page_token field in the subsequent call to `ListFloodlightActivities` method
8056
+ # to retrieve the next page of results.
8057
+ # Corresponds to the JSON property `nextPageToken`
8058
+ # @return [String]
8059
+ attr_accessor :next_page_token
8060
+
8061
+ def initialize(**args)
8062
+ update!(**args)
8063
+ end
8064
+
8065
+ # Update properties of this object
8066
+ def update!(**args)
8067
+ @floodlight_activities = args[:floodlight_activities] if args.key?(:floodlight_activities)
8068
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8069
+ end
8070
+ end
8071
+
7968
8072
  #
7969
8073
  class ListGoogleAudiencesResponse
7970
8074
  include Google::Apis::Core::Hashable
@@ -10242,6 +10346,34 @@ module Google
10242
10346
  end
10243
10347
  end
10244
10348
 
10349
+ # Settings that control the whether remarketing is enabled for the given
10350
+ # identified advertiser.
10351
+ class RemarketingConfig
10352
+ include Google::Apis::Core::Hashable
10353
+
10354
+ # Output only. The ID of the advertiser.
10355
+ # Corresponds to the JSON property `advertiserId`
10356
+ # @return [Fixnum]
10357
+ attr_accessor :advertiser_id
10358
+
10359
+ # Output only. Whether the Floodlight activity remarketing user list is
10360
+ # available to the identified advertiser.
10361
+ # Corresponds to the JSON property `remarketingEnabled`
10362
+ # @return [Boolean]
10363
+ attr_accessor :remarketing_enabled
10364
+ alias_method :remarketing_enabled?, :remarketing_enabled
10365
+
10366
+ def initialize(**args)
10367
+ update!(**args)
10368
+ end
10369
+
10370
+ # Update properties of this object
10371
+ def update!(**args)
10372
+ @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
10373
+ @remarketing_enabled = args[:remarketing_enabled] if args.key?(:remarketing_enabled)
10374
+ end
10375
+ end
10376
+
10245
10377
  # Request message for NegativeKeywordService.ReplaceNegativeKeywords.
10246
10378
  class ReplaceNegativeKeywordsRequest
10247
10379
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DisplayvideoV2
18
18
  # Version of the google-apis-displayvideo_v2 gem
19
- GEM_VERSION = "0.30.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240118"
25
+ REVISION = "20240201"
26
26
  end
27
27
  end
28
28
  end
@@ -904,6 +904,12 @@ module Google
904
904
  include Google::Apis::Core::JsonObjectSupport
905
905
  end
906
906
 
907
+ class FloodlightActivity
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
907
913
  class FloodlightGroup
908
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
909
915
 
@@ -1240,6 +1246,12 @@ module Google
1240
1246
  include Google::Apis::Core::JsonObjectSupport
1241
1247
  end
1242
1248
 
1249
+ class ListFloodlightActivitiesResponse
1250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1251
+
1252
+ include Google::Apis::Core::JsonObjectSupport
1253
+ end
1254
+
1243
1255
  class ListGoogleAudiencesResponse
1244
1256
  class Representation < Google::Apis::Core::JsonRepresentation; end
1245
1257
 
@@ -1648,6 +1660,12 @@ module Google
1648
1660
  include Google::Apis::Core::JsonObjectSupport
1649
1661
  end
1650
1662
 
1663
+ class RemarketingConfig
1664
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1665
+
1666
+ include Google::Apis::Core::JsonObjectSupport
1667
+ end
1668
+
1651
1669
  class ReplaceNegativeKeywordsRequest
1652
1670
  class Representation < Google::Apis::Core::JsonRepresentation; end
1653
1671
 
@@ -2751,6 +2769,7 @@ module Google
2751
2769
  # @private
2752
2770
  class Representation < Google::Apis::Core::JsonRepresentation
2753
2771
  property :cm_account_id, :numeric_string => true, as: 'cmAccountId'
2772
+ collection :cm_advertiser_ids, as: 'cmAdvertiserIds'
2754
2773
  property :cm_floodlight_config_id, :numeric_string => true, as: 'cmFloodlightConfigId'
2755
2774
  property :cm_floodlight_linking_authorized, as: 'cmFloodlightLinkingAuthorized'
2756
2775
  collection :cm_syncable_site_ids, as: 'cmSyncableSiteIds'
@@ -3477,6 +3496,21 @@ module Google
3477
3496
  end
3478
3497
  end
3479
3498
 
3499
+ class FloodlightActivity
3500
+ # @private
3501
+ class Representation < Google::Apis::Core::JsonRepresentation
3502
+ collection :advertiser_ids, as: 'advertiserIds'
3503
+ property :display_name, as: 'displayName'
3504
+ property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId'
3505
+ property :floodlight_group_id, :numeric_string => true, as: 'floodlightGroupId'
3506
+ property :name, as: 'name'
3507
+ collection :remarketing_configs, as: 'remarketingConfigs', class: Google::Apis::DisplayvideoV2::RemarketingConfig, decorator: Google::Apis::DisplayvideoV2::RemarketingConfig::Representation
3508
+
3509
+ property :serving_status, as: 'servingStatus'
3510
+ property :ssl_required, as: 'sslRequired'
3511
+ end
3512
+ end
3513
+
3480
3514
  class FloodlightGroup
3481
3515
  # @private
3482
3516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4090,6 +4124,15 @@ module Google
4090
4124
  end
4091
4125
  end
4092
4126
 
4127
+ class ListFloodlightActivitiesResponse
4128
+ # @private
4129
+ class Representation < Google::Apis::Core::JsonRepresentation
4130
+ collection :floodlight_activities, as: 'floodlightActivities', class: Google::Apis::DisplayvideoV2::FloodlightActivity, decorator: Google::Apis::DisplayvideoV2::FloodlightActivity::Representation
4131
+
4132
+ property :next_page_token, as: 'nextPageToken'
4133
+ end
4134
+ end
4135
+
4093
4136
  class ListGoogleAudiencesResponse
4094
4137
  # @private
4095
4138
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4723,6 +4766,14 @@ module Google
4723
4766
  end
4724
4767
  end
4725
4768
 
4769
+ class RemarketingConfig
4770
+ # @private
4771
+ class Representation < Google::Apis::Core::JsonRepresentation
4772
+ property :advertiser_id, :numeric_string => true, as: 'advertiserId'
4773
+ property :remarketing_enabled, as: 'remarketingEnabled'
4774
+ end
4775
+ end
4776
+
4726
4777
  class ReplaceNegativeKeywordsRequest
4727
4778
  # @private
4728
4779
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5214,6 +5214,96 @@ module Google
5214
5214
  execute_or_queue_command(command, &block)
5215
5215
  end
5216
5216
 
5217
+ # Gets a Floodlight activity.
5218
+ # @param [Fixnum] floodlight_group_id
5219
+ # Required. The ID of the parent Floodlight group to which the requested
5220
+ # Floodlight activity belongs.
5221
+ # @param [Fixnum] floodlight_activity_id
5222
+ # Required. The ID of the Floodlight activity to fetch.
5223
+ # @param [Fixnum] partner_id
5224
+ # Required. The ID of the partner through which the Floodlight activity is being
5225
+ # accessed.
5226
+ # @param [String] fields
5227
+ # Selector specifying which fields to include in a partial response.
5228
+ # @param [String] quota_user
5229
+ # Available to use for quota purposes for server-side applications. Can be any
5230
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5231
+ # @param [Google::Apis::RequestOptions] options
5232
+ # Request-specific options
5233
+ #
5234
+ # @yield [result, err] Result & error if block supplied
5235
+ # @yieldparam result [Google::Apis::DisplayvideoV2::FloodlightActivity] parsed result object
5236
+ # @yieldparam err [StandardError] error object if request failed
5237
+ #
5238
+ # @return [Google::Apis::DisplayvideoV2::FloodlightActivity]
5239
+ #
5240
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5241
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5242
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5243
+ def get_floodlight_group_floodlight_activity(floodlight_group_id, floodlight_activity_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5244
+ command = make_simple_command(:get, 'v2/floodlightGroups/{+floodlightGroupId}/floodlightActivities/{+floodlightActivityId}', options)
5245
+ command.response_representation = Google::Apis::DisplayvideoV2::FloodlightActivity::Representation
5246
+ command.response_class = Google::Apis::DisplayvideoV2::FloodlightActivity
5247
+ command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
5248
+ command.params['floodlightActivityId'] = floodlight_activity_id unless floodlight_activity_id.nil?
5249
+ command.query['partnerId'] = partner_id unless partner_id.nil?
5250
+ command.query['fields'] = fields unless fields.nil?
5251
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5252
+ execute_or_queue_command(command, &block)
5253
+ end
5254
+
5255
+ # Lists Floodlight activities in a Floodlight group.
5256
+ # @param [Fixnum] floodlight_group_id
5257
+ # Required. The ID of the parent Floodlight group to which the requested
5258
+ # Floodlight activities belong.
5259
+ # @param [String] order_by
5260
+ # Optional. Field by which to sort the list. Acceptable values are: * `
5261
+ # displayName` (default) * `floodlightActivityId` The default sorting order is
5262
+ # ascending. To specify descending order for a field, a suffix "desc" should be
5263
+ # added to the field name. Example: `displayName desc`.
5264
+ # @param [Fixnum] page_size
5265
+ # Optional. Requested page size. Must be between `1` and `100`. If unspecified
5266
+ # will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid
5267
+ # value is specified.
5268
+ # @param [String] page_token
5269
+ # Optional. A token identifying a page of results the server should return.
5270
+ # Typically, this is the value of next_page_token returned from the previous
5271
+ # call to `ListFloodlightActivities` method. If not specified, the first page of
5272
+ # results will be returned.
5273
+ # @param [Fixnum] partner_id
5274
+ # Required. The ID of the partner through which the Floodlight activities are
5275
+ # being accessed.
5276
+ # @param [String] fields
5277
+ # Selector specifying which fields to include in a partial response.
5278
+ # @param [String] quota_user
5279
+ # Available to use for quota purposes for server-side applications. Can be any
5280
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5281
+ # @param [Google::Apis::RequestOptions] options
5282
+ # Request-specific options
5283
+ #
5284
+ # @yield [result, err] Result & error if block supplied
5285
+ # @yieldparam result [Google::Apis::DisplayvideoV2::ListFloodlightActivitiesResponse] parsed result object
5286
+ # @yieldparam err [StandardError] error object if request failed
5287
+ #
5288
+ # @return [Google::Apis::DisplayvideoV2::ListFloodlightActivitiesResponse]
5289
+ #
5290
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5291
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5292
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5293
+ def list_floodlight_group_floodlight_activities(floodlight_group_id, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5294
+ command = make_simple_command(:get, 'v2/floodlightGroups/{+floodlightGroupId}/floodlightActivities', options)
5295
+ command.response_representation = Google::Apis::DisplayvideoV2::ListFloodlightActivitiesResponse::Representation
5296
+ command.response_class = Google::Apis::DisplayvideoV2::ListFloodlightActivitiesResponse
5297
+ command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
5298
+ command.query['orderBy'] = order_by unless order_by.nil?
5299
+ command.query['pageSize'] = page_size unless page_size.nil?
5300
+ command.query['pageToken'] = page_token unless page_token.nil?
5301
+ command.query['partnerId'] = partner_id unless partner_id.nil?
5302
+ command.query['fields'] = fields unless fields.nil?
5303
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5304
+ execute_or_queue_command(command, &block)
5305
+ end
5306
+
5217
5307
  # Gets a Google audience.
5218
5308
  # @param [Fixnum] google_audience_id
5219
5309
  # Required. The ID of the Google audience to fetch.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-displayvideo_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-04 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-displayvideo_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v2/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v2/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v2
63
63
  post_install_message:
64
64
  rdoc_options: []