AI-generated Key Takeaways
-
The Role resource in Google Ad Manager API represents a user role with properties like name, ID, display name, description, built-in status, and status.
-
The status of a role is defined by the RoleStatus enum, which can be unspecified, active, or inactive.
-
The API provides methods to get a single Role object or list multiple Role objects.
Resource: Role
The Role
resource.
| JSON representation |
|---|
{
"name"
:
string
,
"roleId"
:
string
,
"displayName"
:
string
,
"description"
:
string
,
"builtIn"
:
boolean
,
"status"
:
enum (
|
| Fields | |
|---|---|
name
|
Identifier. The resource name of the |
roleId
|
Output only. |
displayName
|
Required. The display name of the |
description
|
Optional. The description of the |
builtIn
|
Output only. Whether the |
status
|
Output only. The status of the |
RoleStatus
The status of the role.
| Enums | |
|---|---|
ROLE_STATUS_UNSPECIFIED
|
No value specified. |
ACTIVE
|
Role is active. |
INACTIVE
|
Role is inactive. |
Methods |
|
|---|---|
|
API to retrieve a Role
object. |
|
API to retrieve a list of Role
objects. |

