Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Account

import type { Account } from "https://googleapis.deno.dev/v1/adsenseplatform:v1.ts";

Representation of an Account.

interface Account {
readonly createTime?: Date;
creationRequestId?: string;
displayName?: string;
readonly name?: string;
regionCode?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "UNCHECKED"
| "APPROVED"
| "DISAPPROVED";
timeZone?: TimeZone;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. Creation time of the account.

§
creationRequestId?: string
[src]

Required. An opaque token that uniquely identifies the account among all the platform's accounts. This string may contain at most 64 non-whitespace ASCII characters, but otherwise has no predefined structure. However, it is expected to be a platform-specific identifier for the user creating the account, so that only a single account can be created for any given user. This field must not contain any information that is recognizable as personally identifiable information. e.g. it should not be an email address or login name. Once an account has been created, a second attempt to create an account using the same creation_request_id will result in an ALREADY_EXISTS error.

§
displayName?: string
[src]

Display name of this account.

§
readonly name?: string
[src]

Output only. Resource name of the account. Format: platforms/pub-[0-9]+/accounts/pub-[0-9]+

§
regionCode?: string
[src]

Required. Input only. CLDR region code of the country/region of the address. Set this to country code of the child account if known, otherwise to your own country code.

§
readonly state?: "STATE_UNSPECIFIED" | "UNCHECKED" | "APPROVED" | "DISAPPROVED"
[src]

Output only. Approval state of the account.

§
timeZone?: TimeZone
[src]

Required. The IANA TZ timezone code of this account. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. This field is used for reporting. It is recommended to set it to the same value for all child accounts.