class Google::Apis::AdsensehostV4_1::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::AdsensehostV4_1::AdUnit::ContentAdsSettings::BackupOption]

size[RW]

Size of this ad unit. Size values are in the form SIZE_`width`_`height`. Corresponds to the JSON property `size` @return [String]

type[RW]

Type of this ad unit. Possible values are TEXT, TEXT_IMAGE, IMAGE and LINK. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adsensehost_v4_1/classes.rb, line 404
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