Class: Google::Apis::DfareportingV4::VideoSettings
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::VideoSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Video Settings
Instance Attribute Summary collapse
-
#companion_settings ⇒ Google::Apis::DfareportingV4::CompanionSetting
Companion Settings Corresponds to the JSON property
companionSettings
. -
#duration_seconds ⇒ Fixnum
Duration of a video placement in seconds.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#oba_enabled ⇒ Boolean
(also: #oba_enabled?)
Whether OBA icons are enabled for this placement.
-
#oba_settings ⇒ Google::Apis::DfareportingV4::ObaIcon
Online Behavioral Advertiser icon.
-
#orientation ⇒ String
Orientation of a video placement.
-
#publisher_specification_id ⇒ Fixnum
Publisher specification ID of a video placement.
-
#skippable_settings ⇒ Google::Apis::DfareportingV4::SkippableSetting
Skippable Settings Corresponds to the JSON property
skippableSettings
. -
#transcode_settings ⇒ Google::Apis::DfareportingV4::TranscodeSetting
Transcode Settings Corresponds to the JSON property
transcodeSettings
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoSettings
constructor
A new instance of VideoSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoSettings
Returns a new instance of VideoSettings.
13328 13329 13330 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13328 def initialize(**args) update!(**args) end |
Instance Attribute Details
#companion_settings ⇒ Google::Apis::DfareportingV4::CompanionSetting
Companion Settings
Corresponds to the JSON property companionSettings
13276 13277 13278 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13276 def companion_settings @companion_settings end |
#duration_seconds ⇒ Fixnum
Duration of a video placement in seconds.
Corresponds to the JSON property durationSeconds
13281 13282 13283 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13281 def duration_seconds @duration_seconds end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#videoSettings".
Corresponds to the JSON property kind
13287 13288 13289 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13287 def kind @kind end |
#oba_enabled ⇒ Boolean Also known as: oba_enabled?
Whether OBA icons are enabled for this placement.
Corresponds to the JSON property obaEnabled
13292 13293 13294 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13292 def oba_enabled @oba_enabled end |
#oba_settings ⇒ Google::Apis::DfareportingV4::ObaIcon
Online Behavioral Advertiser icon.
Corresponds to the JSON property obaSettings
13298 13299 13300 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13298 def oba_settings @oba_settings end |
#orientation ⇒ String
Orientation of a video placement. If this value is set, placement will return
assets matching the specified orientation.
Corresponds to the JSON property orientation
13304 13305 13306 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13304 def orientation @orientation end |
#publisher_specification_id ⇒ Fixnum
Publisher specification ID of a video placement. Possible values are: * 1
,
Hulu * 2
, NBC * 3
, CBS * 4
, CBS Desktop * 5
, Discovery * 6
, VEVO HD *
7
, VEVO Vertical * 8
, Fox * 9
, CW Network * 10
, Disney * 11
, IGN *
12
, NFL.com * 13
, Turner Broadcasting * 14
, Tubi on Fox * 15
, Hearst
Corporation * 16
, Twitch Desktop * 17
, ABC * 18
, Univision * 19
, MLB.
com * 20
, MLB.com Mobile * 21
, MLB.com OTT * 22
, Polsat * 23
, TVN *
24
, Mediaset * 25
, Antena 3 * 26
, Mediamond * 27
, Sky Italia * 28
,
Tubi on CBS * 29
, Spotify * 30
, Paramount * 31
, Max
Corresponds to the JSON property publisherSpecificationId
13316 13317 13318 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13316 def publisher_specification_id @publisher_specification_id end |
#skippable_settings ⇒ Google::Apis::DfareportingV4::SkippableSetting
Skippable Settings
Corresponds to the JSON property skippableSettings
13321 13322 13323 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13321 def skippable_settings @skippable_settings end |
#transcode_settings ⇒ Google::Apis::DfareportingV4::TranscodeSetting
Transcode Settings
Corresponds to the JSON property transcodeSettings
13326 13327 13328 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13326 def transcode_settings @transcode_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13333 def update!(**args) @companion_settings = args[:companion_settings] if args.key?(:companion_settings) @duration_seconds = args[:duration_seconds] if args.key?(:duration_seconds) @kind = args[:kind] if args.key?(:kind) @oba_enabled = args[:oba_enabled] if args.key?(:oba_enabled) @oba_settings = args[:oba_settings] if args.key?(:oba_settings) @orientation = args[:orientation] if args.key?(:orientation) @publisher_specification_id = args[:publisher_specification_id] if args.key?(:publisher_specification_id) @skippable_settings = args[:skippable_settings] if args.key?(:skippable_settings) @transcode_settings = args[:transcode_settings] if args.key?(:transcode_settings) end |