Google Display & Video 360 Users API

The Users API from Google Display & Video 360 — 3 operation(s) for users.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Identity & Access Management BC-620.20

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /v5/users/{usersId} Delete a user · Delete users #
Ask an LLM
“How do I remove a user from Display & Video 360?”
“Can I delete a user account by its ID?”
Tell an agent destructive · confirm first
Delete user {usersId}.
Remove the user account {usersId}.
PATCH /v5/users/{usersId} Update a user's roles and email · Patch users #
Ask an LLM
“How do I change a user's display name or email?”
“Can I edit the roles assigned to an existing user?”
Tell an agent
Update user {usersId} with display name {displayName} and email {email}.
Set the roles of existing user {usersId} to {assignedUserRoles}.
GET /v5/users/{usersId} Get a user · Get users #
Ask an LLM
“How do I look up a user's profile by ID?”
“What roles and last login time does a user have?”
Tell an agent
Get user {usersId}.
Show the profile of user {usersId}.
POST /v5/users/{usersId}:bulkEditAssignedUserRoles Bulk edit a user's roles · Bulk edit assigned user roles users #
Ask an LLM
“How do I add and remove several roles for a user at once?”
“Can I bulk assign roles to a user without editing them one by one?”
Tell an agent
Bulk edit roles for user {usersId}: add {createdAssignedUserRoles} and remove {deletedAssignedUserRoles}.
Replace the roles on user {usersId} with {createdAssignedUserRoles}, dropping {deletedAssignedUserRoles}.
GET /v5/users List users · List users #
Ask an LLM
“Which users can I access in Display & Video 360?”
“Can I filter and sort the user list?”
Tell an agent
List all users I can access.
List users matching {filter}, sorted by {orderBy}.
POST /v5/users Create a user · Create users #
Ask an LLM
“How do I invite a new user to Display & Video 360?”
“What's required to create a user, like a name and email?”
Tell an agent
Create a user named {displayName} with email {email}.
Invite {email} as {displayName} with roles {assignedUserRoles}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-display-video-360:google-display-video-360-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-display-video-360-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Display & Video 360 Users API
  version: v5
  description: Generated from Google's published Discovery document for Display & Video 360 API (displayvideo v5, revision 20261110). 6 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://displayvideo.googleapis.com
tags:
- name: Users
paths:
  /v5/users/{usersId}:
    delete:
      operationId: displayvideo.users.delete
      summary: Delete users
      description: Deletes a user. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
      parameters:
      - name: usersId
        in: path
        required: true
        description: Resource name segment (usersId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/display-video-user-management
      - apiKey: []
      tags:
      - Users
    patch:
      operationId: displayvideo.users.patch
      summary: Patch users
      description: Updates an existing user. Returns the updated user if successful. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
      parameters:
      - name: usersId
        in: path
        required: true
        description: Resource name segment (usersId).
        schema:
          type: string
      - name: updateMask
        in: query
        required: false
        description: Required. The mask to control which fields to update.
        schema:
          type: string
          format: google-fieldmask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/display-video-user-management
      - apiKey: []
      tags:
      - Users
    get:
      operationId: displayvideo.users.get
      summary: Get users
      description: Gets a user. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
      parameters:
      - name: usersId
        in: path
        required: true
        description: Resource name segment (usersId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/display-video-user-management
      - apiKey: []
      tags:
      - Users
  /v5/users/{usersId}:bulkEditAssignedUserRoles:
    post:
      operationId: displayvideo.users.bulkEditAssignedUserRoles
      summary: Bulk edit assigned user roles users
      description: Bulk edits user roles for a user. The operation will delete the assigned user roles provided in BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and then assign the user roles provided in BulkEditAssignedUserRolesRequest.createdAssignedUserRoles. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
      parameters:
      - name: usersId
        in: path
        required: true
        description: Resource name segment (usersId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkEditAssignedUserRolesRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkEditAssignedUserRolesResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/display-video-user-management
      - apiKey: []
      tags:
      - Users
  /v5/users:
    get:
      operationId: displayvideo.users.list
      summary: List users
      description: Lists users that are accessible to the current user. If two users have user roles on the same partner or advertiser, they can access each other. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
      parameters:
      - name: filter
        in: query
        required: false
        description: 'Allows filtering by user fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `displayName` and `email` fields must use the `HAS (:)` operator. * The `lastLoginTime` field must use either the `LESS THAN OR EQUAL TO (<=)` or `GREATER THAN OR EQUAL TO (>=)` operator. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `assignedUserRole.advertiserId` * `assignedUserRole.entityType`: This is synthetic field of `AssignedUserRole` used for filtering. Identifies the type of entity to which the user role is assigned. Valid values are `Partner` and `Advertiser`. * `assignedUserRole.parentPartnerId`: This is a synthetic field of `AssignedUserRole` used for filtering. Identifies the parent partner of the entity to which the user role is assigned. * `assignedUserRole.partnerId` * `assignedUserRole.userRole` * `displayName` * `email` * `lastLoginTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * The user with `displayName` containing "foo": `displayName:"foo"` * The user with `email` containing "bar": `email:"bar"` * All users with standard user roles: `assignedUserRole.userRole="STANDARD"` * All users with user roles for partner 123: `assignedUserRole.partnerId="123"` * All users with user roles for advertiser 123: `assignedUserRole.advertiserId="123"` * All users with partner level user roles: `entityType="PARTNER"` * All users with user roles for partner 123 and advertisers under partner 123: `parentPartnerId="123"` * All users that last logged in on or after 2023-01-01T00:00:00Z (format of ISO 8601): `lastLoginTime>="2023-01-01T00:00:00Z"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.'
        schema:
          type: string
      - name: orderBy
        in: query
        required: false
        description: 'Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. For example, `displayName desc`.'
        schema:
          type: string
      - name: pageSize
        in: query
        required: false
        description: Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.
        schema:
          type: integer
          format: int32
      - name: pageToken
        in: query
        required: false
        description: A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListUsers` method. If not specified, the first page of results will be returned.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListUsersResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/display-video-user-management
      - apiKey: []
      tags:
      - Users
    post:
      operationId: displayvideo.users.create
      summary: Create users
      description: Creates a new user. Returns the newly created user if successful. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/display-video-user-management
      - apiKey: []
      tags:
      - Users
components:
  schemas:
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    ListUsersResponse:
      properties:
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
          description: The list of users. This list will be absent if empty.
        nextPageToken:
          description: A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListUsers` method to retrieve the next page of results. This token will be absent if there are no more results to return.
          type: string
      type: object
    Empty:
      description: 'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }'
      properties: {}
      type: object
    BulkEditAssignedUserRolesRequest:
      type: object
      properties:
        deletedAssignedUserRoles:
          items:
            type: string
          type: array
          description: The assigned user roles to delete in batch, specified as a list of assigned_user_role_ids. The format of assigned_user_role_id is `entityType-entityid`, for example `partner-123`.
        createdAssignedUserRoles:
          description: The assigned user roles to create in batch, specified as a list of AssignedUserRoles.
          items:
            $ref: '#/components/schemas/AssignedUserRole'
          type: array
      description: Request message for BulkEditAssignedUserRoles.
    BulkEditAssignedUserRolesResponse:
      properties:
        createdAssignedUserRoles:
          description: The list of assigned user roles that have been successfully created. This list will be absent if empty.
          items:
            $ref: '#/components/schemas/AssignedUserRole'
          type: array
      type: object
    AssignedUserRole:
      properties:
        assignedUserRoleId:
          description: Output only. The ID of the assigned user role.
          readOnly: true
          type: string
        userRole:
          type: string
          description: Required. The user role to assign to a user for the entity.
          enum:
          - USER_ROLE_UNSPECIFIED
          - ADMIN
          - ADMIN_PARTNER_CLIENT
          - STANDARD
          - STANDARD_PLANNER
          - STANDARD_PLANNER_LIMITED
          - STANDARD_PARTNER_CLIENT
          - READ_ONLY
          - REPORTING_ONLY
          - LIMITED_REPORTING_ONLY
          - CREATIVE
          - CREATIVE_ADMIN
        advertiserId:
          type: string
          description: The ID of the advertiser that the assigend user role applies to.
          format: int64
        partnerId:
          type: string
          description: The ID of the partner that the assigned user role applies to.
          format: int64
      type: object
      description: A single assigned user role, which defines a user's authorized interaction with a specified partner or advertiser.
    User:
      properties:
        userId:
          description: Output only. The unique ID of the user. Assigned by the system.
          type: string
          format: int64
          readOnly: true
        name:
          description: Output only. The resource name of the user.
          type: string
          readOnly: true
        displayName:
          type: string
          description: Required. The display name of the user. Must be UTF-8 encoded with a maximum size of 240 bytes.
        assignedUserRoles:
          description: The assigned user roles. Required in CreateUser. Output only in UpdateUser. Can only be updated through BulkEditAssignedUserRoles.
          type: array
          items:
            $ref: '#/components/schemas/AssignedUserRole'
        lastLoginTime:
          type: string
          description: Output only. The timestamp when the user last logged in DV360 UI.
          format: google-datetime
          readOnly: true
        email:
          type: string
          description: Required. Immutable. The email address used to identify the user.
      description: A single user in Display & Video 360.
      type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/doubleclickbidmanager: View and manage your reports in DoubleClick Bid Manager
            https://www.googleapis.com/auth/display-video-user-management: 'Private Service: https://www.googleapis.com/auth/display-video-user-management'
            https://www.googleapis.com/auth/display-video: Create, see, edit, and permanently delete your Display & Video 360 entities and reports
            https://www.googleapis.com/auth/display-video-mediaplanning: Create, see, and edit Display & Video 360 Campaign entities and see billing invoices
externalDocs:
  url: https://developers.google.com/display-video/
x-provenance:
  method: harvested
  publisher: Google
  source: https://displayvideo.googleapis.com/$discovery/rest?version=v5
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261110)