Method: users.get

  • Display & Video 360 API v1 is retired, and this documentation details the GET method for retrieving user information using the updated API.

  • This method requires specific authentication outlined in the Managing Users guide, and the "Try this method" feature is unavailable.

  • The request is made to a specific URL with the user ID as a path parameter, requiring an empty request body.

  • A successful response returns user details as defined in the User object documentation, and authorization requires a specific OAuth scope for user management.

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.

HTTP request

GET https://displayvideo.googleapis.com/v1/users/{userId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
userId

string (int64 format)

Required. The ID of the user to fetch.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of User.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video-user-management

For more information, see the OAuth 2.0 Overview.