Method: networks.users.get
Stay organized with collections
Save and categorize content based on your preferences.
API to retrieve a User object.
To get the current user, the resource name networks/{networkCode}/users/me
can be used.
HTTP request
GET https://admanager.googleapis.com/v1/{name}
Path parameters
Parameters |
name |
string
Required. The resource name of the User. Format: networks/{networkCode}/users/{userId}
|
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/admanager
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis API retrieves a User object, providing details about a specific user within the Ad Manager network.\u003c/p\u003e\n"],["\u003cp\u003eTo get the current user's information, use the resource name \u003ccode\u003enetworks/{networkCode}/users/me\u003c/code\u003e with a GET request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/admanager\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe response will contain a User object with the requested user's details if the request is successful.\u003c/p\u003e\n"]]],["This API retrieves a User object using a `GET` request to `https://admanager.googleapis.com/v1/{name}`. The `name` path parameter, formatted as `networks/{networkCode}/users/{userId}`, is required to specify the user. Alternatively, `networks/{networkCode}/users/me` fetches the current user. The request body must be empty. A successful response returns a User object. Authorization requires the `https://www.googleapis.com/auth/admanager` OAuth scope.\n"],null,["# Method: networks.users.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nAPI to retrieve a User object.\n\nTo get the current user, the resource name `networks/{networkCode}/users/me` can be used.\n\n### HTTP request\n\n`GET https://admanager.googleapis.com/v1/{name}`\n\n### Path parameters\n\n| Parameters ||\n|--------|---------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The resource name of the User. Format: `networks/{networkCode}/users/{userId}` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [User](/ad-manager/api/beta/reference/rest/v1/networks.users#User).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admanager`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]