class Google::Apis::AdsenseV1_4::AdCode
Attributes
ad_code[RW]
The ad code snippet. Corresponds to the JSON property `adCode` @return [String]
kind[RW]
Kind this is, in this case adsense#adCode. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/adsense_v1_4/classes.rb, line 217 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 222 def update!(**args) @ad_code = args[:ad_code] if args.key?(:ad_code) @kind = args[:kind] if args.key?(:kind) end