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. |
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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. 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, e.g. "America/New_York". |
version |
Optional. IANA Time Zone Database version number, e.g. "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. |