- [Resource: Subaccount](https://developers.google.com/doubleclick-advertisers/rest/v5/subaccounts#Subaccount)
  - [JSON representation](https://developers.google.com/doubleclick-advertisers/rest/v5/subaccounts#Subaccount.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/doubleclick-advertisers/rest/v5/subaccounts#METHODS_SUMMARY)

## Resource: Subaccount

Contains properties of a Campaign Manager [subaccount](https://support.google.com/dcm/answer/2829448).

| JSON representation |
|---|
| ``` { "id": string, "name": string, "accountId": string, "availablePermissionIds": [ string ], "kind": string } ``` |

| Fields ||
|---|---|
| `id` | `string (https://developers.google.com/discovery/v1/type-format format)` ID of this subaccount. This is a read-only, auto-generated field. |
| `name` | `string` 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` | `string (https://developers.google.com/discovery/v1/type-format format)` ID of the account that contains this subaccount. This is a read-only field that can be left blank. |
| `availablePermissionIds[]` | `string (https://developers.google.com/discovery/v1/type-format format)` IDs of the available user role permissions for this subaccount. |
| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `"dfareporting#subaccount"`. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/doubleclick-advertisers/rest/v5/subaccounts/get` | Gets one subaccount by ID. |
| ### `https://developers.google.com/doubleclick-advertisers/rest/v5/subaccounts/insert` | Inserts a new subaccount. |
| ### `https://developers.google.com/doubleclick-advertisers/rest/v5/subaccounts/list` | Gets a list of subaccounts, possibly filtered. |
| ### `https://developers.google.com/doubleclick-advertisers/rest/v5/subaccounts/patch` | Updates an existing subaccount. |
| ### `https://developers.google.com/doubleclick-advertisers/rest/v5/subaccounts/update` | Updates an existing subaccount. |