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.
My Business Place Actions API
Stay organized with collections
Save and categorize content based on your preferences.
The My Business Place Actions API provides an interface for managing place action links of a location on Google.
Note - If you have a quota of 0 after enabling the API, please request for GBP API access.
Service: mybusinessplaceactions.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://mybusinessplaceactions.googleapis.com
Methods |
create |
POST /v1/{parent=locations/*}/placeActionLinks
Creates a place action link associated with the specified location, and returns it. |
delete |
DELETE /v1/{name=locations/*/placeActionLinks/*}
Deletes a place action link from the specified location. |
get |
GET /v1/{name=locations/*/placeActionLinks/*}
Gets the specified place action link. |
list |
GET /v1/{parent=locations/*}/placeActionLinks
Lists the place action links for the specified location. |
patch |
PATCH /v1/{placeActionLink.name=locations/*/placeActionLinks/*}
Updates the specified place action link and returns it. |
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.
[null,null,["Last updated 2024-10-16 UTC."],[[["\u003cp\u003eThe My Business Place Actions API allows management of place action links for Google locations.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use Google-provided client libraries or the service endpoint for API requests.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers methods to create, delete, get, list, and update place action links.\u003c/p\u003e\n"],["\u003cp\u003ePlace action type metadata can be accessed to see available options.\u003c/p\u003e\n"],["\u003cp\u003eUsers with a quota of 0 may need to request access to the GBP API.\u003c/p\u003e\n"]]],[],null,["# My Business Place Actions API\n\nThe My Business Place Actions API provides an interface for managing place action links of a location on Google. \n\nNote - If you have a quota of 0 after enabling the API, please [request](https://developers.google.com/my-business/content/prereqs#request-access) for GBP API access.\n\n- [REST Resource: v1.locations.placeActionLinks](#v1.locations.placeActionLinks)\n- [REST Resource: v1.placeActionTypeMetadata](#v1.placeActionTypeMetadata)\n\nService: mybusinessplaceactions.googleapis.com\n----------------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://mybusinessplaceactions.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://mybusinessplaceactions.googleapis.com`\n\nREST Resource: [v1.locations.placeActionLinks](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks)\n----------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [create](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks/create) | `POST /v1/{parent=locations/*}/placeActionLinks` Creates a place action link associated with the specified location, and returns it. |\n| [delete](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks/delete) | `DELETE /v1/{name=locations/*/placeActionLinks/*}` Deletes a place action link from the specified location. |\n| [get](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks/get) | `GET /v1/{name=locations/*/placeActionLinks/*}` Gets the specified place action link. |\n| [list](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks/list) | `GET /v1/{parent=locations/*}/placeActionLinks` Lists the place action links for the specified location. |\n| [patch](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks/patch) | `PATCH /v1/{placeActionLink.name=locations/*/placeActionLinks/*}` Updates the specified place action link and returns it. |\n\nREST Resource: [v1.placeActionTypeMetadata](/my-business/reference/placeactions/rest/v1/placeActionTypeMetadata)\n----------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|\n| [list](/my-business/reference/placeactions/rest/v1/placeActionTypeMetadata/list) | `GET /v1/placeActionTypeMetadata` Returns the list of available place action types for a location or country. |"]]