@@ -144,6 +144,17 @@ class Advertiser
144144 # @return [Fixnum]
145145 attr_accessor :advertiser_id
146146
147+ # Optional. Whether this advertiser contains line items that serve European
148+ # Union political ads. If this field is set to `
149+ # DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING`, then the following will happen: *
150+ # Any new line items created under this advertiser will be assigned `
151+ # DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not otherwise specified. * Any
152+ # existing line items under this advertiser that do not have a set value be
153+ # updated to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` within a day.
154+ # Corresponds to the JSON property `containsEuPoliticalAds`
155+ # @return [String]
156+ attr_accessor :contains_eu_political_ads
157+
147158 # Creatives related settings of an advertiser.
148159 # Corresponds to the JSON property `creativeConfig`
149160 # @return [Google::Apis::DisplayvideoV2::AdvertiserCreativeConfig]
@@ -220,6 +231,7 @@ def initialize(**args)
220231 def update!(**args)
221232 @ad_server_config = args[:ad_server_config] if args.key?(:ad_server_config)
222233 @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
234+ @contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
223235 @creative_config = args[:creative_config] if args.key?(:creative_config)
224236 @data_access_config = args[:data_access_config] if args.key?(:data_access_config)
225237 @display_name = args[:display_name] if args.key?(:display_name)
@@ -2265,8 +2277,7 @@ class BulkUpdateLineItemsRequest
22652277 attr_accessor :target_line_item
22662278
22672279 # Required. A field mask identifying which fields to update. Only the following
2268- # fields are currently supported: * entityStatus *
2269- # containsEuPoliticalAdvertising
2280+ # fields are currently supported: * entityStatus * containsEuPoliticalAds
22702281 # Corresponds to the JSON property `updateMask`
22712282 # @return [String]
22722283 attr_accessor :update_mask
@@ -4847,6 +4858,20 @@ def update!(**args)
48474858 class DuplicateLineItemRequest
48484859 include Google::Apis::Core::Hashable
48494860
4861+ # Whether this line item will serve European Union political ads. If
4862+ # contains_eu_political_ads has been set to `
4863+ # DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this
4864+ # field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not
4865+ # otherwise specified. This field can then be updated using the UI, API, or
4866+ # Structured Data Files. *Warning*: Starting **September 8, 2025**, this field
4867+ # must be set. If not, either the value `
4868+ # DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` will be assigned to the line item
4869+ # if the parent advertiser has declared that it does not serve EU political ads,
4870+ # or **the request will fail**.
4871+ # Corresponds to the JSON property `containsEuPoliticalAds`
4872+ # @return [String]
4873+ attr_accessor :contains_eu_political_ads
4874+
48504875 # The display name of the new line item. Must be UTF-8 encoded with a maximum
48514876 # size of 240 bytes.
48524877 # Corresponds to the JSON property `targetDisplayName`
@@ -4859,6 +4884,7 @@ def initialize(**args)
48594884
48604885 # Update properties of this object
48614886 def update!(**args)
4887+ @contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
48624888 @target_display_name = args[:target_display_name] if args.key?(:target_display_name)
48634889 end
48644890 end
@@ -5494,6 +5520,20 @@ def update!(**args)
54945520 class GenerateDefaultLineItemRequest
54955521 include Google::Apis::Core::Hashable
54965522
5523+ # Whether this line item will serve European Union political ads. If
5524+ # contains_eu_political_ads has been set to `
5525+ # DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this
5526+ # field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not
5527+ # otherwise specified. This field can then be updated using the UI, API, or
5528+ # Structured Data Files. *Warning*: Starting **September 8, 2025**, this field
5529+ # must be set. If not, either the value `
5530+ # DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` will be assigned to the line item
5531+ # if the parent advertiser has declared that it does not serve EU political ads,
5532+ # or **the request will fail**.
5533+ # Corresponds to the JSON property `containsEuPoliticalAds`
5534+ # @return [String]
5535+ attr_accessor :contains_eu_political_ads
5536+
54975537 # Required. The display name of the line item. Must be UTF-8 encoded with a
54985538 # maximum size of 240 bytes.
54995539 # Corresponds to the JSON property `displayName`
@@ -5521,6 +5561,7 @@ def initialize(**args)
55215561
55225562 # Update properties of this object
55235563 def update!(**args)
5564+ @contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
55245565 @display_name = args[:display_name] if args.key?(:display_name)
55255566 @insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id)
55265567 @line_item_type = args[:line_item_type] if args.key?(:line_item_type)
@@ -7033,6 +7074,20 @@ class LineItem
70337074 # @return [Fixnum]
70347075 attr_accessor :campaign_id
70357076
7077+ # Whether this line item will serve European Union political ads. If
7078+ # contains_eu_political_ads has been set to `
7079+ # DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this
7080+ # field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not
7081+ # otherwise specified. This field can then be updated using the UI, API, or
7082+ # Structured Data Files. *Warning*: Starting **September 8, 2025**, this field
7083+ # must be set when creating a new line item. If not, either the value `
7084+ # DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` will be assigned if the parent
7085+ # advertiser has declared that it does not serve EU political ads, or **the `
7086+ # advertisers.lineItems.create` request will fail**.
7087+ # Corresponds to the JSON property `containsEuPoliticalAds`
7088+ # @return [String]
7089+ attr_accessor :contains_eu_political_ads
7090+
70367091 # Settings that control how conversions are counted. All post-click conversions
70377092 # will be counted. A percentage value can be set for post-view conversions
70387093 # counting.
@@ -7167,6 +7222,7 @@ def update!(**args)
71677222 @bid_strategy = args[:bid_strategy] if args.key?(:bid_strategy)
71687223 @budget = args[:budget] if args.key?(:budget)
71697224 @campaign_id = args[:campaign_id] if args.key?(:campaign_id)
7225+ @contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
71707226 @conversion_counting = args[:conversion_counting] if args.key?(:conversion_counting)
71717227 @creative_ids = args[:creative_ids] if args.key?(:creative_ids)
71727228 @display_name = args[:display_name] if args.key?(:display_name)
@@ -11767,9 +11823,10 @@ class YoutubeAndPartnersBiddingStrategy
1176711823 # The value used by the bidding strategy. When the bidding strategy is assigned
1176811824 # at the line item level, this field is only applicable for the following
1176911825 # strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `
11770- # YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` When the bidding
11771- # strategy is assigned at the ad group level, this field is only applicable for
11772- # the following strategy types: * `
11826+ # YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` * `
11827+ # YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_SHARE_OF_VOICE` When the
11828+ # bidding strategy is assigned at the ad group level, this field is only
11829+ # applicable for the following strategy types: * `
1177311830 # YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM` * `
1177411831 # YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV` * `
1177511832 # YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `
0 commit comments