Class 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.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta.Data
Assembly: Google.Apis.Merchant.accounts_v1beta.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. See store name and business name for more information.
Declaration
[JsonProperty("accountName")]
public virtual string AccountName { get; set; }
Property Value
Type | Description |
---|---|
string |
AdultContent
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.
Declaration
[JsonProperty("timeZone")]
public virtual TimeZone TimeZone { get; set; }
Property Value
Type | Description |
---|---|
TimeZone |