Class: Google::Apis::DfareportingV3_4::VideoSettings

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

Overview

Video Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VideoSettings

Returns a new instance of VideoSettings.



13085
13086
13087
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 13085

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_4::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



13050
13051
13052
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 13050

def companion_settings
  @companion_settings
end

#kindString

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

Returns:

  • (String)


13056
13057
13058
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 13056

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)


13061
13062
13063
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 13061

def oba_enabled
  @oba_enabled
end

#oba_settingsGoogle::Apis::DfareportingV3_4::ObaIcon

Online Behavioral Advertiser icon. Corresponds to the JSON property obaSettings



13067
13068
13069
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 13067

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)


13073
13074
13075
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 13073

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_4::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



13078
13079
13080
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 13078

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_4::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



13083
13084
13085
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 13083

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13090
13091
13092
13093
13094
13095
13096
13097
13098
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 13090

def update!(**args)
  @companion_settings = args[:companion_settings] if args.key?(:companion_settings)
  @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