Class: Google::Apis::DisplayvideoV1::DoubleVerifyBrandSafetyCategories

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

Overview

Settings for brand safety controls.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DoubleVerifyBrandSafetyCategories

Returns a new instance of DoubleVerifyBrandSafetyCategories.



3575
3576
3577
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3575

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

Instance Attribute Details

#avoid_unknown_brand_safety_categoryBoolean Also known as: avoid_unknown_brand_safety_category?

Unknown or unrateable. Corresponds to the JSON property avoidUnknownBrandSafetyCategory

Returns:

  • (Boolean)


3562
3563
3564
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3562

def avoid_unknown_brand_safety_category
  @avoid_unknown_brand_safety_category
end

#avoided_high_severity_categoriesArray<String>

Brand safety high severity avoidance categories. Corresponds to the JSON property avoidedHighSeverityCategories

Returns:

  • (Array<String>)


3568
3569
3570
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3568

def avoided_high_severity_categories
  @avoided_high_severity_categories
end

#avoided_medium_severity_categoriesArray<String>

Brand safety medium severity avoidance categories. Corresponds to the JSON property avoidedMediumSeverityCategories

Returns:

  • (Array<String>)


3573
3574
3575
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3573

def avoided_medium_severity_categories
  @avoided_medium_severity_categories
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3580
3581
3582
3583
3584
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3580

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