Class: Google::Apis::DisplayvideoV2::TargetingExpansionConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb

Overview

Settings that control the targeting expansion of the line item. Targeting expansion allows the line item to reach a larger audience based on the original audience list and the targeting expansion level. Beginning March 25, 2023, these settings may represent the optimized targeting feature in place of targeting expansion. This feature will be rolled out to all partners by early May 2023.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetingExpansionConfig

Returns a new instance of TargetingExpansionConfig.



10807
10808
10809
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10807

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#exclude_first_party_audienceBoolean Also known as: exclude_first_party_audience?

Required. Whether to exclude first-party audiences from use in targeting expansion or optimized targeting. Similar audiences of the excluded first- party lists will not be excluded. Only applicable when a first-party audience is positively targeted (directly or included in a combined audience), otherwise this selection will be ignored. Beginning March 25, 2023, this field may be deprecated with the replacement of targeting expansion with optimized targeting. Upon deprecation, this field will be set to false. If this field is set to true when deprecated, all positive first-party audience targeting assigned to this line item will be replaced with negative targeting of the same first-party audiences to ensure the continued exclusion of those audiences. This field will be deprecated for all partners by early May 2023. Corresponds to the JSON property excludeFirstPartyAudience

Returns:

  • (Boolean)


10789
10790
10791
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10789

def exclude_first_party_audience
  @exclude_first_party_audience
end

#targeting_expansion_levelString

Required. Magnitude of expansion for applicable targeting under this line item. Beginning March 25, 2023, the behavior of this field may change in the following ways with the replacement of targeting expansion with optimized targeting: * This field will represent the optimized targeting checkbox, with a NO_EXPANSION value representing optimized targeting turned off and a LEAST_EXPANSION value representing optimized targeting turned on. * NO_EXPANSION will be the default value for the field and will be automatically assigned if you do not set the field. * If you set the field to any value other than NO_EXPANSION, it will automatically be set to LEAST_EXPANSION. This behavior will be rolled out to all partners by early May 2023. Corresponds to the JSON property targetingExpansionLevel

Returns:

  • (String)


10805
10806
10807
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10805

def targeting_expansion_level
  @targeting_expansion_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10812
10813
10814
10815
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10812

def update!(**args)
  @exclude_first_party_audience = args[:exclude_first_party_audience] if args.key?(:exclude_first_party_audience)
  @targeting_expansion_level = args[:targeting_expansion_level] if args.key?(:targeting_expansion_level)
end