Class: Google::Apis::DisplayvideoV3::IntegralAdScience
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::IntegralAdScience
- 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 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.
-
#quality_sync_custom_segment_id ⇒ Array<Fixnum>
Optional.
-
#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.
8820 8821 8822 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8820 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 or 3000001 and 3999999, inclusive.
Corresponds to the JSON property customSegmentId
8746 8747 8748 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8746 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
8751 8752 8753 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8751 def display_viewability @display_viewability end |
#exclude_unrateable ⇒ Boolean Also known as: exclude_unrateable?
Brand Safety - Unrateable.
Corresponds to the JSON property excludeUnrateable
8756 8757 8758 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8756 def exclude_unrateable @exclude_unrateable end |
#excluded_ad_fraud_risk ⇒ String
Ad Fraud settings.
Corresponds to the JSON property excludedAdFraudRisk
8762 8763 8764 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8762 def excluded_ad_fraud_risk @excluded_ad_fraud_risk end |
#excluded_adult_risk ⇒ String
Brand Safety - Adult content.
Corresponds to the JSON property excludedAdultRisk
8767 8768 8769 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8767 def excluded_adult_risk @excluded_adult_risk end |
#excluded_alcohol_risk ⇒ String
Brand Safety - Alcohol.
Corresponds to the JSON property excludedAlcoholRisk
8772 8773 8774 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8772 def excluded_alcohol_risk @excluded_alcohol_risk end |
#excluded_drugs_risk ⇒ String
Brand Safety - Drugs.
Corresponds to the JSON property excludedDrugsRisk
8777 8778 8779 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8777 def excluded_drugs_risk @excluded_drugs_risk end |
#excluded_gambling_risk ⇒ String
Brand Safety - Gambling.
Corresponds to the JSON property excludedGamblingRisk
8782 8783 8784 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8782 def excluded_gambling_risk @excluded_gambling_risk end |
#excluded_hate_speech_risk ⇒ String
Brand Safety - Hate speech.
Corresponds to the JSON property excludedHateSpeechRisk
8787 8788 8789 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8787 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
8792 8793 8794 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8792 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
8797 8798 8799 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8797 def excluded_offensive_language_risk @excluded_offensive_language_risk end |
#excluded_violence_risk ⇒ String
Brand Safety - Violence.
Corresponds to the JSON property excludedViolenceRisk
8802 8803 8804 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8802 def excluded_violence_risk @excluded_violence_risk end |
#quality_sync_custom_segment_id ⇒ Array<Fixnum>
Optional. The quality sync custom segment ID provided by Integral Ad Science.
The ID must be between 3000000 and 4999999, inclusive.
Corresponds to the JSON property qualitySyncCustomSegmentId
8808 8809 8810 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8808 def quality_sync_custom_segment_id @quality_sync_custom_segment_id end |
#traq_score_option ⇒ String
True advertising quality (applicable to Display line items only).
Corresponds to the JSON property traqScoreOption
8813 8814 8815 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8813 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
8818 8819 8820 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8818 def video_viewability @video_viewability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8825 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) @quality_sync_custom_segment_id = args[:quality_sync_custom_segment_id] if args.key?(:quality_sync_custom_segment_id) @traq_score_option = args[:traq_score_option] if args.key?(:traq_score_option) @video_viewability = args[:video_viewability] if args.key?(:video_viewability) end |