Class Account
The Account message represents a business's account within Merchant Center. 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 advanced account structure. In an advanced account 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.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1.Data
Assembly: Google.Apis.Merchant.accounts_v1.dll
Syntax
public class Account : IDirectResponseSchema
Properties
AccountId
Output only. The ID of the account.
Declaration
[JsonProperty("accountId")]
public virtual long? AccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
AccountName
Required. A human-readable name of the account. Don't use punctuation, capitalization, or non-alphanumeric symbols such as the "/" or "_" symbols. See Adding a business name for more information.
Declaration
[JsonProperty("accountName")]
public virtual string AccountName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdultContent
Optional. Whether this account contains adult content.
Declaration
[JsonProperty("adultContent")]
public virtual bool? AdultContent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LanguageCode
Required. The account's BCP-47 language code, such as en-US or
sr-Latn.
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. The resource name of the account. Format: accounts/{account}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TestAccount
Output only. Whether this is a test account.
Declaration
[JsonProperty("testAccount")]
public virtual bool? TestAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
TimeZone
Required. The time zone of the account. On writes, time_zone sets both the reporting_time_zone and the
display_time_zone. For reads, time_zone always returns the display_time_zone. If display_time_zone
doesn't exist for your account, time_zone is empty. The version field is not supported, won't be set in
responses and will be silently ignored if specified in requests.
Declaration
[JsonProperty("timeZone")]
public virtual TimeZone TimeZone { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeZone |