class Google::Apis::AdsenseV1_4::SavedAdStyle

Attributes

ad_style[RW]

The AdStyle itself. Corresponds to the JSON property `adStyle` @return [Google::Apis::AdsenseV1_4::AdStyle]

id[RW]

Unique identifier of this saved ad style. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. Corresponds to the JSON property `id` @return [String]

kind[RW]

Kind of resource this is, in this case adsense#savedAdStyle. Corresponds to the JSON property `kind` @return [String]

name[RW]

The user selected name of this SavedAdStyle. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/adsense_v1_4/classes.rb, line 1088
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 1093
def update!(**args)
  @ad_style = args[:ad_style] if args.key?(:ad_style)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
end