Class: Google::Apis::DfareportingV3_5::VideoSettings

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

Overview

Video Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VideoSettings

Returns a new instance of VideoSettings.



12749
12750
12751
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12749

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_5::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



12709
12710
12711
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12709

def companion_settings
  @companion_settings
end

#duration_secondsFixnum

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

Returns:

  • (Fixnum)


12714
12715
12716
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12714

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)


12720
12721
12722
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12720

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)


12725
12726
12727
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12725

def oba_enabled
  @oba_enabled
end

#oba_settingsGoogle::Apis::DfareportingV3_5::ObaIcon

Online Behavioral Advertiser icon. Corresponds to the JSON property obaSettings



12731
12732
12733
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12731

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)


12737
12738
12739
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12737

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_5::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



12742
12743
12744
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12742

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_5::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



12747
12748
12749
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12747

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12754

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)
  @skippable_settings = args[:skippable_settings] if args.key?(:skippable_settings)
  @transcode_settings = args[:transcode_settings] if args.key?(:transcode_settings)
end