View Source GoogleApi.AdSense.V2.Model.Account (google_api_ad_sense v0.17.0)

Representation of an account.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Creation time of the account.
  • displayName (type: String.t, default: nil) - Output only. Display name of this account.
  • name (type: String.t, default: nil) - Output only. Resource name of the account. Format: accounts/pub-[0-9]+
  • pendingTasks (type: list(String.t), default: nil) - Output only. Outstanding tasks that need to be completed as part of the sign-up process for a new account. e.g. "billing-profile-creation", "phone-pin-verification".
  • premium (type: boolean(), default: nil) - Output only. Whether this account is premium.
  • state (type: String.t, default: nil) - Output only. State of the account.
  • timeZone (type: GoogleApi.AdSense.V2.Model.TimeZone.t, default: nil) - The account time zone, as used by reporting. For more information, see changing the time zone of your reports.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdSense.V2.Model.Account{
  createTime: DateTime.t() | nil,
  displayName: String.t() | nil,
  name: String.t() | nil,
  pendingTasks: [String.t()] | nil,
  premium: boolean() | nil,
  state: String.t() | nil,
  timeZone: GoogleApi.AdSense.V2.Model.TimeZone.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.