Show / Hide Table of Contents

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.

Inheritance
object
Account
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX