Class: Google::Apis::DisplayvideoV1::IntegralAdScience

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 Integral Ad Science settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IntegralAdScience

Returns a new instance of IntegralAdScience.



4824
4825
4826
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4824

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

Instance Attribute Details

#custom_segment_idArray<Fixnum>

The custom segment ID provided by Integral Ad Science. The ID must be between 1000001 and 1999999, inclusive. Corresponds to the JSON property customSegmentId

Returns:

  • (Array<Fixnum>)


4756
4757
4758
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4756

def custom_segment_id
  @custom_segment_id
end

#display_viewabilityString

Display Viewability section (applicable to display line items only). Corresponds to the JSON property displayViewability

Returns:

  • (String)


4761
4762
4763
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4761

def display_viewability
  @display_viewability
end

#exclude_unrateableBoolean Also known as: exclude_unrateable?

Brand Safety - Unrateable. Corresponds to the JSON property excludeUnrateable

Returns:

  • (Boolean)


4766
4767
4768
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4766

def exclude_unrateable
  @exclude_unrateable
end

#excluded_ad_fraud_riskString

Ad Fraud settings. Corresponds to the JSON property excludedAdFraudRisk

Returns:

  • (String)


4772
4773
4774
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4772

def excluded_ad_fraud_risk
  @excluded_ad_fraud_risk
end

#excluded_adult_riskString

Brand Safety - Adult content. Corresponds to the JSON property excludedAdultRisk

Returns:

  • (String)


4777
4778
4779
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4777

def excluded_adult_risk
  @excluded_adult_risk
end

#excluded_alcohol_riskString

Brand Safety - Alcohol. Corresponds to the JSON property excludedAlcoholRisk

Returns:

  • (String)


4782
4783
4784
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4782

def excluded_alcohol_risk
  @excluded_alcohol_risk
end

#excluded_drugs_riskString

Brand Safety - Drugs. Corresponds to the JSON property excludedDrugsRisk

Returns:

  • (String)


4787
4788
4789
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4787

def excluded_drugs_risk
  @excluded_drugs_risk
end

#excluded_gambling_riskString

Brand Safety - Gambling. Corresponds to the JSON property excludedGamblingRisk

Returns:

  • (String)


4792
4793
4794
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4792

def excluded_gambling_risk
  @excluded_gambling_risk
end

#excluded_hate_speech_riskString

Brand Safety - Hate speech. Corresponds to the JSON property excludedHateSpeechRisk

Returns:

  • (String)


4797
4798
4799
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4797

def excluded_hate_speech_risk
  @excluded_hate_speech_risk
end

#excluded_illegal_downloads_riskString

Brand Safety - Illegal downloads. Corresponds to the JSON property excludedIllegalDownloadsRisk

Returns:

  • (String)


4802
4803
4804
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4802

def excluded_illegal_downloads_risk
  @excluded_illegal_downloads_risk
end

#excluded_offensive_language_riskString

Brand Safety - Offensive language. Corresponds to the JSON property excludedOffensiveLanguageRisk

Returns:

  • (String)


4807
4808
4809
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4807

def excluded_offensive_language_risk
  @excluded_offensive_language_risk
end

#excluded_violence_riskString

Brand Safety - Violence. Corresponds to the JSON property excludedViolenceRisk

Returns:

  • (String)


4812
4813
4814
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4812

def excluded_violence_risk
  @excluded_violence_risk
end

#traq_score_optionString

True advertising quality (applicable to Display line items only). Corresponds to the JSON property traqScoreOption

Returns:

  • (String)


4817
4818
4819
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4817

def traq_score_option
  @traq_score_option
end

#video_viewabilityString

Video Viewability Section (applicable to video line items only). Corresponds to the JSON property videoViewability

Returns:

  • (String)


4822
4823
4824
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4822

def video_viewability
  @video_viewability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4829

def update!(**args)
  @custom_segment_id = args[:custom_segment_id] if args.key?(:custom_segment_id)
  @display_viewability = args[:display_viewability] if args.key?(:display_viewability)
  @exclude_unrateable = args[:exclude_unrateable] if args.key?(:exclude_unrateable)
  @excluded_ad_fraud_risk = args[:excluded_ad_fraud_risk] if args.key?(:excluded_ad_fraud_risk)
  @excluded_adult_risk = args[:excluded_adult_risk] if args.key?(:excluded_adult_risk)
  @excluded_alcohol_risk = args[:excluded_alcohol_risk] if args.key?(:excluded_alcohol_risk)
  @excluded_drugs_risk = args[:excluded_drugs_risk] if args.key?(:excluded_drugs_risk)
  @excluded_gambling_risk = args[:excluded_gambling_risk] if args.key?(:excluded_gambling_risk)
  @excluded_hate_speech_risk = args[:excluded_hate_speech_risk] if args.key?(:excluded_hate_speech_risk)
  @excluded_illegal_downloads_risk = args[:excluded_illegal_downloads_risk] if args.key?(:excluded_illegal_downloads_risk)
  @excluded_offensive_language_risk = args[:excluded_offensive_language_risk] if args.key?(:excluded_offensive_language_risk)
  @excluded_violence_risk = args[:excluded_violence_risk] if args.key?(:excluded_violence_risk)
  @traq_score_option = args[:traq_score_option] if args.key?(:traq_score_option)
  @video_viewability = args[:video_viewability] if args.key?(:video_viewability)
end