Class: Google::Apis::DisplayvideoV1::IntegralAdScience
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::IntegralAdScience
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Overview
Details of Integral Ad Science settings.
Instance Attribute Summary collapse
-
#custom_segment_id ⇒ Array<Fixnum>
The custom segment ID provided by Integral Ad Science.
-
#display_viewability ⇒ String
Display Viewability section (applicable to display line items only).
-
#exclude_unrateable ⇒ Boolean
(also: #exclude_unrateable?)
Brand Safety - Unrateable.
-
#excluded_ad_fraud_risk ⇒ String
Ad Fraud settings.
-
#excluded_adult_risk ⇒ String
Brand Safety - Adult content.
-
#excluded_alcohol_risk ⇒ String
Brand Safety - Alcohol.
-
#excluded_drugs_risk ⇒ String
Brand Safety - Drugs.
-
#excluded_gambling_risk ⇒ String
Brand Safety - Gambling.
-
#excluded_hate_speech_risk ⇒ String
Brand Safety - Hate speech.
-
#excluded_illegal_downloads_risk ⇒ String
Brand Safety - Illegal downloads.
-
#excluded_offensive_language_risk ⇒ String
Brand Safety - Offensive language.
-
#excluded_violence_risk ⇒ String
Brand Safety - Violence.
-
#traq_score_option ⇒ String
True advertising quality (applicable to Display line items only).
-
#video_viewability ⇒ String
Video Viewability Section (applicable to video line items only).
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntegralAdScience
constructor
A new instance of IntegralAdScience.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IntegralAdScience
Returns a new instance of IntegralAdScience.
6127 6128 6129 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_segment_id ⇒ Array<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
6059 6060 6061 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6059 def custom_segment_id @custom_segment_id end |
#display_viewability ⇒ String
Display Viewability section (applicable to display line items only).
Corresponds to the JSON property displayViewability
6064 6065 6066 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6064 def display_viewability @display_viewability end |
#exclude_unrateable ⇒ Boolean Also known as: exclude_unrateable?
Brand Safety - Unrateable.
Corresponds to the JSON property excludeUnrateable
6069 6070 6071 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6069 def exclude_unrateable @exclude_unrateable end |
#excluded_ad_fraud_risk ⇒ String
Ad Fraud settings.
Corresponds to the JSON property excludedAdFraudRisk
6075 6076 6077 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6075 def excluded_ad_fraud_risk @excluded_ad_fraud_risk end |
#excluded_adult_risk ⇒ String
Brand Safety - Adult content.
Corresponds to the JSON property excludedAdultRisk
6080 6081 6082 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6080 def excluded_adult_risk @excluded_adult_risk end |
#excluded_alcohol_risk ⇒ String
Brand Safety - Alcohol.
Corresponds to the JSON property excludedAlcoholRisk
6085 6086 6087 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6085 def excluded_alcohol_risk @excluded_alcohol_risk end |
#excluded_drugs_risk ⇒ String
Brand Safety - Drugs.
Corresponds to the JSON property excludedDrugsRisk
6090 6091 6092 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6090 def excluded_drugs_risk @excluded_drugs_risk end |
#excluded_gambling_risk ⇒ String
Brand Safety - Gambling.
Corresponds to the JSON property excludedGamblingRisk
6095 6096 6097 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6095 def excluded_gambling_risk @excluded_gambling_risk end |
#excluded_hate_speech_risk ⇒ String
Brand Safety - Hate speech.
Corresponds to the JSON property excludedHateSpeechRisk
6100 6101 6102 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6100 def excluded_hate_speech_risk @excluded_hate_speech_risk end |
#excluded_illegal_downloads_risk ⇒ String
Brand Safety - Illegal downloads.
Corresponds to the JSON property excludedIllegalDownloadsRisk
6105 6106 6107 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6105 def excluded_illegal_downloads_risk @excluded_illegal_downloads_risk end |
#excluded_offensive_language_risk ⇒ String
Brand Safety - Offensive language.
Corresponds to the JSON property excludedOffensiveLanguageRisk
6110 6111 6112 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6110 def excluded_offensive_language_risk @excluded_offensive_language_risk end |
#excluded_violence_risk ⇒ String
Brand Safety - Violence.
Corresponds to the JSON property excludedViolenceRisk
6115 6116 6117 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6115 def excluded_violence_risk @excluded_violence_risk end |
#traq_score_option ⇒ String
True advertising quality (applicable to Display line items only).
Corresponds to the JSON property traqScoreOption
6120 6121 6122 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6120 def traq_score_option @traq_score_option end |
#video_viewability ⇒ String
Video Viewability Section (applicable to video line items only).
Corresponds to the JSON property videoViewability
6125 6126 6127 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6125 def video_viewability @video_viewability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6132 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 |