Query DoubleClick for Publishers Roles.
The following queries are processed server side by the Google Ad Manager APIs. The driver processes other SELECT queries client-side in memory.
Retrieve a list of Roles. For example:
SELECT * FROM [Roles]
Additionally, you can specify the Id or filter by any other column.
SELECT * FROM [Roles] WHERE Id = '-28'
|Id [KEY]||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.|
|Name||String||The name of the role. This value is readonly and is assigned by Google.|
|Description||String||The description of the role. This value is readonly and is assigned by Google.|
|Status||String||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.
The allowed values are ACTIVE, INACTIVE, UNKNOWN.