Skip to content

Commit e8e61dc

Browse files
feat: Automated regeneration of displayvideo v3 client (googleapis#24086)
Auto-created at 2025-08-24 10:54:14 +0000 using the toys pull request generator.
1 parent eb919c9 commit e8e61dc

File tree

5 files changed

+100
-7
lines changed

5 files changed

+100
-7
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218840,6 +218840,7 @@
218840218840
"/displayvideo:v3/Advertiser/adServerConfig": ad_server_config
218841218841
"/displayvideo:v3/Advertiser/advertiserId": advertiser_id
218842218842
"/displayvideo:v3/Advertiser/billingConfig": billing_config
218843+
"/displayvideo:v3/Advertiser/containsEuPoliticalAds": contains_eu_political_ads
218843218844
"/displayvideo:v3/Advertiser/creativeConfig": creative_config
218844218845
"/displayvideo:v3/Advertiser/dataAccessConfig": data_access_config
218845218846
"/displayvideo:v3/Advertiser/displayName": display_name
@@ -218882,6 +218883,9 @@
218882218883
"/displayvideo:v3/AlgorithmRules/postImpressionSignalRuleset": post_impression_signal_ruleset
218883218884
"/displayvideo:v3/AlgorithmRulesComparisonValue": algorithm_rules_comparison_value
218884218885
"/displayvideo:v3/AlgorithmRulesComparisonValue/boolValue": bool_value
218886+
"/displayvideo:v3/AlgorithmRulesComparisonValue/contentDurationValue": content_duration_value
218887+
"/displayvideo:v3/AlgorithmRulesComparisonValue/contentGenreIdValue": content_genre_id_value
218888+
"/displayvideo:v3/AlgorithmRulesComparisonValue/contentStreamTypeValue": content_stream_type_value
218885218889
"/displayvideo:v3/AlgorithmRulesComparisonValue/creativeDimensionValue": creative_dimension_value
218886218890
"/displayvideo:v3/AlgorithmRulesComparisonValue/dayAndTimeValue": day_and_time_value
218887218891
"/displayvideo:v3/AlgorithmRulesComparisonValue/deviceTypeValue": device_type_value
@@ -219522,6 +219526,7 @@
219522219526
"/displayvideo:v3/DoubleVerifyVideoViewability/videoIab": video_iab
219523219527
"/displayvideo:v3/DoubleVerifyVideoViewability/videoViewableRate": video_viewable_rate
219524219528
"/displayvideo:v3/DuplicateLineItemRequest": duplicate_line_item_request
219529+
"/displayvideo:v3/DuplicateLineItemRequest/containsEuPoliticalAds": contains_eu_political_ads
219525219530
"/displayvideo:v3/DuplicateLineItemRequest/targetDisplayName": target_display_name
219526219531
"/displayvideo:v3/DuplicateLineItemResponse": duplicate_line_item_response
219527219532
"/displayvideo:v3/DuplicateLineItemResponse/duplicateLineItemId": duplicate_line_item_id
@@ -219636,6 +219641,7 @@
219636219641
"/displayvideo:v3/GenderTargetingOptionDetails": gender_targeting_option_details
219637219642
"/displayvideo:v3/GenderTargetingOptionDetails/gender": gender
219638219643
"/displayvideo:v3/GenerateDefaultLineItemRequest": generate_default_line_item_request
219644+
"/displayvideo:v3/GenerateDefaultLineItemRequest/containsEuPoliticalAds": contains_eu_political_ads
219639219645
"/displayvideo:v3/GenerateDefaultLineItemRequest/displayName": display_name
219640219646
"/displayvideo:v3/GenerateDefaultLineItemRequest/insertionOrderId": insertion_order_id
219641219647
"/displayvideo:v3/GenerateDefaultLineItemRequest/lineItemType": line_item_type
@@ -219856,6 +219862,7 @@
219856219862
"/displayvideo:v3/LineItem/bidStrategy": bid_strategy
219857219863
"/displayvideo:v3/LineItem/budget": budget
219858219864
"/displayvideo:v3/LineItem/campaignId": campaign_id
219865+
"/displayvideo:v3/LineItem/containsEuPoliticalAds": contains_eu_political_ads
219859219866
"/displayvideo:v3/LineItem/conversionCounting": conversion_counting
219860219867
"/displayvideo:v3/LineItem/creativeIds": creative_ids
219861219868
"/displayvideo:v3/LineItem/creativeIds/creative_id": creative_id

generated/google-apis-displayvideo_v3/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_v3
22

3+
### v0.33.0 (2025-08-24)
4+
5+
* Regenerated from discovery document revision 20250819
6+
37
### v0.32.0 (2025-08-17)
48

59
* Regenerated from discovery document revision 20250812

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

Lines changed: 80 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,17 @@ class Advertiser
446446
# @return [Google::Apis::DisplayvideoV3::AdvertiserBillingConfig]
447447
attr_accessor :billing_config
448448

449+
# Optional. Whether this advertiser contains line items that serve European
450+
# Union political ads. If this field is set to `
451+
# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING`, then the following will happen: *
452+
# Any new line items created under this advertiser will be assigned `
453+
# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not otherwise specified. * Any
454+
# existing line items under this advertiser that do not have a set value be
455+
# updated to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` within a day.
456+
# Corresponds to the JSON property `containsEuPoliticalAds`
457+
# @return [String]
458+
attr_accessor :contains_eu_political_ads
459+
449460
# Creatives related settings of an advertiser.
450461
# Corresponds to the JSON property `creativeConfig`
451462
# @return [Google::Apis::DisplayvideoV3::AdvertiserCreativeConfig]
@@ -523,6 +534,7 @@ def update!(**args)
523534
@ad_server_config = args[:ad_server_config] if args.key?(:ad_server_config)
524535
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
525536
@billing_config = args[:billing_config] if args.key?(:billing_config)
537+
@contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
526538
@creative_config = args[:creative_config] if args.key?(:creative_config)
527539
@data_access_config = args[:data_access_config] if args.key?(:data_access_config)
528540
@display_name = args[:display_name] if args.key?(:display_name)
@@ -851,6 +863,21 @@ class AlgorithmRulesComparisonValue
851863
attr_accessor :bool_value
852864
alias_method :bool_value?, :bool_value
853865

866+
# Video content duration value.
867+
# Corresponds to the JSON property `contentDurationValue`
868+
# @return [String]
869+
attr_accessor :content_duration_value
870+
871+
# Video genre id value.
872+
# Corresponds to the JSON property `contentGenreIdValue`
873+
# @return [Fixnum]
874+
attr_accessor :content_genre_id_value
875+
876+
# Video delivery type value.
877+
# Corresponds to the JSON property `contentStreamTypeValue`
878+
# @return [String]
879+
attr_accessor :content_stream_type_value
880+
854881
# Dimensions.
855882
# Corresponds to the JSON property `creativeDimensionValue`
856883
# @return [Google::Apis::DisplayvideoV3::Dimensions]
@@ -908,6 +935,9 @@ def initialize(**args)
908935
# Update properties of this object
909936
def update!(**args)
910937
@bool_value = args[:bool_value] if args.key?(:bool_value)
938+
@content_duration_value = args[:content_duration_value] if args.key?(:content_duration_value)
939+
@content_genre_id_value = args[:content_genre_id_value] if args.key?(:content_genre_id_value)
940+
@content_stream_type_value = args[:content_stream_type_value] if args.key?(:content_stream_type_value)
911941
@creative_dimension_value = args[:creative_dimension_value] if args.key?(:creative_dimension_value)
912942
@day_and_time_value = args[:day_and_time_value] if args.key?(:day_and_time_value)
913943
@device_type_value = args[:device_type_value] if args.key?(:device_type_value)
@@ -2951,8 +2981,7 @@ class BulkUpdateLineItemsRequest
29512981
attr_accessor :target_line_item
29522982

29532983
# Required. A field mask identifying which fields to update. Only the following
2954-
# fields are currently supported: * entityStatus *
2955-
# containsEuPoliticalAdvertising
2984+
# fields are currently supported: * entityStatus * containsEuPoliticalAds
29562985
# Corresponds to the JSON property `updateMask`
29572986
# @return [String]
29582987
attr_accessor :update_mask
@@ -5822,6 +5851,20 @@ def update!(**args)
58225851
class DuplicateLineItemRequest
58235852
include Google::Apis::Core::Hashable
58245853

5854+
# Whether this line item will serve European Union political ads. If
5855+
# contains_eu_political_ads has been set to `
5856+
# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this
5857+
# field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not
5858+
# otherwise specified. This field can then be updated using the UI, API, or
5859+
# Structured Data Files. *Warning*: Starting **September 8, 2025**, this field
5860+
# must be set. If not, either the value `
5861+
# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` will be assigned to the line item
5862+
# if the parent advertiser has declared that it does not serve EU political ads,
5863+
# or **the request will fail**.
5864+
# Corresponds to the JSON property `containsEuPoliticalAds`
5865+
# @return [String]
5866+
attr_accessor :contains_eu_political_ads
5867+
58255868
# The display name of the new line item. Must be UTF-8 encoded with a maximum
58265869
# size of 240 bytes.
58275870
# Corresponds to the JSON property `targetDisplayName`
@@ -5834,6 +5877,7 @@ def initialize(**args)
58345877

58355878
# Update properties of this object
58365879
def update!(**args)
5880+
@contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
58375881
@target_display_name = args[:target_display_name] if args.key?(:target_display_name)
58385882
end
58395883
end
@@ -6742,6 +6786,20 @@ def update!(**args)
67426786
class GenerateDefaultLineItemRequest
67436787
include Google::Apis::Core::Hashable
67446788

6789+
# Whether this line item will serve European Union political ads. If
6790+
# contains_eu_political_ads has been set to `
6791+
# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this
6792+
# field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not
6793+
# otherwise specified. This field can then be updated using the UI, API, or
6794+
# Structured Data Files. *Warning*: Starting **September 8, 2025**, this field
6795+
# must be set. If not, either the value `
6796+
# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` will be assigned to the line item
6797+
# if the parent advertiser has declared that it does not serve EU political ads,
6798+
# or **the request will fail**.
6799+
# Corresponds to the JSON property `containsEuPoliticalAds`
6800+
# @return [String]
6801+
attr_accessor :contains_eu_political_ads
6802+
67456803
# Required. The display name of the line item. Must be UTF-8 encoded with a
67466804
# maximum size of 240 bytes.
67476805
# Corresponds to the JSON property `displayName`
@@ -6769,6 +6827,7 @@ def initialize(**args)
67696827

67706828
# Update properties of this object
67716829
def update!(**args)
6830+
@contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
67726831
@display_name = args[:display_name] if args.key?(:display_name)
67736832
@insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id)
67746833
@line_item_type = args[:line_item_type] if args.key?(:line_item_type)
@@ -8357,6 +8416,20 @@ class LineItem
83578416
# @return [Fixnum]
83588417
attr_accessor :campaign_id
83598418

8419+
# Whether this line item will serve European Union political ads. If
8420+
# contains_eu_political_ads has been set to `
8421+
# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this
8422+
# field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not
8423+
# otherwise specified. This field can then be updated using the UI, API, or
8424+
# Structured Data Files. *Warning*: Starting **September 8, 2025**, this field
8425+
# must be set when creating a new line item. If not, either the value `
8426+
# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` will be assigned if the parent
8427+
# advertiser has declared that it does not serve EU political ads, or **the `
8428+
# advertisers.lineItems.create` request will fail**.
8429+
# Corresponds to the JSON property `containsEuPoliticalAds`
8430+
# @return [String]
8431+
attr_accessor :contains_eu_political_ads
8432+
83608433
# Settings that control how conversions are counted. All post-click conversions
83618434
# will be counted. A percentage value can be set for post-view conversions
83628435
# counting.
@@ -8491,6 +8564,7 @@ def update!(**args)
84918564
@bid_strategy = args[:bid_strategy] if args.key?(:bid_strategy)
84928565
@budget = args[:budget] if args.key?(:budget)
84938566
@campaign_id = args[:campaign_id] if args.key?(:campaign_id)
8567+
@contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
84948568
@conversion_counting = args[:conversion_counting] if args.key?(:conversion_counting)
84958569
@creative_ids = args[:creative_ids] if args.key?(:creative_ids)
84968570
@display_name = args[:display_name] if args.key?(:display_name)
@@ -12965,9 +13039,10 @@ class YoutubeAndPartnersBiddingStrategy
1296513039
# The value used by the bidding strategy. When the bidding strategy is assigned
1296613040
# at the line item level, this field is only applicable for the following
1296713041
# strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `
12968-
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` When the bidding
12969-
# strategy is assigned at the ad group level, this field is only applicable for
12970-
# the following strategy types: * `
13042+
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` * `
13043+
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_SHARE_OF_VOICE` When the
13044+
# bidding strategy is assigned at the ad group level, this field is only
13045+
# applicable for the following strategy types: * `
1297113046
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM` * `
1297213047
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV` * `
1297313048
# YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `

generated/google-apis-displayvideo_v3/lib/google/apis/displayvideo_v3/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 DisplayvideoV3
1818
# Version of the google-apis-displayvideo_v3 gem
19-
GEM_VERSION = "0.32.0"
19+
GEM_VERSION = "0.33.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 = "20250812"
25+
REVISION = "20250819"
2626
end
2727
end
2828
end

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2175,6 +2175,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
21752175
property :advertiser_id, :numeric_string => true, as: 'advertiserId'
21762176
property :billing_config, as: 'billingConfig', class: Google::Apis::DisplayvideoV3::AdvertiserBillingConfig, decorator: Google::Apis::DisplayvideoV3::AdvertiserBillingConfig::Representation
21772177

2178+
property :contains_eu_political_ads, as: 'containsEuPoliticalAds'
21782179
property :creative_config, as: 'creativeConfig', class: Google::Apis::DisplayvideoV3::AdvertiserCreativeConfig, decorator: Google::Apis::DisplayvideoV3::AdvertiserCreativeConfig::Representation
21792180

21802181
property :data_access_config, as: 'dataAccessConfig', class: Google::Apis::DisplayvideoV3::AdvertiserDataAccessConfig, decorator: Google::Apis::DisplayvideoV3::AdvertiserDataAccessConfig::Representation
@@ -2283,6 +2284,9 @@ class AlgorithmRulesComparisonValue
22832284
# @private
22842285
class Representation < Google::Apis::Core::JsonRepresentation
22852286
property :bool_value, as: 'boolValue'
2287+
property :content_duration_value, as: 'contentDurationValue'
2288+
property :content_genre_id_value, :numeric_string => true, as: 'contentGenreIdValue'
2289+
property :content_stream_type_value, as: 'contentStreamTypeValue'
22862290
property :creative_dimension_value, as: 'creativeDimensionValue', class: Google::Apis::DisplayvideoV3::Dimensions, decorator: Google::Apis::DisplayvideoV3::Dimensions::Representation
22872291

22882292
property :day_and_time_value, as: 'dayAndTimeValue', class: Google::Apis::DisplayvideoV3::DayAndTime, decorator: Google::Apis::DisplayvideoV3::DayAndTime::Representation
@@ -3621,6 +3625,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
36213625
class DuplicateLineItemRequest
36223626
# @private
36233627
class Representation < Google::Apis::Core::JsonRepresentation
3628+
property :contains_eu_political_ads, as: 'containsEuPoliticalAds'
36243629
property :target_display_name, as: 'targetDisplayName'
36253630
end
36263631
end
@@ -3867,6 +3872,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
38673872
class GenerateDefaultLineItemRequest
38683873
# @private
38693874
class Representation < Google::Apis::Core::JsonRepresentation
3875+
property :contains_eu_political_ads, as: 'containsEuPoliticalAds'
38703876
property :display_name, as: 'displayName'
38713877
property :insertion_order_id, :numeric_string => true, as: 'insertionOrderId'
38723878
property :line_item_type, as: 'lineItemType'
@@ -4273,6 +4279,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
42734279
property :budget, as: 'budget', class: Google::Apis::DisplayvideoV3::LineItemBudget, decorator: Google::Apis::DisplayvideoV3::LineItemBudget::Representation
42744280

42754281
property :campaign_id, :numeric_string => true, as: 'campaignId'
4282+
property :contains_eu_political_ads, as: 'containsEuPoliticalAds'
42764283
property :conversion_counting, as: 'conversionCounting', class: Google::Apis::DisplayvideoV3::ConversionCountingConfig, decorator: Google::Apis::DisplayvideoV3::ConversionCountingConfig::Representation
42774284

42784285
collection :creative_ids, as: 'creativeIds'

0 commit comments

Comments
 (0)