Google

My Business Place Actions API

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…

Developer tools#openapi#analytics#media

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

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 GBP API access at https://developers.google.com/my-business/content/prereqs#request-access.

Endpoints 6

locations.placeActionLinks

  • GETLists the place action links for the specified location./v1/:parent/placeActionLinks?filter=string&pageSize=0&pageToken=stringLists the place action links for the specified location.
  • POSTCreates a place action link associated with the specified location, and returns it/v1/:parent/placeActionLinksCreates a place action link associated with the specified location, and returns it. The request is considered duplicate if the parent, place_action_link.uri…
  • GETGets the specified place action link./v1/:nameGets the specified place action link.
  • DELETEDeletes a place action link from the specified location./v1/:nameDeletes a place action link from the specified location.
  • PATCHUpdates the specified place action link and returns it./v1/:name?updateMask=stringUpdates the specified place action link and returns it.

placeActionTypeMetadata

  • GETReturns the list of available place action types for a location or country./v1/placeActionTypeMetadata?filter=string&languageCode=string&pageSize=0&pageToken=stringReturns the list of available place action types for a location or country.

API details

Base URL
https://mybusinessplaceactions.googleapis.com
Authentication
OAuth 2.0 (authorization code flow)
An API key in the key query parameter
Operations
6 operations on 3 pathsGET 3POST 1PATCH 1DELETE 1
Main resources
locations.placeActionLinks 5placeActionTypeMetadata 1
Response formats
application/json
Description format
Google API Discovery, API version v1

How to test the My Business Place Actions API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the My Business Place Actions API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow). Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Lists the place action links for the specified location.” (GET /v1/:parent/placeActionLinks?filter=string&pageSize=0&pageToken=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the My Business Place Actions API?

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… It is listed under Developer tools and has 6 endpoints.

Who publishes the My Business Place Actions API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the My Business Place Actions API?

Requests go to https://mybusinessplaceactions.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the My Business Place Actions API?

It accepts 2 methods: OAuth 2.0 (authorization code flow); an API key in the key query parameter.

How many endpoints does the My Business Place Actions API have?

6 operations on 3 paths (3 GET, 1 POST, 1 PATCH, 1 DELETE). The largest groups are locations.placeActionLinks, placeActionTypeMetadata.

Is forking the My Business Place Actions API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.