Page Summary
-
The Account resource provides information about CSS/MC accounts.
-
The Account resource includes fields such as name, fullName, labelIds, accountType, and parent.
-
Account types include CSS_GROUP, CSS_DOMAIN, various MC account types, and MC_STANDALONE.
-
Methods available for accounts include retrieving a single account, listing child accounts, and updating labels.
Resource: Account
Information about CSS/MC account.
| JSON representation |
|---|
{
"name"
:
string
,
"fullName"
:
string
,
"labelIds"
:
[
string
]
,
"automaticLabelIds"
:
[
string
]
,
"accountType"
:
enum (
|
| Fields | |
|---|---|
name
|
The label resource name. Format: accounts/{account} |
fullName
|
Output only. Immutable. The CSS/MC account's full name. |
labelIds[]
|
Manually created label IDs assigned to the CSS/MC account by a CSS parent account. |
automaticLabelIds[]
|
Automatically created label IDs assigned to the MC account by CSS Center. |
accountType
|
Output only. The type of this account. |
displayName
|
The CSS/MC account's short display name. |
homepageUri
|
Output only. Immutable. The CSS/MC account's homepage. |
parent
|
The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account. Note: For MC sub-accounts, this is also the CSS domain that is the parent resource of the MCA account, since we are effectively flattening the hierarchy." |
AccountType
The account type.
| Enums | |
|---|---|
ACCOUNT_TYPE_UNSPECIFIED
|
Unknown account type. |
CSS_GROUP
|
CSS group account. |
CSS_DOMAIN
|
CSS domain account. |
MC_PRIMARY_CSS_MCA
|
MC Primary CSS MCA account. |
MC_CSS_MCA
|
MC CSS MCA account. |
MC_MARKETPLACE_MCA
|
MC Marketplace MCA account. |
MC_OTHER_MCA
|
MC Other MCA account. |
MC_STANDALONE
|
MC Standalone account. |
MC_MCA_SUBACCOUNT
|
MC MCA sub-account. |
Methods |
|
|---|---|
|
Retrieves a single CSS/MC account by ID. |
|
Lists all the accounts under the specified CSS account ID, and optionally filters by label ID and account name. |
|
Updates labels assigned to CSS/MC accounts by a CSS domain. |

