Class: Google::Apis::DfareportingV3_5::SiteVideoSettings

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) ⇒ SiteVideoSettings

Returns a new instance of SiteVideoSettings.



11404
11405
11406
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11404

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_5::SiteCompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



11369
11370
11371
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11369

def companion_settings
  @companion_settings
end

#kindString

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

Returns:

  • (String)


11375
11376
11377
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11375

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)


11380
11381
11382
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11380

def oba_enabled
  @oba_enabled
end

#oba_settingsGoogle::Apis::DfareportingV3_5::ObaIcon

Online Behavioral Advertiser icon. Corresponds to the JSON property obaSettings



11386
11387
11388
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11386

def oba_settings
  @oba_settings
end

#orientationString

Orientation of a site template used for video. This will act as default for new placements created under this site. Corresponds to the JSON property orientation

Returns:

  • (String)


11392
11393
11394
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11392

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_5::SiteSkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



11397
11398
11399
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11397

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_5::SiteTranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



11402
11403
11404
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11402

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11409
11410
11411
11412
11413
11414
11415
11416
11417
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11409

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