Skip to content

Commit d31af8f

Browse files
feat: Automated regeneration of displayvideo v4 client (#26268)
Auto-created at 2026-04-26 09:54:15 +0000 using the toys pull request generator.
1 parent d315c3c commit d31af8f

6 files changed

Lines changed: 27 additions & 19 deletions

File tree

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251463,6 +251463,7 @@
251463251463
"/displayvideo:v4/VideoAdInventoryControl": video_ad_inventory_control
251464251464
"/displayvideo:v4/VideoAdInventoryControl/allowInFeed": allow_in_feed
251465251465
"/displayvideo:v4/VideoAdInventoryControl/allowInStream": allow_in_stream
251466+
"/displayvideo:v4/VideoAdInventoryControl/allowNonSkippableInStream": allow_non_skippable_in_stream
251466251467
"/displayvideo:v4/VideoAdInventoryControl/allowShorts": allow_shorts
251467251468
"/displayvideo:v4/VideoAdSequenceSettings": video_ad_sequence_settings
251468251469
"/displayvideo:v4/VideoAdSequenceSettings/minimumDuration": minimum_duration

generated/google-apis-displayvideo_v4/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-displayvideo_v4
22

3-
### v0.20.0 (2026-04-19)
3+
### v0.20.0 (2026-04-26)
44

5-
* Regenerated from discovery document revision 20260412
5+
* Regenerated from discovery document revision 20260421
66

77
### v0.19.0 (2026-03-15)
88

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

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3177,9 +3177,8 @@ class BulkEditAdGroupAssignedTargetingOptionsRequest
31773177
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `
31783178
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
31793179
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
3180-
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
3181-
# TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `
3182-
# TARGETING_TYPE_YOUTUBE_VIDEO`
3180+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_URL` * `
3181+
# TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`
31833182
# Corresponds to the JSON property `createRequests`
31843183
# @return [Array<Google::Apis::DisplayvideoV4::CreateAssignedTargetingOptionsRequest>]
31853184
attr_accessor :create_requests
@@ -3191,9 +3190,8 @@ class BulkEditAdGroupAssignedTargetingOptionsRequest
31913190
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `
31923191
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
31933192
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
3194-
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
3195-
# TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `
3196-
# TARGETING_TYPE_YOUTUBE_VIDEO`
3193+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_URL` * `
3194+
# TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`
31973195
# Corresponds to the JSON property `deleteRequests`
31983196
# @return [Array<Google::Apis::DisplayvideoV4::DeleteAssignedTargetingOptionsRequest>]
31993197
attr_accessor :delete_requests
@@ -14214,6 +14212,12 @@ class VideoAdInventoryControl
1421414212
attr_accessor :allow_in_stream
1421514213
alias_method :allow_in_stream?, :allow_in_stream
1421614214

14215+
# Optional. Indicates whether ads can serve as non-skippable in-stream format.
14216+
# Corresponds to the JSON property `allowNonSkippableInStream`
14217+
# @return [Boolean]
14218+
attr_accessor :allow_non_skippable_in_stream
14219+
alias_method :allow_non_skippable_in_stream?, :allow_non_skippable_in_stream
14220+
1421714221
# Optional. Whether ads can serve as shorts format.
1421814222
# Corresponds to the JSON property `allowShorts`
1421914223
# @return [Boolean]
@@ -14228,6 +14232,7 @@ def initialize(**args)
1422814232
def update!(**args)
1422914233
@allow_in_feed = args[:allow_in_feed] if args.key?(:allow_in_feed)
1423014234
@allow_in_stream = args[:allow_in_stream] if args.key?(:allow_in_stream)
14235+
@allow_non_skippable_in_stream = args[:allow_non_skippable_in_stream] if args.key?(:allow_non_skippable_in_stream)
1423114236
@allow_shorts = args[:allow_shorts] if args.key?(:allow_shorts)
1423214237
end
1423314238
end
@@ -14532,10 +14537,9 @@ class YoutubeAndPartnersBiddingStrategy
1453214537
# The value used by the bidding strategy. When the bidding strategy is assigned
1453314538
# at the line item level, this field is only applicable for the following
1453414539
# strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `
14535-
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` * `
14536-
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_SHARE_OF_VOICE` When the
14537-
# bidding strategy is assigned at the ad group level, this field is only
14538-
# applicable for the following strategy types: * `
14540+
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` When the bidding
14541+
# strategy is assigned at the ad group level, this field is only applicable for
14542+
# the following strategy types: * `
1453914543
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM` * `
1454014544
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV` * `
1454114545
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module DisplayvideoV4
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6191,6 +6191,7 @@ class VideoAdInventoryControl
61916191
class Representation < Google::Apis::Core::JsonRepresentation
61926192
property :allow_in_feed, as: 'allowInFeed'
61936193
property :allow_in_stream, as: 'allowInStream'
6194+
property :allow_non_skippable_in_stream, as: 'allowNonSkippableInStream'
61946195
property :allow_shorts, as: 'allowShorts'
61956196
end
61966197
end

generated/google-apis-displayvideo_v4/lib/google/apis/displayvideo_v4/service.rb

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,9 +1122,8 @@ def patch_advertiser_ad_group(advertiser_id, ad_group_id, ad_group_object = nil,
11221122
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `
11231123
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
11241124
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
1125-
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
1126-
# TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `
1127-
# TARGETING_TYPE_YOUTUBE_VIDEO`
1125+
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_URL` * `
1126+
# TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`
11281127
# @param [Google::Apis::DisplayvideoV4::AssignedTargetingOption] assigned_targeting_option_object
11291128
# @param [String] fields
11301129
# Selector specifying which fields to include in a partial response.
@@ -1170,7 +1169,8 @@ def create_advertiser_ad_group_targeting_type_assigned_targeting_option(advertis
11701169
# targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `
11711170
# TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
11721171
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `
1173-
# TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD` * `
1172+
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
1173+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
11741174
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SESSION_POSITION` * `
11751175
# TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `
11761176
# TARGETING_TYPE_YOUTUBE_VIDEO`
@@ -1217,7 +1217,8 @@ def delete_advertiser_ad_group_targeting_type_assigned_targeting_option(advertis
12171217
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
12181218
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
12191219
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `
1220-
# TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD` * `
1220+
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
1221+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
12211222
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SESSION_POSITION` * `
12221223
# TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `
12231224
# TARGETING_TYPE_YOUTUBE_VIDEO`
@@ -1265,7 +1266,8 @@ def get_advertiser_ad_group_targeting_type_assigned_targeting_option(advertiser_
12651266
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
12661267
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
12671268
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `
1268-
# TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD` * `
1269+
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
1270+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
12691271
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SESSION_POSITION` * `
12701272
# TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `
12711273
# TARGETING_TYPE_YOUTUBE_VIDEO`

0 commit comments

Comments
 (0)