Search code examples
deprecatedgoogle-my-business-api

GMB - Removal of LocationState object in Business Information API


Google deprecated the old GMB API v4.9 account.locations.get endpoint, and replaced it with Business Information API v1 locations.get.

Code change that affects me is:

The new Metadata object does not return the attributes LocationState object contained before. The ones I'm interested in are:

  • isVerified
  • isPublished
  • isSuspended
  • isDisabled
  • isDisconnected
  • etc...

My question is: How could I get this data without using deprecated endpoints?


Solution

  • Try Verification API getVoiceOfMerchantState

    isVerified  (verify),
    isPublished (hasVoiceOfMerchant=true AND hasBusinessAuthority=true),
    isSuspended (complyWithGuidelines),
    isDuplicate (resolveOwnershipConflict).
    isDisabled & isDisconnected have no equivalent in new API