Class: Google::Apis::DisplayvideoV2::HouseholdIncomeTargetingOptionDetails

Inherits:
Object
  • Object
show all
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 household income. This will be populated in the household_income_details field of a TargetingOption when targeting_type is TARGETING_TYPE_HOUSEHOLD_INCOME.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HouseholdIncomeTargetingOptionDetails

Returns a new instance of HouseholdIncomeTargetingOptionDetails.



6327
6328
6329
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6327

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

Instance Attribute Details

#household_incomeString

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

Returns:

  • (String)


6325
6326
6327
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6325

def household_income
  @household_income
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6332
6333
6334
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6332

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