Google Business Performance
API has a NEW
API method that allows fetching multiple `DailyMetrics` in a single API request. Review the deprecation schedule
and instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.
REST Resource: accounts.locations.admins
Stay organized with collections
Save and categorize content based on your preferences.
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 2024-10-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[[["\u003cp\u003eAn Admin resource represents an administrator for a Google My Business Account or Location, with details such as name, role, and pending invitation status.\u003c/p\u003e\n"],["\u003cp\u003eAdmins have specific roles within an Account or Location, and their information is organized in a structured JSON format.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage Admins (inviting, removing, updating, or viewing them) using dedicated methods, although some methods like \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003epatch\u003c/code\u003e are currently deprecated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdmin\u003c/code\u003e resource includes fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eadminName\u003c/code\u003e, \u003ccode\u003erole\u003c/code\u003e, and \u003ccode\u003ependingInvitation\u003c/code\u003e to provide comprehensive information about the administrator.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.locations.admins\n\n- [Resource: Admin](#Admin)\n - [JSON representation](#Admin.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Admin\n---------------\n\nAn administrator of an [Account](/my-business/reference/rest/v4/accounts#Account) or a [Location](/my-business/reference/rest/v4/accounts.locations#Location).\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"adminName\": string, \"role\": enum (/my-business/reference/rest/v4/AdminRole), \"pendingInvitation\": boolean } ``` |\n\n| Fields ||\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name. For account admins, this is in the form: `accounts/{accountId}/admins/{adminId}` For location admins, this is in the form: `accounts/{accountId}/locations/{locationId}/admins/{adminId}` |\n| `adminName` | `string` The name of the admin. When making the initial invitation, this is the invitee's email address. On `GET` calls, the user's email address is returned if the invitation is still pending. Otherwise, it contains the user's first and last names. |\n| `role` | `enum (`[AdminRole](/my-business/reference/rest/v4/AdminRole)`)` Specifies the [AdminRole](/my-business/reference/rest/v4/AdminRole) that this admin uses with the specified [Account](/my-business/reference/rest/v4/accounts#Account) or [Location](/my-business/reference/rest/v4/accounts.locations#Location) resource. |\n| `pendingInvitation` | `boolean` Output only. Indicates whether this admin has a pending invitation for the specified resource. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| ### [create](/my-business/reference/rest/v4/accounts.locations.admins/create)` ` **(deprecated)** | Invites the specified user to become an administrator for the specified location. |\n| ### [delete](/my-business/reference/rest/v4/accounts.locations.admins/delete)` ` **(deprecated)** | Removes the specified admin as a manager of the specified location. |\n| ### [list](/my-business/reference/rest/v4/accounts.locations.admins/list)` ` **(deprecated)** | Lists all of the admins for the specified location. |\n| ### [patch](/my-business/reference/rest/v4/accounts.locations.admins/patch)` ` **(deprecated)** | Updates the Admin for the specified Location Admin. |"]]