Class: Google::Apis::DisplayvideoV1::DoubleVerify

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

Details of DoubleVerify settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DoubleVerify

Returns a new instance of DoubleVerify.



3513
3514
3515
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3513

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

Instance Attribute Details

#app_star_ratingGoogle::Apis::DisplayvideoV1::DoubleVerifyAppStarRating

Details of DoubleVerify star ratings settings. Corresponds to the JSON property appStarRating



3478
3479
3480
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3478

def app_star_rating
  @app_star_rating
end

#avoided_age_ratingsArray<String>

Avoid bidding on apps with the age rating. Corresponds to the JSON property avoidedAgeRatings

Returns:

  • (Array<String>)


3483
3484
3485
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3483

def avoided_age_ratings
  @avoided_age_ratings
end

#brand_safety_categoriesGoogle::Apis::DisplayvideoV1::DoubleVerifyBrandSafetyCategories

Settings for brand safety controls. Corresponds to the JSON property brandSafetyCategories



3488
3489
3490
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3488

def brand_safety_categories
  @brand_safety_categories
end

#custom_segment_idFixnum

The custom segment ID provided by DoubleVerify. The ID must start with "51" and consist of eight digits. Custom segment ID cannot be specified along with any of the following fields: * brand_safety_categories * avoided_age_ratings * app_star_rating * fraud_invalid_traffic Corresponds to the JSON property customSegmentId

Returns:

  • (Fixnum)


3496
3497
3498
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3496

def custom_segment_id
  @custom_segment_id
end

#display_viewabilityGoogle::Apis::DisplayvideoV1::DoubleVerifyDisplayViewability

Details of DoubleVerify display viewability settings. Corresponds to the JSON property displayViewability



3501
3502
3503
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3501

def display_viewability
  @display_viewability
end

#fraud_invalid_trafficGoogle::Apis::DisplayvideoV1::DoubleVerifyFraudInvalidTraffic

DoubleVerify Fraud & Invalid Traffic settings. Corresponds to the JSON property fraudInvalidTraffic



3506
3507
3508
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3506

def fraud_invalid_traffic
  @fraud_invalid_traffic
end

#video_viewabilityGoogle::Apis::DisplayvideoV1::DoubleVerifyVideoViewability

Details of DoubleVerify video viewability settings. Corresponds to the JSON property videoViewability



3511
3512
3513
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3511

def video_viewability
  @video_viewability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3518
3519
3520
3521
3522
3523
3524
3525
3526
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3518

def update!(**args)
  @app_star_rating = args[:app_star_rating] if args.key?(:app_star_rating)
  @avoided_age_ratings = args[:avoided_age_ratings] if args.key?(:avoided_age_ratings)
  @brand_safety_categories = args[:brand_safety_categories] if args.key?(:brand_safety_categories)
  @custom_segment_id = args[:custom_segment_id] if args.key?(:custom_segment_id)
  @display_viewability = args[:display_viewability] if args.key?(:display_viewability)
  @fraud_invalid_traffic = args[:fraud_invalid_traffic] if args.key?(:fraud_invalid_traffic)
  @video_viewability = args[:video_viewability] if args.key?(:video_viewability)
end