Class: Google::Apis::DisplayvideoV3::IntegralAdScience

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IntegralAdScience

Returns a new instance of IntegralAdScience.



8186
8187
8188
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8186

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 or 3000001 and 3999999, inclusive. Corresponds to the JSON property customSegmentId

Returns:

  • (Array<Fixnum>)


8112
8113
8114
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8112

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)


8117
8118
8119
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8117

def display_viewability
  @display_viewability
end

#exclude_unrateableBoolean Also known as: exclude_unrateable?

Brand Safety - Unrateable. Corresponds to the JSON property excludeUnrateable

Returns:

  • (Boolean)


8122
8123
8124
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8122

def exclude_unrateable
  @exclude_unrateable
end

#excluded_ad_fraud_riskString

Ad Fraud settings. Corresponds to the JSON property excludedAdFraudRisk

Returns:

  • (String)


8128
8129
8130
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8128

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)


8133
8134
8135
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8133

def excluded_adult_risk
  @excluded_adult_risk
end

#excluded_alcohol_riskString

Brand Safety - Alcohol. Corresponds to the JSON property excludedAlcoholRisk

Returns:

  • (String)


8138
8139
8140
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8138

def excluded_alcohol_risk
  @excluded_alcohol_risk
end

#excluded_drugs_riskString

Brand Safety - Drugs. Corresponds to the JSON property excludedDrugsRisk

Returns:

  • (String)


8143
8144
8145
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8143

def excluded_drugs_risk
  @excluded_drugs_risk
end

#excluded_gambling_riskString

Brand Safety - Gambling. Corresponds to the JSON property excludedGamblingRisk

Returns:

  • (String)


8148
8149
8150
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8148

def excluded_gambling_risk
  @excluded_gambling_risk
end

#excluded_hate_speech_riskString

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

Returns:

  • (String)


8153
8154
8155
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8153

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)


8158
8159
8160
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8158

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)


8163
8164
8165
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8163

def excluded_offensive_language_risk
  @excluded_offensive_language_risk
end

#excluded_violence_riskString

Brand Safety - Violence. Corresponds to the JSON property excludedViolenceRisk

Returns:

  • (String)


8168
8169
8170
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8168

def excluded_violence_risk
  @excluded_violence_risk
end

#quality_sync_custom_segment_idArray<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

Returns:

  • (Array<Fixnum>)


8174
8175
8176
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8174

def quality_sync_custom_segment_id
  @quality_sync_custom_segment_id
end

#traq_score_optionString

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

Returns:

  • (String)


8179
8180
8181
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8179

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)


8184
8185
8186
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8184

def video_viewability
  @video_viewability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8191

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