Design note — Google Business Profile connector (google_business_profile)
Target registry item: C3b (OB-GAP-4 — local & organic; first demand 203K9). Status: design note only — NOT in CONNECTOR_CATALOG; nothing built, nothing available. CDoD points 1–14 are tracked in docs/reports/ONBOARDING_CONNECTORS_STATE.md.
Auth
Read-only by adapter construction (the Business Profile APIs expose one scope, and it is a management scope — see Scopes). Two admissible paths, both merchant-owned (D2/D11):
- Platform service account as a Manager on the location. The customer adds the platform service account email (the same identity the GA4 card names) under Business Profile settings → People and access → Add, role Manager (the playbook §5 click path). Whether Business Profile accepts a service-account principal as a location user, and whether a lower role than Manager can read Performance metrics, was not verified — CDoD point 1, verified against a real location before the card is written.
- OAuth (fallback).
business.managethrough a platform OAuth client on Track O; shares the OB-GAP-1 consent-screen verification gate, so path 1 is preferred.
Either way the Cloud project that calls must be approved for Business Profile API access (operator, below). No environment fallback; vault-only per (tenant, provider); vault error → 503; absent → merchant_credentials_not_configured; a location_id in a request is a confirmation of the declared one, never an override.
Fields (catalog row, when built)
| key | label | secret | required | pattern | help |
|---|---|---|---|---|---|
location_id |
Location | no | yes | ^locations/\d+$ |
The location resource name, locations/<number>, shown on Test connection once access is granted — never typed from memory. |
account_id |
Business Profile account | no | no | ^accounts/\d+$ |
Only when the location is managed under a business account group. |
The Manager grant is a state, not a field: Test connection proves it.
Scopes
https://www.googleapis.com/auth/business.manage — the only Business Profile scope (fetched 2026-10-12). It is a write-capable scope; read-only is therefore enforced by the adapter: only fetchMultiDailyMetricsTimeSeries, getDailyMetricsTimeSeries and searchkeywords.impressions.monthly.list on the Performance API are called; no Business Information, Reviews reply, Posts or Verifications method is imported or constructed (rule-01 style test). The card help text says the grant covers more than the platform reads.
Data topics
Daily metrics time series per location (the Performance API's daily metrics — calls, website clicks, direction requests, impressions by surface, as exposed by the API; the exact metric enum is pinned at build); monthly search-keyword impressions. All aggregate. API: Business Profile Performance API v1.
Consent posture
| topic | posture |
|---|---|
| daily metrics (aggregate) | de-personalised remainder; no person-level field exists in the source |
| search keywords with monthly impression buckets | aggregate; keywords are not subjects; deny-listed category terms in a keyword list are still just aggregate strings but are not surfaced to the console (same rule the GSC note's posture implies) |
| reviews / Q&A text | OUT of scope: person-authored content with names; never requested |
Posture test in the TestD3ProcessingPosture style pins that no mapper output field is person-level.
Mapper target
MarketSignal (src/cells/cell37/ ingest) — local discovery demand is an external-intelligence signal, like organic search. MARKET_MAPPERS["google_business_profile"] → ingest_gate → mizoki_unified_data. No new store.
Failure modes → test-connection verdicts
| Failure | Verdict / fix |
|---|---|
| Service account not a user on the location | permission_denied → "Add <service account> as a Manager on the location under Business Profile settings → People and access." |
| Cloud project not approved for the Business Profile APIs (quota 0 / API not visible) | 503 operator item: submit the access request form; enable the APIs (Track O). |
| Location name typed in the wrong form | 422 invalid_field_format with the help text. |
| Vault read error | 503 fail-closed. |
Flag
GOOGLE_BUSINESS_PROFILE_SYNC default OFF; catalog row available: false until CDoD point 14 (live verification against a real location, recorded with date and revision).
Owner / operator gates
- Owner: none owner-level on path 1. Path 2 inherits the OB-GAP-1 owner gate (platform OAuth client + consent-screen verification) and is BLOCKED(owner) with it.
- Operator (Track O): submit the Business Profile API access request form for the platform Cloud project (the API is visible in the console only to an approved account, and the project must be approved before use — fetched 2026-10-12); enable the Business Profile Performance API (and the account-management API if location discovery needs it); confirm the service account email is the one the GA4 card already resolves.
Vendor references
- Business Profile Performance API reference — https://developers.google.com/my-business/reference/performance/rest — fetched 2026-10-12 (
locations.fetchMultiDailyMetricsTimeSeries,locations.getDailyMetricsTimeSeries,locations.searchkeywords.impressions.monthly.list; "merchants with a quota of 0 after enabling the API need to request access"). - Business Profile APIs basic setup — https://developers.google.com/my-business/content/basic-setup — fetched 2026-10-12 (scope
business.manage; access request form; project approval; the list of APIs to enable). - Service-account support as a location user, and the Performance API metric enum — not re-fetched from this sandbox on 2026-10-12.