My Business
5.1K members online now
5.1K members online now
For developers who are using the Google My Business API to manage locations
Guide Me
star_border
Reply

Where do I find my account Id?

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I am reading the documentation as listed below  but I am not sure where the account information shown in red:

 

accounts/0123456789/locations/9876543210

 

DOCUMENTATION:

 

The Google My Business API operations map directly to REST HTTP verbs.

The specific formats for Google My Business API URIs are:

 
https://mybusiness.googleapis.com/v3/resourcePath?parameters

The full set of URIs used for each supported operation in the API is summarized in the Google My Business API Reference document.

Resource IDs are defined using a resource path of the following form:accounts/account_name/locations/locationId
where account_name and locationId represent the numeric portions of the ID.

For example, the resource path to an account looks like this:

 

accounts/0123456789

 

The resource path for a location appears in this form:

accounts/0123456789/locations/9876543210

 

accounts/account_name/locations/locationId

1 Expert replyverified_user

Re: Where do I find my account Id?

Google Employee
# 2
Google Employee

Hi @Kemp H,

 

We suggest you please checkout this response on how you can get the account information including account_id in Google My Business API.

 

Thanks,

Shalini