Class: Google::Apis::DisplayvideoV2::HouseholdIncomeAssignedTargetingOptionDetails

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

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.



6306
6307
6308
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6306

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

Instance Attribute Details

#household_incomeString

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

Returns:

  • (String)


6304
6305
6306
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6304

def household_income
  @household_income
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6311
6312
6313
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6311

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