GMB API Attributes LIst Question[ Edited ]
January 2017 - last edited January 2017 by Shalini S
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 ?
Re: GMB API Attributes LIst Question
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