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.
5282 5283 5284 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#genders ⇒ Array<String>
Included gender demographic segments.
Corresponds to the JSON property genders
5274 5275 5276 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5274 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
5279 5280 5281 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5279 def include_undetermined @include_undetermined end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5287 5288 5289 5290 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5287 def update!(**args) @genders = args[:genders] if args.key?(:genders) @include_undetermined = args[:include_undetermined] if args.key?(:include_undetermined) end |