AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

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

Please help me.I dont know if there's an API exists on these matter.

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

Are we able to check if a business is registered in google my business with the google API?

1 Expert replyverified_user

Please help me.I dont know if there's an API exists on these matter.

Follower ✭ ☆ ☆
# 2
Follower ✭ ☆ ☆

if your business is already associated with a business account and a google plus URL. you can check your business verification status using following java code. If I'm not wrong this is what you expected right.


public static void getLocation(String location) {

        HttpTransport httpTransport;

        try {

            httpTransport = GoogleNetHttpTransport.newTrustedTransport();

            Credential credential = buildCredential(token, secret);

            mybusiness = new Mybusiness.Builder(httpTransport, JSON_FACTORY, credential)


            Mybusiness.Accounts.Locations.Get get = mybusiness.accounts().locations().get(location);

            Location l = get.execute();

            System.out.println("is verified " + l.getLocationState().getIsVerified());

            System.out.println("location " + l.toPrettyString());

        } catch (GoogleJsonResponseException e) {

            System.out.println("googleJson response exception " + e.getMessage());

        } catch (IOException | GeneralSecurityException e) {


        } catch (Exception e) {

            System.out.println("Exception occured while " + e.getMessage());




Re: Please help me.I dont know if there's an API exists on these matter.

Google Employee
# 3
Google Employee

Hi @Rachmar M,


Yes, you can use the Google My Business API to create and edit registered locations in Google My Business. These locations can be used in Ads but need to be verified to be eligible to appear in Search, Maps, and other Google properties. Note that verification of locations is not supported via the API. A verified location is indicated by the isVerified boolean field in the LocationState object via the API.


We are currently only targeting tech-savvy chains and third parties which manage Google My Business data for access to the Google My Business API. Applicants must also meet minimum feature requirements and product guidelines. Please check out the Prerequisites page of our Google Developers site to learn more about requesting access to the API.