Display- und Video 360 API Version 2 wird eingestellt. Verwenden Sie Display- und Video 360 API v3. Eine Anleitung zur Migration von Version 2 zu Version 3 finden Sie in unserer Migrationsanleitung.
Für diese Methode gelten besondere Authentifizierungsanforderungen. Lesen Sie die Voraussetzungen im Nutzerhandbuch zur Nutzerverwaltung, bevor Sie diese Methode verwenden.
Die Funktion „Testen Sie diese Methode“ kann bei dieser Methode nicht verwendet werden.
HTTP-Anfrage
GET https://displayvideo.googleapis.com/v1/users/{userId}
[null,null,["Zuletzt aktualisiert: 2023-12-02 (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"]]