class Google::Apis::AdsensehostV4_1::AdUnit::ContentAdsSettings::BackupOption
The backup option to be used in instances where no ad is available.
Attributes
color[RW]
Color to use when type is set to COLOR. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash. Corresponds to the JSON property `color` @return [String]
type[RW]
Type of the backup option. Possible values are BLANK, COLOR and URL. Corresponds to the JSON property `type` @return [String]
url[RW]
URL to use when type is set to URL. Corresponds to the JSON property `url` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/adsensehost_v4_1/classes.rb, line 432 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/adsensehost_v4_1/classes.rb, line 437 def update!(**args) @color = args[:color] if args.key?(:color) @type = args[:type] if args.key?(:type) @url = args[:url] if args.key?(:url) end