Class: Google::Apis::DisplayvideoV2::SensitiveCategoryAssignedTargetingOptionDetails

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

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.



10753
10754
10755
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10753

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)


10751
10752
10753
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10751

def excluded_sensitive_category
  @excluded_sensitive_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10758
10759
10760
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10758

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