Class: Google::Apis::DfareportingV4::SiteVideoSettings

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

Returns a new instance of SiteVideoSettings.



11541
11542
11543
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11541

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV4::SiteCompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



11499
11500
11501
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11499

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)


11505
11506
11507
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11505

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)


11510
11511
11512
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11510

def oba_enabled
  @oba_enabled
end

#oba_settingsGoogle::Apis::DfareportingV4::ObaIcon

Online Behavioral Advertiser icon. Corresponds to the JSON property obaSettings



11516
11517
11518
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11516

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)


11522
11523
11524
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11522

def orientation
  @orientation
end

#publisher_specification_idFixnum

Publisher specification ID used to identify site-associated publisher requirements and automatically populate transcode settings. If publisher specification ID is specified, it will take precedence over transcode settings. Corresponds to the JSON property publisherSpecificationId

Returns:

  • (Fixnum)


11529
11530
11531
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11529

def publisher_specification_id
  @publisher_specification_id
end

#skippable_settingsGoogle::Apis::DfareportingV4::SiteSkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



11534
11535
11536
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11534

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV4::SiteTranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



11539
11540
11541
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11539

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11546

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)
  @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