class Google::Apis::AdmobV1beta::PublisherAccount

A publisher account contains information relevant to the use of this API, such as the time zone used for the reports.

Attributes

currency_code[RW]

Currency code of the earning-related metrics, which is the 3-letter code defined in ISO 4217. The daily average rate is used for the currency conversion. Corresponds to the JSON property `currencyCode` @return [String]

name[RW]

Resource name of this account. Format is accounts/`publisher_id`. Corresponds to the JSON property `name` @return [String]

publisher_id[RW]

The unique ID by which this publisher account can be identified in the API requests (for example, pub-1234567890). Corresponds to the JSON property `publisherId` @return [String]

reporting_time_zone[RW]

The time zone that is used in reports that are generated for this account. The value is a time-zone ID as specified by the CLDR project, for example, “ America/Los_Angeles”. Corresponds to the JSON property `reportingTimeZone` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admob_v1beta/classes.rb, line 830
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admob_v1beta/classes.rb, line 835
def update!(**args)
  @currency_code = args[:currency_code] if args.key?(:currency_code)
  @name = args[:name] if args.key?(:name)
  @publisher_id = args[:publisher_id] if args.key?(:publisher_id)
  @reporting_time_zone = args[:reporting_time_zone] if args.key?(:reporting_time_zone)
end