The status of the Role. This field is read-only and can have the values RoleStatus.ACTIVE (default) or RoleStatus.INACTIVE, which determines the visibility of
the role in the UI.
Enumerations
ACTIVE
The status of an active role. (i.e. visible in the UI)
INACTIVE
The status of an inactive role. (i.e. hidden in the UI)
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],[],null,["# type Role (v202505)\n\n**Service** \n**UserService** **Dependencies** \n[getAllRoles()](/ad-manager/api/reference/v202505/UserService#getAllRoles) \n▼\n**Role**\n\nEach `Role` provides a user with permissions to perform specific operations in the system.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202505`\n\n| Field ----- ||\n|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `id` | ` `xsd:`long` The unique ID of the role. This value is readonly and is assigned by Google. Roles that are created by Google will have negative IDs. |\n| ### `name` | ` `xsd:`string` The name of the role. This value is readonly and is assigned by Google. |\n| ### `description` | ` `xsd:`string` The description of the role. This value is readonly and is assigned by Google. |\n| ### `status` | ` `[RoleStatus](/ad-manager/api/reference/v202505/UserService.RoleStatus)` ` The status of the [Role](/ad-manager/api/reference/v202505/UserService.Role). This field is read-only and can have the values [RoleStatus.ACTIVE](/ad-manager/api/reference/v202505/UserService.RoleStatus#ACTIVE) (default) or [RoleStatus.INACTIVE](/ad-manager/api/reference/v202505/UserService.RoleStatus#INACTIVE), which determines the visibility of the role in the UI. *** ** * ** *** **Enumerations** `ACTIVE` : The status of an active role. (i.e. visible in the UI) `INACTIVE` : The status of an inactive role. (i.e. hidden in the UI) `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]