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

Logic to get Administrative Area value when city is provided

Follower ✭ ☆ ☆
# 1
Follower ✭ ☆ ☆

Hi Team,


Based on my earlier cases, I understand that we can get a valid list of Administrative Area from GMB UI



As our application does not contain AdministrativeArea for every request that is sent to GMB, we are planning to make a list of all the AdministrativeAreas for each and every country(from GMB UI). But, if at all, only a city is provided, then we could not find any logic to get the exact Administrative Area for this city.


Can you help us in suggesting any optimal solution to map the exact Administrative Area value when a city is provided before passing this request to GMB.


Thanks and Regards,



1 Expert replyverified_user

Re: Logic to get Administrative Area value when city is provided

Google Employee
# 2
Google Employee

Hi @anumula b,


Besides verifying with the address editor in the Google My Business UI, I suggest you find online sources on Google to look up the full ISO 3166-2 code for the administrativeArea field for a location in a particular city of a country.