class Google::Apis::AdsenseV1_4::AdClient

Attributes

arc_opt_in[RW]

Whether this ad client is opted in to ARC. Corresponds to the JSON property `arcOptIn` @return [Boolean]

arc_opt_in?[RW]

Whether this ad client is opted in to ARC. Corresponds to the JSON property `arcOptIn` @return [Boolean]

id[RW]

Unique identifier of this ad client. Corresponds to the JSON property `id` @return [String]

kind[RW]

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

product_code[RW]

This ad client's product code, which corresponds to the PRODUCT_CODE report dimension. Corresponds to the JSON property `productCode` @return [String]

supports_reporting[RW]

Whether this ad client supports being reported on. Corresponds to the JSON property `supportsReporting` @return [Boolean]

supports_reporting?[RW]

Whether this ad client supports being reported on. Corresponds to the JSON property `supportsReporting` @return [Boolean]

Public Class Methods

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