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.



11467
11468
11469
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11467

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)


11465
11466
11467
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11465

def excluded_sensitive_category
  @excluded_sensitive_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11472
11473
11474
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11472

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