Class: Google::Apis::DfareportingV4::VideoSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VideoSettings

Returns a new instance of VideoSettings.



13309
13310
13311
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13309

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV4::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



13264
13265
13266
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13264

def companion_settings
  @companion_settings
end

#duration_secondsFixnum

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

Returns:

  • (Fixnum)


13269
13270
13271
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13269

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)


13275
13276
13277
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13275

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)


13280
13281
13282
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13280

def oba_enabled
  @oba_enabled
end

#oba_settingsGoogle::Apis::DfareportingV4::ObaIcon

Online Behavioral Advertiser icon. Corresponds to the JSON property obaSettings



13286
13287
13288
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13286

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)


13292
13293
13294
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13292

def orientation
  @orientation
end

#publisher_specification_idFixnum

Publisher specification ID of a video placement. Corresponds to the JSON property publisherSpecificationId

Returns:

  • (Fixnum)


13297
13298
13299
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13297

def publisher_specification_id
  @publisher_specification_id
end

#skippable_settingsGoogle::Apis::DfareportingV4::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



13302
13303
13304
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13302

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV4::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



13307
13308
13309
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13307

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13314

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