Class: Google::Apis::DisplayvideoV3::DoubleVerify

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

Details of DoubleVerify settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DoubleVerify

Returns a new instance of DoubleVerify.



5517
5518
5519
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5517

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

Instance Attribute Details

#app_star_ratingGoogle::Apis::DisplayvideoV3::DoubleVerifyAppStarRating

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



5482
5483
5484
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5482

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>)


5487
5488
5489
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5487

def avoided_age_ratings
  @avoided_age_ratings
end

#brand_safety_categoriesGoogle::Apis::DisplayvideoV3::DoubleVerifyBrandSafetyCategories

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



5492
5493
5494
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5492

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)


5500
5501
5502
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5500

def custom_segment_id
  @custom_segment_id
end

#display_viewabilityGoogle::Apis::DisplayvideoV3::DoubleVerifyDisplayViewability

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



5505
5506
5507
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5505

def display_viewability
  @display_viewability
end

#fraud_invalid_trafficGoogle::Apis::DisplayvideoV3::DoubleVerifyFraudInvalidTraffic

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



5510
5511
5512
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5510

def fraud_invalid_traffic
  @fraud_invalid_traffic
end

#video_viewabilityGoogle::Apis::DisplayvideoV3::DoubleVerifyVideoViewability

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



5515
5516
5517
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5515

def video_viewability
  @video_viewability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5522
5523
5524
5525
5526
5527
5528
5529
5530
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5522

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