Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHouseholdIncomeDimension

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Dimension specifying users by their household income.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHouseholdIncomeDimension

Returns a new instance of GoogleAdsSearchads360V23CommonHouseholdIncomeDimension.



5601
5602
5603
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5601

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

Instance Attribute Details

#include_undeterminedBoolean Also known as: include_undetermined?

Include users whose household income is not determined. Corresponds to the JSON property includeUndetermined

Returns:

  • (Boolean)


5593
5594
5595
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5593

def include_undetermined
  @include_undetermined
end

#income_rangesArray<String>

Included household income demographic segments. Corresponds to the JSON property incomeRanges

Returns:

  • (Array<String>)


5599
5600
5601
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5599

def income_ranges
  @income_ranges
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5606
5607
5608
5609
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5606

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