Skip to content

Commit 9de710f

Browse files
feat: Automated regeneration of displayvideo v2 client (googleapis#26943)
Auto-created at 2026-06-14 12:41:05 +0000 using the toys pull request generator.
1 parent 1e12e15 commit 9de710f

7 files changed

Lines changed: 71 additions & 8 deletions

File tree

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249857,6 +249857,7 @@
249857249857
"/displayvideo:v2/AssignedTargetingOption/videoPlayerSizeDetails": video_player_size_details
249858249858
"/displayvideo:v2/AssignedTargetingOption/viewabilityDetails": viewability_details
249859249859
"/displayvideo:v2/AssignedTargetingOption/youtubeChannelDetails": youtube_channel_details
249860+
"/displayvideo:v2/AssignedTargetingOption/youtubeChannelPackDetails": youtube_channel_pack_details
249860249861
"/displayvideo:v2/AssignedTargetingOption/youtubeVideoDetails": youtube_video_details
249861249862
"/displayvideo:v2/AssignedUserRole": assigned_user_role
249862249863
"/displayvideo:v2/AssignedUserRole/advertiserId": advertiser_id
@@ -251363,6 +251364,9 @@
251363251364
"/displayvideo:v2/YoutubeChannelAssignedTargetingOptionDetails": youtube_channel_assigned_targeting_option_details
251364251365
"/displayvideo:v2/YoutubeChannelAssignedTargetingOptionDetails/channelId": channel_id
251365251366
"/displayvideo:v2/YoutubeChannelAssignedTargetingOptionDetails/negative": negative
251367+
"/displayvideo:v2/YoutubeChannelPackAssignedTargetingOptionDetails": youtube_channel_pack_assigned_targeting_option_details
251368+
"/displayvideo:v2/YoutubeChannelPackAssignedTargetingOptionDetails/channelPackId": channel_pack_id
251369+
"/displayvideo:v2/YoutubeChannelPackAssignedTargetingOptionDetails/negative": negative
251366251370
"/displayvideo:v2/YoutubeVideoAssignedTargetingOptionDetails": youtube_video_assigned_targeting_option_details
251367251371
"/displayvideo:v2/YoutubeVideoAssignedTargetingOptionDetails/negative": negative
251368251372
"/displayvideo:v2/YoutubeVideoAssignedTargetingOptionDetails/videoId": video_id

generated/google-apis-displayvideo_v2/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-displayvideo_v2
22

3+
### v0.59.0 (2026-06-14)
4+
5+
* Regenerated from discovery document revision 20260606
6+
* Regenerated using generator version 0.19.0
7+
38
### v0.58.0 (2026-04-26)
49

510
* Regenerated from discovery document revision 20260421

generated/google-apis-displayvideo_v2/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/display-video/) may pr
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 3.1+.
86+
This library is supported on Ruby 3.2+.
8787

8888
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
8989

generated/google-apis-displayvideo_v2/google-apis-displayvideo_v2.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 3.1'
31+
gem.required_ruby_version = '>= 3.2'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

generated/google-apis-displayvideo_v2/lib/google/apis/displayvideo_v2/classes.rb

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,13 @@ class AssignedTargetingOption
11081108
# @return [Google::Apis::DisplayvideoV2::YoutubeChannelAssignedTargetingOptionDetails]
11091109
attr_accessor :youtube_channel_details
11101110

1111+
# Details for YouTube channel pack assigned targeting option. This will be
1112+
# populated in the youtube_channel_pack_details field when targeting_type is `
1113+
# TARGETING_TYPE_YOUTUBE_CHANNEL_PACK`.
1114+
# Corresponds to the JSON property `youtubeChannelPackDetails`
1115+
# @return [Google::Apis::DisplayvideoV2::YoutubeChannelPackAssignedTargetingOptionDetails]
1116+
attr_accessor :youtube_channel_pack_details
1117+
11111118
# Details for YouTube video assigned targeting option. This will be populated in
11121119
# the youtube_video_details field when targeting_type is `
11131120
# TARGETING_TYPE_YOUTUBE_VIDEO`.
@@ -1173,6 +1180,7 @@ def update!(**args)
11731180
@video_player_size_details = args[:video_player_size_details] if args.key?(:video_player_size_details)
11741181
@viewability_details = args[:viewability_details] if args.key?(:viewability_details)
11751182
@youtube_channel_details = args[:youtube_channel_details] if args.key?(:youtube_channel_details)
1183+
@youtube_channel_pack_details = args[:youtube_channel_pack_details] if args.key?(:youtube_channel_pack_details)
11761184
@youtube_video_details = args[:youtube_video_details] if args.key?(:youtube_video_details)
11771185
end
11781186
end
@@ -3350,7 +3358,8 @@ class ConversionCountingConfig
33503358
# model can be set by you for a floodlight config or group. More details [here](
33513359
# https://support.google.com/displayvideo/answer/7409983). Only applicable to
33523360
# Demand Gen line items. Retrieval and management of Demand Gen resources is
3353-
# currently in beta. This field is only available to allowlisted users.
3361+
# currently in beta. This field will begin rolling out to all partners on *June
3362+
# 10, 2026* and be available to all partners on *June 24, 2026*.
33543363
# Corresponds to the JSON property `primaryAttributionModelId`
33553364
# @return [Fixnum]
33563365
attr_accessor :primary_attribution_model_id
@@ -10004,8 +10013,9 @@ class TargetingExpansionConfig
1000410013

1000510014
# Optional. Whether to exclude demographic expansion for Optimized Targeting.
1000610015
# This field can only be set for Demand Gen ad groups. Retrieval and management
10007-
# of Demand Gen resources is currently in beta. This field is only available to
10008-
# allowlisted users.
10016+
# of Demand Gen resources is currently in beta. This field will begin rolling
10017+
# out to all partners on *June 10, 2026* and be available to all partners on *
10018+
# June 24, 2026*.
1000910019
# Corresponds to the JSON property `excludeDemographicExpansion`
1001010020
# @return [Boolean]
1001110021
attr_accessor :exclude_demographic_expansion
@@ -11583,6 +11593,34 @@ def update!(**args)
1158311593
end
1158411594
end
1158511595

11596+
# Details for YouTube channel pack assigned targeting option. This will be
11597+
# populated in the youtube_channel_pack_details field when targeting_type is `
11598+
# TARGETING_TYPE_YOUTUBE_CHANNEL_PACK`.
11599+
class YoutubeChannelPackAssignedTargetingOptionDetails
11600+
include Google::Apis::Core::Hashable
11601+
11602+
# Required. The ID of the YouTube channel pack.
11603+
# Corresponds to the JSON property `channelPackId`
11604+
# @return [Fixnum]
11605+
attr_accessor :channel_pack_id
11606+
11607+
# Optional. Indicates if this option is being negatively targeted.
11608+
# Corresponds to the JSON property `negative`
11609+
# @return [Boolean]
11610+
attr_accessor :negative
11611+
alias_method :negative?, :negative
11612+
11613+
def initialize(**args)
11614+
update!(**args)
11615+
end
11616+
11617+
# Update properties of this object
11618+
def update!(**args)
11619+
@channel_pack_id = args[:channel_pack_id] if args.key?(:channel_pack_id)
11620+
@negative = args[:negative] if args.key?(:negative)
11621+
end
11622+
end
11623+
1158611624
# Details for YouTube video assigned targeting option. This will be populated in
1158711625
# the youtube_video_details field when targeting_type is `
1158811626
# TARGETING_TYPE_YOUTUBE_VIDEO`.

generated/google-apis-displayvideo_v2/lib/google/apis/displayvideo_v2/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DisplayvideoV2
1818
# Version of the google-apis-displayvideo_v2 gem
19-
GEM_VERSION = "0.58.0"
19+
GEM_VERSION = "0.59.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.18.0"
22+
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260421"
25+
REVISION = "20260606"
2626
end
2727
end
2828
end

generated/google-apis-displayvideo_v2/lib/google/apis/displayvideo_v2/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,6 +1810,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
18101810
include Google::Apis::Core::JsonObjectSupport
18111811
end
18121812

1813+
class YoutubeChannelPackAssignedTargetingOptionDetails
1814+
class Representation < Google::Apis::Core::JsonRepresentation; end
1815+
1816+
include Google::Apis::Core::JsonObjectSupport
1817+
end
1818+
18131819
class YoutubeVideoAssignedTargetingOptionDetails
18141820
class Representation < Google::Apis::Core::JsonRepresentation; end
18151821

@@ -2110,6 +2116,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
21102116

21112117
property :youtube_channel_details, as: 'youtubeChannelDetails', class: Google::Apis::DisplayvideoV2::YoutubeChannelAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV2::YoutubeChannelAssignedTargetingOptionDetails::Representation
21122118

2119+
property :youtube_channel_pack_details, as: 'youtubeChannelPackDetails', class: Google::Apis::DisplayvideoV2::YoutubeChannelPackAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV2::YoutubeChannelPackAssignedTargetingOptionDetails::Representation
2120+
21132121
property :youtube_video_details, as: 'youtubeVideoDetails', class: Google::Apis::DisplayvideoV2::YoutubeVideoAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV2::YoutubeVideoAssignedTargetingOptionDetails::Representation
21142122

21152123
end
@@ -4933,6 +4941,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
49334941
end
49344942
end
49354943

4944+
class YoutubeChannelPackAssignedTargetingOptionDetails
4945+
# @private
4946+
class Representation < Google::Apis::Core::JsonRepresentation
4947+
property :channel_pack_id, :numeric_string => true, as: 'channelPackId'
4948+
property :negative, as: 'negative'
4949+
end
4950+
end
4951+
49364952
class YoutubeVideoAssignedTargetingOptionDetails
49374953
# @private
49384954
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)