class Google::Apis::AdsenseV1_4::AdStyle
Attributes
colors[RW]
The colors which are included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash. Corresponds to the JSON property `colors` @return [Google::Apis::AdsenseV1_4::AdStyle::Colors]
corners[RW]
The style of the corners in the ad (deprecated: never populated, ignored). Corresponds to the JSON property `corners` @return [String]
font[RW]
The font which is included in the style. Corresponds to the JSON property `font` @return [Google::Apis::AdsenseV1_4::AdStyle::Font]
kind[RW]
Kind this is, in this case adsense#adStyle. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/adsense_v1_4/classes.rb, line 266 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/adsense_v1_4/classes.rb, line 271 def update!(**args) @colors = args[:colors] if args.key?(:colors) @corners = args[:corners] if args.key?(:corners) @font = args[:font] if args.key?(:font) @kind = args[:kind] if args.key?(:kind) end