Resource: Account
The Account
message represents a merchant's account within Shopping Ads. It's the primary entity for managing product data, settings, and interactions with Google's services and external providers.
Accounts can operate as standalone entities or be part of a multi-client account (MCA) structure. In an MCA setup the parent account manages multiple sub-accounts.
Establishing an account involves configuring attributes like the account name, time zone, and language preferences.
The Account
message is the parent entity for many other resources, for example, AccountRelationship
, Homepage
, BusinessInfo
and so on.
JSON representation |
---|
{
"name": string,
"accountId": string,
"accountName": string,
"adultContent": boolean,
"testAccount": boolean,
"timeZone": {
object ( |
Fields | |
---|---|
name |
Identifier. The resource name of the account. Format: |
account |
Output only. The ID of the account. |
account |
Required. A human-readable name of the account. See store name and business name for more information. |
adult |
Whether this account contains adult content. |
test |
Output only. Whether this is a test account. |
time |
Required. The time zone of the account. On writes, For reads, |
language |
Required. The account's BCP-47 language code, such as |
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". |
Methods |
|
---|---|
|
Creates a standalone Merchant Center account with additional configuration. |
|
Deletes the specified account regardless of its type: standalone, MCA or sub-account. |
|
Retrieves an account from your Merchant Center account. |
|
Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters. |
|
List all sub-accounts for a given multi client account. |
|
Updates an account regardless of its type: standalone, MCA or sub-account. |