Class: Google::Apis::DisplayvideoV2::AgeRangeAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::AgeRangeAssignedTargetingOptionDetails
- 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
Represents a targetable age range. This will be populated in the details field
of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_AGE_RANGE
.
Instance Attribute Summary collapse
-
#age_range ⇒ String
The age range of an audience.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AgeRangeAssignedTargetingOptionDetails
constructor
A new instance of AgeRangeAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AgeRangeAssignedTargetingOptionDetails
Returns a new instance of AgeRangeAssignedTargetingOptionDetails.
473 474 475 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 473 def initialize(**args) update!(**args) end |
Instance Attribute Details
#age_range ⇒ String
The age range of an audience. We only support targeting a continuous age range
of an audience. Thus, the age range represented in this field can be 1)
targeted solely, or, 2) part of a larger continuous age range. The reach of a
continuous age range targeting can be expanded by also targeting an audience
of an unknown age. Output only in v1. Required in v2.
Corresponds to the JSON property ageRange
471 472 473 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 471 def age_range @age_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
478 479 480 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 478 def update!(**args) @age_range = args[:age_range] if args.key?(:age_range) end |