Attention: v4.7 of the API has released! See change log. Posts related to COVID-19 are still temporarily permitted for chains.

Google My Business API

The Google My Business API provides an interface for managing business location information on Google.

Service: mybusiness.googleapis.com

The Service name mybusiness.googleapis.com is needed to create RPC client stubs.

google.bytestream.ByteStream

Methods
Write Write() is used to send the contents of a resource as a sequence of bytes.

google.bytestream.RestByteStream

Methods
UpdateMedia Uploads media.

google.mybusiness.v4.AccessControl

Methods
AcceptInvitation Accepts the specified invitation.
CreateAccountAdmin Invites the specified user to become an administrator for the specified account.
CreateLocationAdmin Invites the specified user to become an administrator for the specified location.
DeclineInvitation Declines the specified invitation.
DeleteAccountAdmin Removes the specified admin from the specified account.
DeleteLocationAdmin Removes the specified admin as a manager of the specified location.
ListAccountAdmins Lists the admins for the specified account.
ListInvitations Lists pending invitations for the specified account.
ListLocationAdmins Lists all of the admins for the specified location.
UpdateAccountAdmin Updates the Admin for the specified Account Admin.
UpdateLocationAdmin Updates the Admin for the specified Location Admin.

google.mybusiness.v4.Accounts

Methods
CreateAccount Creates an account with the specified name and type under the given parent.
DeleteNotifications Clears the pubsub notification settings for the account.
GenerateAccountNumber Generates an account number for this account.
GetAccount Gets the specified account.
GetNotifications Returns the pubsub notification settings for the account.
ListAccounts Lists all of the accounts for the authenticated user.
UpdateAccount Updates the specified business account.
UpdateNotifications

Sets the pubsub notification settings for the account informing My Business which topic to send pubsub notifications for:

  • New reviews for locations administered by the account.

google.mybusiness.v4.BusinessCategories

Methods
BatchGetBusinessCategories Returns a list of business categories for the provided language and GConcept ids.
ListBusinessCategories Returns a list of business categories.

google.mybusiness.v4.BusinessMessagingService

Methods

google.mybusiness.v4.Followers

Methods
GetFollowersMetadata Get the followers settings for a location.

google.mybusiness.v4.FoodMenuService

Methods
GetFoodMenus Returns the food menus of a specific location.
UpdateFoodMenus Updates the food menus of a specific location.

google.mybusiness.v4.GoogleLocations

Methods
ListRecommendedGoogleLocations List all the GoogleLocations that have been recommended to the specified GMB account.
ReportGoogleLocation Report a GoogleLocation.
SearchGoogleLocations Search all of the possible locations that are a match to the specified request.

google.mybusiness.v4.Insights

Methods
ReportLocalPostInsights Returns insights for a set of local posts associated with a single listing.
ReportLocationInsights Returns a report containing insights on one or more metrics by location.

google.mybusiness.v4.LocalPosts

Methods
CreateLocalPost Creates a new local post associated with the specified location, and returns it.
DeleteLocalPost Deletes a local post.
GetLocalPost Gets the specified local post.
ListLocalPosts Returns a list of local posts associated with a location.
UpdateLocalPost Updates the specified local post and returns the updated local post.

google.mybusiness.v4.Locations

Methods
AssociateLocation Associates a location to a place ID.
BatchGetLocations Gets all of the specified locations in the given account.
ClearLocationAssociation Clears an association between a location and its place ID.
CreateLocation Creates a new location owned by the specified account, and returns it.
DeleteLocation Deletes a location.
FindMatchingLocations Finds all of the possible locations that are a match to the specified location.
GetChain Gets the specified chain.
GetGoogleUpdatedLocation Gets the Google-updated version of the specified location.
GetLocation Gets the specified location.
ListAttributeMetadata Returns the list of available attributes that would be available for a location with the given primary category and country.
ListLocations Lists the locations for the specified account.
SearchChains Searches the chain based on chain name.
TransferLocation Moves a location from an account that the user owns to another account that the same user administers.
UpdateLocation Updates the specified location.

google.mybusiness.v4.Media

Methods
CreateMediaItem Creates a new media item for the location.
DeleteMediaItem Deletes the specified media item.
GetCustomerMediaItem Returns metadata for the requested customer media item.
GetMediaItem Returns metadata for the requested media item.
ListCustomerMediaItems Returns a list of media items associated with a location that have been contributed by customers.
ListMediaItems Returns a list of media items associated with a location.
StartUploadMediaItemData Generates a MediaItemDataRef for media item uploading.
UpdateMediaItem Updates metadata of the specified media item.

google.mybusiness.v4.QuestionsAndAnswers

Methods
CreateQuestion Adds a question for the specified location.
DeleteAnswer Deletes the answer written by the current user to a question.
DeleteQuestion Deletes a specific question written by the current user.
ListAnswers Returns the paginated list of answers for a specified question.
ListQuestions Returns the paginated list of questions and some of its answers for a specified location.
UpdateQuestion Updates a specific question written by the current user.
UpsertAnswer Creates an answer or updates the existing answer written by the user for the specified question.

google.mybusiness.v4.Reviews

Methods
BatchGetReviews Returns the paginated list of reviews for all specified locations.
DeleteReviewReply Deletes the response to the specified review.
GetReview Returns the specified review.
ListReviews Returns the paginated list of reviews for the specified location.
UpdateReviewReply Updates the reply to the specified review.

google.mybusiness.v4.ServiceLists

Methods
GetServiceList Get the specified service list of a location.
UpdateServiceList Updates the specified service list of a location.

google.mybusiness.v4.Verifications

Methods
CompleteVerification Completes a PENDING verification.
FetchVerificationOptions Reports all eligible verification options for a location in a specific language.
ListVerifications List verifications of a location, ordered by create time.
VerifyLocation Starts the verification process for a location.