Resource: Account
Representation of an Account.
JSON representation |
---|
{ "name": string, "displayName": string, "siteUris": [ string ], "state": enum ( |
Fields | |
---|---|
name |
Output only. Resource name of the account. Format: platforms/pub-[0-9]+/accounts/pub-[0-9]+ |
displayName |
Display name of this account. |
siteUris[] |
Required. The urls of the sites the account will monetize. During account creation, this must contain exactly one value. |
state |
Output only. Approval state of the account. |
timeZone |
Required. The IANA TZ timezone code of this account. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. |
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: |
regionCode |
Required. Input only. CLDR region code of the country/region of the address. |
State
Approval state of the account.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified. |
UNCHECKED |
Unchecked. |
APPROVED |
The account is ready to serve ads. |
DISAPPROVED |
The account has been blocked from serving ads. |
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". |
Methods |
|
---|---|
|
Creates a sub-account. |
|
Gets information about the selected sub-account. |