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.



12926
12927
12928
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12926

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV4::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



12881
12882
12883
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12881

def companion_settings
  @companion_settings
end

#duration_secondsFixnum

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

Returns:

  • (Fixnum)


12886
12887
12888
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12886

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)


12892
12893
12894
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12892

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)


12897
12898
12899
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12897

def oba_enabled
  @oba_enabled
end

#oba_settingsGoogle::Apis::DfareportingV4::ObaIcon

Online Behavioral Advertiser icon. Corresponds to the JSON property obaSettings



12903
12904
12905
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12903

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)


12909
12910
12911
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12909

def orientation
  @orientation
end

#publisher_specification_idFixnum

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

Returns:

  • (Fixnum)


12914
12915
12916
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12914

def publisher_specification_id
  @publisher_specification_id
end

#skippable_settingsGoogle::Apis::DfareportingV4::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



12919
12920
12921
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12919

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV4::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



12924
12925
12926
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12924

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12931

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