v1.4 of the AdSense Management API is now deprecated. This version will stop returning data on October 12, 2021. Please migrate to v2 as soon as possible.

REST Resource: accounts

Resource: Account

JSON representation
{
  "id": string,
  "name": string,
  "subAccounts": [
    {
      object (Account)
    }
  ],
  "premium": boolean,
  "timezone": string,
  "creationTime": string,
  "kind": string
}
Fields
id

string

Unique identifier of this account.

name

string

Name of this account.

subAccounts[]

object (Account)

Sub accounts of the this account.

premium

boolean

Whether this account is premium.

timezone

string

AdSense timezone of this account.

creationTime

string (int64 format)

kind

string

Kind of resource this is, in this case adsense#account.

Methods

get

Get information about the selected AdSense account.

list

List all accounts available to this AdSense account.