AI-generated Key Takeaways
-
Subaccounts in Campaign Manager represent properties of a subaccount and have a specific JSON representation with fields like id, name, and accountId.
-
The fields for a subaccount include read-only auto-generated IDs for the subaccount and the containing account, a required unique name, and IDs of available user role permissions.
-
Several methods are available for interacting with subaccounts, including getting, inserting, listing, patching, and updating subaccount resources.
Resource: Subaccount
Contains properties of a Campaign Manager subaccount.
| JSON representation |
|---|
{ "id": string, "name": string, "accountId": string, "availablePermissionIds": [ string ], "kind": string } |
| Fields | |
|---|---|
id |
ID of this subaccount. This is a read-only, auto-generated field. |
name |
Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account. |
accountId |
ID of the account that contains this subaccount. This is a read-only field that can be left blank. |
availablePermissionIds[] |
IDs of the available user role permissions for this subaccount. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
Methods |
|
|---|---|
|
Gets one subaccount by ID. |
|
Inserts a new subaccount. |
|
Gets a list of subaccounts, possibly filtered. |
|
Updates an existing subaccount. |
|
Updates an existing subaccount. |