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.



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

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_5::SiteCompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



11367
11368
11369
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11367

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)


11373
11374
11375
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11373

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)


11378
11379
11380
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11378

def oba_enabled
  @oba_enabled
end

#oba_settingsGoogle::Apis::DfareportingV3_5::ObaIcon

Online Behavioral Advertiser icon. Corresponds to the JSON property obaSettings



11384
11385
11386
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11384

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)


11390
11391
11392
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11390

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_5::SiteSkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



11395
11396
11397
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11395

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_5::SiteTranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



11400
11401
11402
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11400

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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