Class: Google::Apis::DisplayvideoV1::TargetingExpansionConfig

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

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetingExpansionConfig

Returns a new instance of TargetingExpansionConfig.

[View source]

7738
7739
7740
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7738

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 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. Corresponds to the JSON property excludeFirstPartyAudience

Returns:

  • (Boolean)

7730
7731
7732
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7730

def exclude_first_party_audience
  @exclude_first_party_audience
end

#targeting_expansion_levelString

Required. Magnitude of expansion for applicable targeting under this line item. Corresponds to the JSON property targetingExpansionLevel

Returns:

  • (String)

7736
7737
7738
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7736

def targeting_expansion_level
  @targeting_expansion_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

7743
7744
7745
7746
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7743

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