Этот метод имеет уникальные требования к аутентификации. Прежде чем использовать этот метод, прочтите предварительные требования в нашем руководстве по управлению пользователями .
Функция «Попробуйте этот метод» для этого метода не работает.
HTTP-запрос
GET https://displayvideo.googleapis.com/v1/users/{userId}
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2024-10-30 UTC."],[[["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."]]],["The core content outlines how to retrieve a user via the Display & Video 360 API, noting that version 1 is no longer available. A `GET` request to `https://displayvideo.googleapis.com/v1/users/{userId}` is required, with the `userId` specified as a path parameter. The request body should be empty. Successful requests return a `User` instance in the response body. Utilizing this method requires specific prerequisites from the Managing Users guide, and the scope `https://www.googleapis.com/auth/display-video-user-management` for authorization.\n"]]