- [Resource: Role](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.roles#Role)
  - [JSON representation](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.roles#Role.SCHEMA_REPRESENTATION)
- [RoleStatus](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.roles#RoleStatus)
- [Methods](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.roles#METHODS_SUMMARY)

## Resource: Role

The `Role` resource.

| JSON representation |
|---|
| ``` { "name": string, "roleId": string, "displayName": string, "description": string, "builtIn": boolean, "status": enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.roles#RoleStatus`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the `Role`. Format: `networks/{networkCode}/roles/{roleId}` |
| `roleId (deprecated)` | `string (https://developers.google.com/discovery/v1/type-format format)` > [!WARNING] > Output only. Parse the ID from the `name` field instead. Output only. Deprecated: `Role` ID. |
| `displayName` | `string` Required. The display name of the `Role`. |
| `description` | `string` Optional. The description of the `Role`. |
| `builtIn` | `boolean` Output only. Whether the `Role` is a built-in or custom user role. |
| `status` | ``enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.roles#RoleStatus`)`` Output only. The status of the `Role`. |

## RoleStatus

The status of the role.

| Enums ||
|---|---|
| `ROLE_STATUS_UNSPECIFIED` | No value specified. |
| `ACTIVE` | Role is active. |
| `INACTIVE` | Role is inactive. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.roles/get` | Retrieves a `Role` object. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.roles/list` | Lists `Role` objects. |