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

GMB API Attributes LIst Question

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



So I am curious how the attributes are returned when Method: attributes.list is called. I pass in name and categoryId to get the list of attributes available for a specific location. 


My question is how does this list returned change from location to location for the same categoryId ? I did quite a lot of tests and couldn't find an instance where 2 locations would return different list for a given category. Does it mean the location info is irrelevant to make this call in all cases ?

1 Expert replyverified_user

Re: GMB API Attributes LIst Question

Google Employee
# 2
Google Employee

Hi @Krishna P


No, location information is not irrelevant when retrieving attribute list. Attributes.list returns the list of available attributes that would be available for a location with either the provided categoryId and country, or for the specific locationID provided.


For testing purpose, please checkout given HTTP requests using OAuth 2.0 Playground to see the differences in attribute list for two different locations with same categoryId. In these HTTP URIs, we are using same categoryId ‘western_restaurant’ for two different countries USA and Afghanistan.

I hope this helps.



The Google My Business API team