Class: Google::Apis::DisplayvideoV2::GenderAssignedTargetingOptionDetails

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 gender targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_GENDER.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenderAssignedTargetingOptionDetails

Returns a new instance of GenderAssignedTargetingOptionDetails.



5886
5887
5888
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5886

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

Instance Attribute Details

#genderString

Required. The gender of the audience. Corresponds to the JSON property gender

Returns:

  • (String)


5884
5885
5886
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5884

def gender
  @gender
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5891
5892
5893
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5891

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