Skip to content

Commit fa13ccc

Browse files
feat: Automated regeneration of displayvideo v2 client (#23584)
Auto-created at 2025-06-29 10:41:02 +0000 using the toys pull request generator.
1 parent 1a8a038 commit fa13ccc

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

generated/google-apis-displayvideo_v2/CHANGELOG.md

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

3+
### v0.48.0 (2025-06-29)
4+
5+
* Regenerated from discovery document revision 20250625
6+
37
### v0.47.0 (2025-06-08)
48

59
* Regenerated from discovery document revision 20250529

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,7 @@ class BulkEditAdvertiserAssignedTargetingOptionsRequest
16361636
# CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `
16371637
# TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `
16381638
# TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `
1639-
# TARGETING_TYPE_KEYWORD`
1639+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`
16401640
# Corresponds to the JSON property `createRequests`
16411641
# @return [Array<Google::Apis::DisplayvideoV2::CreateAssignedTargetingOptionsRequest>]
16421642
attr_accessor :create_requests
@@ -1645,7 +1645,7 @@ class BulkEditAdvertiserAssignedTargetingOptionsRequest
16451645
# DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `
16461646
# TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `
16471647
# TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `
1648-
# TARGETING_TYPE_KEYWORD`
1648+
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`
16491649
# Corresponds to the JSON property `deleteRequests`
16501650
# @return [Array<Google::Apis::DisplayvideoV2::DeleteAssignedTargetingOptionsRequest>]
16511651
attr_accessor :delete_requests
@@ -11697,20 +11697,17 @@ class YoutubeAndPartnersSettings
1169711697
# @return [Google::Apis::DisplayvideoV2::YoutubeAndPartnersBiddingStrategy]
1169811698
attr_accessor :bidding_strategy
1169911699

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)
11700+
# Output only. The kind of content on which the YouTube and Partners ads will be
11701+
# shown. *Warning*: This field will be removed in the near future. Use
11702+
# effective_content_category instead.
1170411703
# Corresponds to the JSON property `contentCategory`
1170511704
# @return [String]
1170611705
attr_accessor :content_category
1170711706

1170811707
# Output only. The content category which takes effect when serving the line
1170911708
# 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)
11709+
# stricter one will take effect when serving the line item. New line items will
11710+
# only inherit the advertiser level setting.
1171411711
# Corresponds to the JSON property `effectiveContentCategory`
1171511712
# @return [String]
1171611713
attr_accessor :effective_content_category

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

Lines changed: 2 additions & 2 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.47.0"
19+
GEM_VERSION = "0.48.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,8 @@ def delete_advertiser_line_item_targeting_type_assigned_targeting_option(adverti
21722172
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
21732173
# `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
21742174
# 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 `
21762177
# LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `
21772178
# TARGETING_TYPE_YOUTUBE_VIDEO` (only for `
21782179
# LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)
@@ -2240,7 +2241,8 @@ def get_advertiser_line_item_targeting_type_assigned_targeting_option(advertiser
22402241
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
22412242
# `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
22422243
# 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 `
22442246
# LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `
22452247
# TARGETING_TYPE_YOUTUBE_VIDEO` (only for `
22462248
# LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)
@@ -3317,7 +3319,8 @@ def replace_negative_keywords(advertiser_id, negative_keyword_list_id, replace_n
33173319
# Required. Identifies the type of this assigned targeting option. Supported
33183320
# targeting types: * `TARGETING_TYPE_CHANNEL` * `
33193321
# 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`
33213324
# @param [Google::Apis::DisplayvideoV2::AssignedTargetingOption] assigned_targeting_option_object
33223325
# @param [String] fields
33233326
# Selector specifying which fields to include in a partial response.
@@ -3356,7 +3359,8 @@ def create_advertiser_targeting_type_assigned_targeting_option(advertiser_id, ta
33563359
# Required. Identifies the type of this assigned targeting option. Supported
33573360
# targeting types: * `TARGETING_TYPE_CHANNEL` * `
33583361
# 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`
33603364
# @param [String] assigned_targeting_option_id
33613365
# Required. The ID of the assigned targeting option to delete.
33623366
# @param [String] fields

0 commit comments

Comments
 (0)