Resource: Account
Representation of an account.
| JSON representation | 
|---|
| { "name": string, "displayName": string, "premium": boolean, "timeZone": { object ( | 
| Fields | |
|---|---|
| name | 
 Output only. Resource name of the account. Format: accounts/pub-[0-9]+ | 
| displayName | 
 Output only. Display name of this account. | 
| premium | 
 Output only. Whether this account is premium. Premium accounts have access to additional spam-related metrics. | 
| timeZone | 
 The account time zone, as used by reporting. For more information, see changing the time zone of your reports. | 
| createTime | 
 Output only. Creation time of the account. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| pendingTasks[] | 
 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". | 
| state | 
 Output only. State of the account. | 
TimeZone
Represents a time zone from the IANA Time Zone Database.
| JSON representation | 
|---|
| { "id": string, "version": string } | 
| Fields | |
|---|---|
| id | 
 IANA Time Zone Database time zone. For example "America/New_York". | 
| version | 
 Optional. IANA Time Zone Database version number. For example "2019a". | 
State
Possible states of the account.
| Enums | |
|---|---|
| STATE_UNSPECIFIED | State unspecified. | 
| READY | The account is open and ready to serve ads. | 
| NEEDS_ATTENTION | There are some issues with this account. Publishers should visit AdSense in order to fix the account. | 
| CLOSED | The account is closed and can't serve ads. | 
| Methods | |
|---|---|
| 
 | Gets information about the selected AdSense account. | 
| 
 | Gets the ad blocking recovery tag of an account. | 
| 
 | Lists all accounts available to this user. | 
| 
 | Lists all accounts directly managed by the given AdSense account. |