Account class

The Account message represents a business'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 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.

Constructors

Account.new({String? accountId, String? accountName, bool? adultContent, String? languageCode, String? name, bool? testAccount, TimeZone? timeZone})
Account.fromJson(Map json_)

Properties

accountId String?
The ID of the account.
getter/setter pair
accountName String?
A human-readable name of the account.
getter/setter pair
adultContent bool?
Whether this account contains adult content.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
languageCode String?
The account's [BCP-47 language code](https://tools.ietf.org/html/bcp47), such as en-US or sr-Latn.
getter/setter pair
name String?
Identifier.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testAccount bool?
Whether this is a test account.
getter/setter pair
timeZone TimeZone?
The time zone of the account.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited