L'API
Google Business Performance propose une
NOUVELLE méthode qui permet d'extraire plusieurs `DailyMetrics` avec une seule requête API.
Consultez le
planning d'abandon et les instructions pour migrer de la méthode API reportInsights v4 à l'API Google Business Profile Performance.
REST Resource: googleLocations
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[[["\u003cp\u003eGoogleLocation represents a location on Google, which can be claimed, unclaimed, or claimed by another user.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details like name, location information, and a URL to request admin rights if the location is claimed.\u003c/p\u003e\n"],["\u003cp\u003eYou can search for GoogleLocations using the provided search method based on specific criteria.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a GoogleLocation includes name, location data, and request admin rights URI.\u003c/p\u003e\n"]]],[],null,["# REST Resource: googleLocations\n\n- [Resource: GoogleLocation](#GoogleLocation)\n - [JSON representation](#GoogleLocation.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: GoogleLocation\n------------------------\n\nRepresents a [Location](/my-business/reference/businessinformation/rest/v1/accounts.locations#Location) that is present on Google. This can be a location that has been claimed by the user, someone else, or could be unclaimed.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"location\": { object (/my-business/reference/businessinformation/rest/v1/accounts.locations#Location) }, \"requestAdminRightsUri\": string } ``` |\n\n| Fields ||\n|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Resource name of this GoogleLocation, in the format `googleLocations/{googleLocationId}`. |\n| `location` | `object (`[Location](/my-business/reference/businessinformation/rest/v1/accounts.locations#Location)`)` The sparsely populated [Location](/my-business/reference/businessinformation/rest/v1/accounts.locations#Location) information. This field can be re-used in [locations.create](/my-business/reference/businessinformation/rest/v1/accounts.locations/create#google.mybusiness.businessinformation.v1.Locations.CreateLocation) if it is not currently claimed by a user. |\n| `requestAdminRightsUri` | `string` A URL that will redirect the user to the request admin rights UI. This field is only present if the location has already been claimed by any user, including the current user. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| ### [search](/my-business/reference/businessinformation/rest/v1/googleLocations/search) | Search all of the possible locations that are a match to the specified request. |"]]