class Google::Apis::AdsensehostV4_1::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 adsensehost#adCode. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

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