Class: Google::Apis::DisplayvideoV2::DoubleVerify

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

Details of DoubleVerify settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DoubleVerify

Returns a new instance of DoubleVerify.



4837
4838
4839
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4837

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

Instance Attribute Details

#app_star_ratingGoogle::Apis::DisplayvideoV2::DoubleVerifyAppStarRating

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



4802
4803
4804
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4802

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


4807
4808
4809
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4807

def avoided_age_ratings
  @avoided_age_ratings
end

#brand_safety_categoriesGoogle::Apis::DisplayvideoV2::DoubleVerifyBrandSafetyCategories

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



4812
4813
4814
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4812

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)


4820
4821
4822
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4820

def custom_segment_id
  @custom_segment_id
end

#display_viewabilityGoogle::Apis::DisplayvideoV2::DoubleVerifyDisplayViewability

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



4825
4826
4827
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4825

def display_viewability
  @display_viewability
end

#fraud_invalid_trafficGoogle::Apis::DisplayvideoV2::DoubleVerifyFraudInvalidTraffic

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



4830
4831
4832
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4830

def fraud_invalid_traffic
  @fraud_invalid_traffic
end

#video_viewabilityGoogle::Apis::DisplayvideoV2::DoubleVerifyVideoViewability

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



4835
4836
4837
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4835

def video_viewability
  @video_viewability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4842
4843
4844
4845
4846
4847
4848
4849
4850
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4842

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