REST Resource: accounts

Resource: Account

An account.

JSON representation
{
  "name": string,
  "accountId": string,
  "accountName": string,
  "adultContent": boolean,
  "testAccount": boolean,
  "timeZone": {
    object (TimeZone)
  },
  "languageCode": string
}
Fields
name

string

Identifier. The resource name of the account. Format: accounts/{account}

accountId

string (int64 format)

Output only. The ID of the account.

accountName

string

Required. A human-readable name of the account. See store name and business name for more information.

adultContent

boolean

Whether this account contains adult content.

testAccount

boolean

Output only. Whether this is a test account.

timeZone

object (TimeZone)

Required. The time zone of the account.

On writes, timeZone sets both the reporting_time_zone and the display_time_zone.

For reads, timeZone always returns the display_time_zone. If display_time_zone doesn't exist for your account, timeZone is empty.

languageCode

string

Required. The account's BCP-47 language code, such as en-US or sr-Latn.

TimeZone

Represents a time zone from the IANA Time Zone Database.

JSON representation
{
  "id": string,
  "version": string
}
Fields
id

string

IANA Time Zone Database time zone, e.g. "America/New_York".

version

string

Optional. IANA Time Zone Database version number, e.g. "2019a".

Methods

createAndConfigure

Creates a standalone Merchant Center account with additional configuration.

delete

Deletes the specified account regardless of its type: standalone, MCA or sub-account.

get

Retrieves an account from your Merchant Center account.

list

Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters.

listSubaccounts

List all sub-accounts for a given multi client account.

patch

Updates an account regardless of its type: standalone, MCA or sub-account.