Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonGenderDimension
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonGenderDimension
- 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 gender.
Instance Attribute Summary collapse
-
#genders ⇒ Array<String>
Included gender demographic segments.
-
#include_undetermined ⇒ Boolean
(also: #include_undetermined?)
Include users whose gender is not determined.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonGenderDimension
constructor
A new instance of GoogleAdsSearchads360V23CommonGenderDimension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonGenderDimension
Returns a new instance of GoogleAdsSearchads360V23CommonGenderDimension.
5222 5223 5224 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5222 def initialize(**args) update!(**args) end |
Instance Attribute Details
#genders ⇒ Array<String>
Included gender demographic segments.
Corresponds to the JSON property genders
5214 5215 5216 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5214 def genders @genders end |
#include_undetermined ⇒ Boolean Also known as: include_undetermined?
Include users whose gender is not determined.
Corresponds to the JSON property includeUndetermined
5219 5220 5221 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5219 def include_undetermined @include_undetermined end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5227 5228 5229 5230 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5227 def update!(**args) @genders = args[:genders] if args.key?(:genders) @include_undetermined = args[:include_undetermined] if args.key?(:include_undetermined) end |