class Google::Apis::DisplayvideoV1::AgeRangeAssignedTargetingOptionDetails

Represents a targetable age range. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AGE_RANGE` .

Attributes

age_range[RW]

Output only. 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. Corresponds to the JSON property `ageRange` @return [String]

targeting_option_id[RW]

Required. The targeting_option_id of a TargetingOption of type ` TARGETING_TYPE_AGE_RANGE`. Corresponds to the JSON property `targetingOptionId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 427
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 432
def update!(**args)
  @age_range = args[:age_range] if args.key?(:age_range)
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
end