Class: Google::Apis::DisplayvideoV1::TargetingExpansionConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::TargetingExpansionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/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.
Instance Attribute Summary collapse
-
#exclude_first_party_audience ⇒ Boolean
(also: #exclude_first_party_audience?)
Required.
-
#targeting_expansion_level ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetingExpansionConfig
constructor
A new instance of TargetingExpansionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetingExpansionConfig
Returns a new instance of TargetingExpansionConfig.
8940 8941 8942 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8940 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude_first_party_audience ⇒ Boolean 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
8932 8933 8934 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8932 def exclude_first_party_audience @exclude_first_party_audience end |
#targeting_expansion_level ⇒ String
Required. Magnitude of expansion for applicable targeting under this line item.
Corresponds to the JSON property targetingExpansionLevel
8938 8939 8940 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8938 def targeting_expansion_level @targeting_expansion_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8945 8946 8947 8948 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8945 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 |