Class: Google::Apis::DfareportingV5::VideoSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb

Overview

Video Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VideoSettings

Returns a new instance of VideoSettings.



14083
14084
14085
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14083

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV5::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



14031
14032
14033
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14031

def companion_settings
  @companion_settings
end

#duration_secondsFixnum

Duration of a video placement in seconds. Corresponds to the JSON property durationSeconds

Returns:

  • (Fixnum)


14036
14037
14038
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14036

def duration_seconds
  @duration_seconds
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#videoSettings". Corresponds to the JSON property kind

Returns:

  • (String)


14042
14043
14044
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14042

def kind
  @kind
end

#oba_enabledBoolean Also known as: oba_enabled?

Whether OBA icons are enabled for this placement. Corresponds to the JSON property obaEnabled

Returns:

  • (Boolean)


14047
14048
14049
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14047

def oba_enabled
  @oba_enabled
end

#oba_settingsGoogle::Apis::DfareportingV5::ObaIcon

Online Behavioral Advertiser icon. Corresponds to the JSON property obaSettings



14053
14054
14055
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14053

def oba_settings
  @oba_settings
end

#orientationString

Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation. Corresponds to the JSON property orientation

Returns:

  • (String)


14059
14060
14061
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14059

def orientation
  @orientation
end

#publisher_specification_idFixnum

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

Returns:

  • (Fixnum)


14071
14072
14073
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14071

def publisher_specification_id
  @publisher_specification_id
end

#skippable_settingsGoogle::Apis::DfareportingV5::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



14076
14077
14078
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14076

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV5::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



14081
14082
14083
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14081

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 14088

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