Class: Google::Apis::DisplayvideoV3::SensitiveCategoryAssignedTargetingOptionDetails

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

Overview

Targeting details for sensitive category. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SensitiveCategoryAssignedTargetingOptionDetails

Returns a new instance of SensitiveCategoryAssignedTargetingOptionDetails.



11339
11340
11341
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11339

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

Instance Attribute Details

#excluded_sensitive_categoryString

Required. An enum for the DV360 Sensitive category content classified to be EXCLUDED. Corresponds to the JSON property excludedSensitiveCategory

Returns:

  • (String)


11337
11338
11339
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11337

def excluded_sensitive_category
  @excluded_sensitive_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11344
11345
11346
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11344

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