google-apis-displayvideo_v2 0.47.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a260dcb17e90b5e4349120916e8dd5be18bc81ecec063a72aa47221368d308e1
4
- data.tar.gz: 17cc8ce16e2e9f3fefbf3156074e43d7453947121cc7781e6a19961908696829
3
+ metadata.gz: 85a0513457e03676b7af958c6cdd50639493e5fc38d60742dd16edb361968bd3
4
+ data.tar.gz: 169e464d7d50c3fe740715f96c9653e06887ad4451fed046a44a55a34db911ab
5
5
  SHA512:
6
- metadata.gz: 8a33e0c08fbff8eb26745517d2a7782ebbdde15742ece5494fa8839e099ae94d5cbd821e65b635cc3bab904d444b5005b404703b8bd08304a67149fe2c817121
7
- data.tar.gz: 608db03af92a7946d73b03177fbd033daff3d672dfe626153f4907cf50eeaa93734257851da4d27ed807cb17bdae11d67ee2f3e1aa71118ed39cccb636e5a07f
6
+ metadata.gz: 71ed5ab20140d6939513bf66cc3b8f28bbf07a629a6f72a688878152415b0089d1261484e5a8856762a3bcd8fd8c2e79842c9f42cecfd6775e26d4cd430aed37
7
+ data.tar.gz: 7dcda7d5510465206e9de667f1a346519ed8d932b1029a9419bf7eff55c0eda8b5a9de28b328e45fe62baa4d3e4fea52ffe174052b63485cce6067c5e63b940a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-displayvideo_v2
2
2
 
3
+ ### v0.49.0 (2025-07-13)
4
+
5
+ * Regenerated from discovery document revision 20250709
6
+
7
+ ### v0.48.0 (2025-06-29)
8
+
9
+ * Regenerated from discovery document revision 20250625
10
+
3
11
  ### v0.47.0 (2025-06-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20250529
@@ -1636,7 +1636,7 @@ module Google
1636
1636
  # CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `
1637
1637
  # TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `
1638
1638
  # TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `
1639
- # TARGETING_TYPE_KEYWORD`
1639
+ # TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`
1640
1640
  # Corresponds to the JSON property `createRequests`
1641
1641
  # @return [Array<Google::Apis::DisplayvideoV2::CreateAssignedTargetingOptionsRequest>]
1642
1642
  attr_accessor :create_requests
@@ -1645,7 +1645,7 @@ module Google
1645
1645
  # DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `
1646
1646
  # TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `
1647
1647
  # TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `
1648
- # TARGETING_TYPE_KEYWORD`
1648
+ # TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`
1649
1649
  # Corresponds to the JSON property `deleteRequests`
1650
1650
  # @return [Array<Google::Apis::DisplayvideoV2::DeleteAssignedTargetingOptionsRequest>]
1651
1651
  attr_accessor :delete_requests
@@ -11103,6 +11103,40 @@ module Google
11103
11103
  end
11104
11104
  end
11105
11105
 
11106
+ # The video ad inventory control used in certain YouTube line item types.
11107
+ class VideoAdInventoryControl
11108
+ include Google::Apis::Core::Hashable
11109
+
11110
+ # Optional. Whether ads can serve as in-feed format.
11111
+ # Corresponds to the JSON property `allowInFeed`
11112
+ # @return [Boolean]
11113
+ attr_accessor :allow_in_feed
11114
+ alias_method :allow_in_feed?, :allow_in_feed
11115
+
11116
+ # Optional. Whether ads can serve as in-stream format.
11117
+ # Corresponds to the JSON property `allowInStream`
11118
+ # @return [Boolean]
11119
+ attr_accessor :allow_in_stream
11120
+ alias_method :allow_in_stream?, :allow_in_stream
11121
+
11122
+ # Optional. Whether ads can serve as shorts format.
11123
+ # Corresponds to the JSON property `allowShorts`
11124
+ # @return [Boolean]
11125
+ attr_accessor :allow_shorts
11126
+ alias_method :allow_shorts?, :allow_shorts
11127
+
11128
+ def initialize(**args)
11129
+ update!(**args)
11130
+ end
11131
+
11132
+ # Update properties of this object
11133
+ def update!(**args)
11134
+ @allow_in_feed = args[:allow_in_feed] if args.key?(:allow_in_feed)
11135
+ @allow_in_stream = args[:allow_in_stream] if args.key?(:allow_in_stream)
11136
+ @allow_shorts = args[:allow_shorts] if args.key?(:allow_shorts)
11137
+ end
11138
+ end
11139
+
11106
11140
  # Settings related to VideoAdSequence.
11107
11141
  class VideoAdSequenceSettings
11108
11142
  include Google::Apis::Core::Hashable
@@ -11697,20 +11731,17 @@ module Google
11697
11731
  # @return [Google::Apis::DisplayvideoV2::YoutubeAndPartnersBiddingStrategy]
11698
11732
  attr_accessor :bidding_strategy
11699
11733
 
11700
- # The kind of content on which the YouTube and Partners ads will be shown. *
11701
- # Warning*: Starting **June 12, 2025**, this setting will no longer be editable.
11702
- # This field will eventually be removed. [Read more about this announced change](
11703
- # /display-video/api/deprecations#features.li_yt_content_category)
11734
+ # Output only. The kind of content on which the YouTube and Partners ads will be
11735
+ # shown. *Warning*: This field will be removed in the near future. Use
11736
+ # effective_content_category instead.
11704
11737
  # Corresponds to the JSON property `contentCategory`
11705
11738
  # @return [String]
11706
11739
  attr_accessor :content_category
11707
11740
 
11708
11741
  # Output only. The content category which takes effect when serving the line
11709
11742
  # item. When content category is set in both line item and advertiser, the
11710
- # stricter one will take effect when serving the line item. *Warning*: Starting *
11711
- # *June 12, 2025**, this field will only reflect the advertiser level setting
11712
- # for new line items. [Read more about this announced change](/display-video/api/
11713
- # deprecations#features.li_yt_content_category)
11743
+ # stricter one will take effect when serving the line item. New line items will
11744
+ # only inherit the advertiser level setting.
11714
11745
  # Corresponds to the JSON property `effectiveContentCategory`
11715
11746
  # @return [String]
11716
11747
  attr_accessor :effective_content_category
@@ -11750,6 +11781,11 @@ module Google
11750
11781
  # @return [Google::Apis::DisplayvideoV2::YoutubeAndPartnersThirdPartyMeasurementSettings]
11751
11782
  attr_accessor :third_party_measurement_settings
11752
11783
 
11784
+ # The video ad inventory control used in certain YouTube line item types.
11785
+ # Corresponds to the JSON property `videoAdInventoryControl`
11786
+ # @return [Google::Apis::DisplayvideoV2::VideoAdInventoryControl]
11787
+ attr_accessor :video_ad_inventory_control
11788
+
11753
11789
  # Settings related to VideoAdSequence.
11754
11790
  # Corresponds to the JSON property `videoAdSequenceSettings`
11755
11791
  # @return [Google::Apis::DisplayvideoV2::VideoAdSequenceSettings]
@@ -11776,6 +11812,7 @@ module Google
11776
11812
  @related_video_ids = args[:related_video_ids] if args.key?(:related_video_ids)
11777
11813
  @target_frequency = args[:target_frequency] if args.key?(:target_frequency)
11778
11814
  @third_party_measurement_settings = args[:third_party_measurement_settings] if args.key?(:third_party_measurement_settings)
11815
+ @video_ad_inventory_control = args[:video_ad_inventory_control] if args.key?(:video_ad_inventory_control)
11779
11816
  @video_ad_sequence_settings = args[:video_ad_sequence_settings] if args.key?(:video_ad_sequence_settings)
11780
11817
  @view_frequency_cap = args[:view_frequency_cap] if args.key?(:view_frequency_cap)
11781
11818
  end
@@ -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.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250529"
25
+ REVISION = "20250709"
26
26
  end
27
27
  end
28
28
  end
@@ -1780,6 +1780,12 @@ module Google
1780
1780
  include Google::Apis::Core::JsonObjectSupport
1781
1781
  end
1782
1782
 
1783
+ class VideoAdInventoryControl
1784
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1785
+
1786
+ include Google::Apis::Core::JsonObjectSupport
1787
+ end
1788
+
1783
1789
  class VideoAdSequenceSettings
1784
1790
  class Representation < Google::Apis::Core::JsonRepresentation; end
1785
1791
 
@@ -4896,6 +4902,15 @@ module Google
4896
4902
  end
4897
4903
  end
4898
4904
 
4905
+ class VideoAdInventoryControl
4906
+ # @private
4907
+ class Representation < Google::Apis::Core::JsonRepresentation
4908
+ property :allow_in_feed, as: 'allowInFeed'
4909
+ property :allow_in_stream, as: 'allowInStream'
4910
+ property :allow_shorts, as: 'allowShorts'
4911
+ end
4912
+ end
4913
+
4899
4914
  class VideoAdSequenceSettings
4900
4915
  # @private
4901
4916
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5070,6 +5085,8 @@ module Google
5070
5085
 
5071
5086
  property :third_party_measurement_settings, as: 'thirdPartyMeasurementSettings', class: Google::Apis::DisplayvideoV2::YoutubeAndPartnersThirdPartyMeasurementSettings, decorator: Google::Apis::DisplayvideoV2::YoutubeAndPartnersThirdPartyMeasurementSettings::Representation
5072
5087
 
5088
+ property :video_ad_inventory_control, as: 'videoAdInventoryControl', class: Google::Apis::DisplayvideoV2::VideoAdInventoryControl, decorator: Google::Apis::DisplayvideoV2::VideoAdInventoryControl::Representation
5089
+
5073
5090
  property :video_ad_sequence_settings, as: 'videoAdSequenceSettings', class: Google::Apis::DisplayvideoV2::VideoAdSequenceSettings, decorator: Google::Apis::DisplayvideoV2::VideoAdSequenceSettings::Representation
5074
5091
 
5075
5092
  property :view_frequency_cap, as: 'viewFrequencyCap', class: Google::Apis::DisplayvideoV2::FrequencyCap, decorator: Google::Apis::DisplayvideoV2::FrequencyCap::Representation
@@ -2172,7 +2172,8 @@ module Google
2172
2172
  # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
2173
2173
  # `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
2174
2174
  # TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
2175
- # TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `
2175
+ # TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_INVENTORY_MODE` * `
2176
+ # TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `
2176
2177
  # LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `
2177
2178
  # TARGETING_TYPE_YOUTUBE_VIDEO` (only for `
2178
2179
  # LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)
@@ -2240,7 +2241,8 @@ module Google
2240
2241
  # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
2241
2242
  # `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
2242
2243
  # TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
2243
- # TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `
2244
+ # TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_INVENTORY_MODE` * `
2245
+ # TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `
2244
2246
  # LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `
2245
2247
  # TARGETING_TYPE_YOUTUBE_VIDEO` (only for `
2246
2248
  # LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)
@@ -3317,7 +3319,8 @@ module Google
3317
3319
  # Required. Identifies the type of this assigned targeting option. Supported
3318
3320
  # targeting types: * `TARGETING_TYPE_CHANNEL` * `
3319
3321
  # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `
3320
- # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD`
3322
+ # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `
3323
+ # TARGETING_TYPE_INVENTORY_MODE`
3321
3324
  # @param [Google::Apis::DisplayvideoV2::AssignedTargetingOption] assigned_targeting_option_object
3322
3325
  # @param [String] fields
3323
3326
  # Selector specifying which fields to include in a partial response.
@@ -3356,7 +3359,8 @@ module Google
3356
3359
  # Required. Identifies the type of this assigned targeting option. Supported
3357
3360
  # targeting types: * `TARGETING_TYPE_CHANNEL` * `
3358
3361
  # TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `
3359
- # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD`
3362
+ # TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `
3363
+ # TARGETING_TYPE_INVENTORY_MODE`
3360
3364
  # @param [String] assigned_targeting_option_id
3361
3365
  # Required. The ID of the assigned targeting option to delete.
3362
3366
  # @param [String] fields
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-displayvideo_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v2/v0.47.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v2/v0.49.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v2
62
62
  rdoc_options: []
63
63
  require_paths: