Class: Google::Apis::DisplayvideoV3::TargetingExpansionConfig

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

Overview

Settings that control the optimized targeting settings of the line item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetingExpansionConfig

Returns a new instance of TargetingExpansionConfig.



11589
11590
11591
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11589

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

Instance Attribute Details

#audience_expansion_levelString

Output only. Magnitude of expansion for eligible first-party user lists under this ad group. This field only applies to YouTube and Partners line item and ad group resources. Corresponds to the JSON property audienceExpansionLevel

Returns:

  • (String)


11571
11572
11573
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11571

def audience_expansion_level
  @audience_expansion_level
end

#audience_expansion_seed_list_excludedBoolean Also known as: audience_expansion_seed_list_excluded?

Output only. Whether to exclude seed list for audience expansion. This field only applies to YouTube and Partners line item and ad group resources. Corresponds to the JSON property audienceExpansionSeedListExcluded

Returns:

  • (Boolean)


11577
11578
11579
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11577

def audience_expansion_seed_list_excluded
  @audience_expansion_seed_list_excluded
end

#enable_optimized_targetingBoolean Also known as: enable_optimized_targeting?

Required. Whether to enable Optimized Targeting for the line item. Warning: Starting on September 30, 2024, optimized targeting will no longer be compatible with a subset of bid strategies. Read more about this announced change. Corresponds to the JSON property enableOptimizedTargeting

Returns:

  • (Boolean)


11586
11587
11588
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11586

def enable_optimized_targeting
  @enable_optimized_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11594
11595
11596
11597
11598
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11594

def update!(**args)
  @audience_expansion_level = args[:audience_expansion_level] if args.key?(:audience_expansion_level)
  @audience_expansion_seed_list_excluded = args[:audience_expansion_seed_list_excluded] if args.key?(:audience_expansion_seed_list_excluded)
  @enable_optimized_targeting = args[:enable_optimized_targeting] if args.key?(:enable_optimized_targeting)
end