class Google::Apis::AdsenseV1_4::AdUnit::ContentAdsSettings

Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).

Attributes

backup_option[RW]

The backup option to be used in instances where no ad is available. Corresponds to the JSON property `backupOption` @return [Google::Apis::AdsenseV1_4::AdUnit::ContentAdsSettings::BackupOption]

size[RW]

Size of this ad unit. Corresponds to the JSON property `size` @return [String]

type[RW]

Type of this ad unit. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/adsense_v1_4/classes.rb, line 437
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/adsense_v1_4/classes.rb, line 442
def update!(**args)
  @backup_option = args[:backup_option] if args.key?(:backup_option)
  @size = args[:size] if args.key?(:size)
  @type = args[:type] if args.key?(:type)
end