Engineering · Google Business Profile API
The Google Business Profile API,without the integration tax.
business.manage scope, then keeps a local mirror your team can query, diff and audit. You get the profiles without building the approval, token refresh and retry plumbing yourself.The surfaces
Five Google APIs, one integration you do not have to maintain.
Google split the old Google My Business API into separate services. Bhoomi uses each for the job it was built for, and stores the result in one workspace model so a location reads the same wherever you look at it.
| API | Base surface | What Bhoomi uses it for | Direction |
|---|---|---|---|
| Account Management API | mybusinessaccountmanagement.googleapis.com/v1 | The accounts and locations your Google identity can administer, including the role behind that access. | Read |
| Business Information API | mybusinessbusinessinformation.googleapis.com/v1 | Location records: name, description, phone, website, address, categories, attributes and regular hours. | Read + patch |
| Reviews (Business Profile) | mybusiness.googleapis.com/v4 | Reviews per location, including rating, text and reply state — and the reply write itself. | Read + write |
| Local posts | mybusiness.googleapis.com/v4 | Post creation for a location where the surface is available to the project. Not part of the self-serve workflow yet. | Write (limited) |
| Business Profile Performance API | businessprofileperformance.googleapis.com/v1 | Daily time series for the metrics Google exposes to your project, such as Maps impressions. | Read |
Endpoint names belong to Google
Authorization
One scope. Encrypted at rest. Never in the browser.
Bhoomi uses an authorization-code flow with offline access, requesting only what it needs to identify you and manage the profiles you already control. The refresh token is encrypted on the server and is never exposed to client JavaScript.
Minimum scope
openid, email and profile for identity; business.manage for listing operations. Nothing broader.
Offline access
access_type=offline and prompt=consent so a refresh token is issued and can be used after the first hour.
CSRF state
A random state value is stored in a short-lived HTTP-only cookie and checked on the callback.
Envelope encryption
AES-256-GCM with a random IV and auth tag per token, stored as v1.iv.tag.ciphertext.
Early refresh
Tokens are refreshed shortly before expiry; a failed refresh is logged and surfaced, not retried indefinitely.
authorization request
scope = "openid email profile
https://www.googleapis.com/auth/business.manage"
access_type = offline
prompt = consent
response_type = codeGoogle shows the requested access on its own consent screen. If you do not want Bhoomi to manage profiles, do not approve it — there is no partial mode.
stored token envelope
v1.9c0f2a… .b41e77… .d2a95e…
- v1 — envelope version, so the cipher can be rotated
- iv — 12 random bytes per token
- tag — GCM authentication tag
- ciphertext — the token itself, unreadable without the server key
Storage, refresh and rotation live server-side. The dashboard never receives a Google token — only the result of an API call Bhoomi made on your behalf.
Source of truth
Google owns the facts. Bhoomi owns the working copy.
What a customer sees in Search and Maps is whatever Google holds, so Bhoomi never pretends to be the system of record. It keeps a versioned mirror for fast portfolio queries, a revision log for accountability, and a write-through path so local intent becomes a Google change.
Google Business Profile
Authoritative for public facts: name, hours, categories, reviews and whether a profile is verified or suspended.
Bhoomi workspace
A versioned mirror with scores, labels, revisions and audit events. Edited first, so a Google failure never loses the operator's intent.
Kshetra microsite
Rendered from the workspace copy and re-rendered whenever the listing changes. It never invents a fact the listing does not hold.
Write-through, step by step
- 1
Validate against the listing schema
Field length, URL shape, phone digits, category rules. A bad value fails before anything is stored.
- 2
Commit locally, conditionally
The update is applied only if the row version still matches. A revision and an audit event are written in the same step.
- 3
Push only the changed fields
Google receives a PATCH with an updateMask built from the fields you touched, not a full overwrite of the location.
- 4
Record the outcome
The audit event stores whether the Google write was skipped, ok or failed. A failure keeps the local revision and reports it.
Bulk jobs are local-first
A queued batch commits in 500-row slices with a revision per row. Direct edits in the listing editor perform the Google PATCH immediately afterwards and surface the result. That difference is deliberate: batches stay durable, single edits give instant feedback.
Why not Google-first?
Field coverage
What Bhoomi can actually write. And what it will not pretend to.
Google's API writes are not uniform: some fields are synchronous, some are asynchronous, some are restricted to approved projects. This table is the honest current state of the self-serve product.
| Field | Google field | Status |
|---|---|---|
| Business name | title | Yes |
| Description | profile.description | Yes |
| Primary phone | phoneNumbers.primaryPhone | Yes |
| Website | websiteUri | Yes |
| Storefront address | storefrontAddress | Yes |
| Categories | categories | Yes |
| Regular hours | regularHours | Yes |
| Special hours | specialHours | Not in Bhoomi yet |
| Attributes | attributes | Read-only in Bhoomi |
| Media | media | Not in Bhoomi yet |
| Labels | Bhoomi workspace field | Bhoomi only |
Labels are a Bhoomi concept for scoping bulk edits and saved views; they are not written to Google. That is why a label can exist on a listing that Google knows nothing about.
Reality check
Approval, quotas and policy are Google's to set.
An integration is not just code. Access is granted per Google Cloud project, quotas are enforced per method, and policy compliance can be reviewed at any time. Bhoomi plans for that instead of promising a frictionless API that does not exist.
Per-project approval
Bhoomi carries the API approval for its OAuth client, so a new workspace does not need its own Google Cloud project or review cycle.
Quotas change
Google sets quotas per API and method, and revises them. We do not publish numbers we cannot verify — check Google's current documentation for your project.
Some writes are async
A PATCH can return before the change is live, and some fields go to review. Bhoomi records acceptance, not a guarantee of instant publication.
Policy is enforced
Review manipulation, misleading categories and prohibited content can get a project restricted. Bhoomi will not build features that require breaking those rules.
Unavailable means absent
If Google has not granted a method to Bhoomi's project, the feature is marked unavailable. It is never simulated with plausible-looking data.
One location, one writer
Bhoomi serialises writes per location and relies on Google's own state as the final word when two systems disagree.
No scraping
What we would need to fix
Answers
The questions engineers actually ask.
Scope, storage, field coverage and failure behaviour — the four things that decide whether an API integration is trustworthy.
Does Bhoomi use the official Google Business Profile API?
Yes. Bhoomi reads and writes through Google's official surfaces: the Account Management API for the accounts you can access, the Business Information API for location records, the Business Profile review endpoints for reviews and replies, and the Performance API for daily metrics. No scraping and no unofficial endpoints.
Which OAuth scope does Bhoomi request?
openid, email and profile to identify the account, plus https://www.googleapis.com/auth/business.manage to read and edit the profiles you already manage. Bhoomi does not request broader Google account access, and the scope is shown on Google's consent screen before you approve it.
How are Google tokens stored?
Access and refresh tokens are encrypted at rest with AES-256-GCM under a server-side key, wrapped in a versioned envelope. They never reach the browser. Access tokens are refreshed shortly before expiry, and a refresh failure is logged rather than retried forever.
Can I use my own Google Cloud project?
Bhoomi operates the OAuth client and the API approval that comes with it, so you do not need a Google Cloud project to start. Enterprise deployments can discuss a dedicated project with our team; it is not a self-serve option today.
What happens when Google's API returns a quota error?
The write is reported as failed for that row and the batch continues. Bhoomi processes work in bounded slices rather than bursting the whole portfolio, backs off on retryable errors, and records the outcome so a quota problem is visible instead of silently dropping changes.
Is every field writable through the API?
No, and we will not pretend otherwise. Bhoomi writes name, description, primary phone, website, storefront address, categories and regular hours. Media upload, special hours and some attribute types remain read-only in Bhoomi today because the API surface for them is restricted, asynchronous or only partially writable.
Integrate less