Class: Google::Apis::DisplayvideoV1::HouseholdIncomeAssignedTargetingOptionDetails

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

Overview

Details for assigned household income targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_HOUSEHOLD_INCOME.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HouseholdIncomeAssignedTargetingOptionDetails

Returns a new instance of HouseholdIncomeAssignedTargetingOptionDetails.



4476
4477
4478
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4476

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

Instance Attribute Details

#household_incomeString

Output only. The household income of the audience. Corresponds to the JSON property householdIncome

Returns:

  • (String)


4468
4469
4470
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4468

def household_income
  @household_income
end

#targeting_option_idString

Required. The targeting_option_id of a TargetingOption of type TARGETING_TYPE_HOUSEHOLD_INCOME. Corresponds to the JSON property targetingOptionId

Returns:

  • (String)


4474
4475
4476
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4474

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4481
4482
4483
4484
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4481

def update!(**args)
  @household_income = args[:household_income] if args.key?(:household_income)
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
end