Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonParentalStatusDimension

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 parental status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonParentalStatusDimension

Returns a new instance of GoogleAdsSearchads360V23CommonParentalStatusDimension.



8842
8843
8844
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8842

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

Instance Attribute Details

#include_undeterminedBoolean Also known as: include_undetermined?

Include users whose parental status is undetermined. Corresponds to the JSON property includeUndetermined

Returns:

  • (Boolean)


8834
8835
8836
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8834

def include_undetermined
  @include_undetermined
end

#parental_statusesArray<String>

Included parental status demographic segments. Corresponds to the JSON property parentalStatuses

Returns:

  • (Array<String>)


8840
8841
8842
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8840

def parental_statuses
  @parental_statuses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8847
8848
8849
8850
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8847

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