/v1/brands/{brand_id}/gbp/locations/{location_id}/profile Update a location's profile
Write profile fields to Google: the description (750 characters at most; refused for the kinds of business Google locks it on, see description_locked), the website, the phone, the hours, special hours date by date (special_hours sets a date, special_hours_remove takes one out, the other dates stay), the primary and additional categories and the services. Only the fields given change, in one write, and the change is public on Google at once. A category change re-sends the services, since Google clears them otherwise. A service description over Google's 300 characters, given or already on Google, is never cut: nothing is written and the call answers 422 gbp_service_description_too_long naming each service, its length and its text; send the same write again with the shortened texts in service_descriptions. Answers the profile as Google keeps it. Requires the brand owner on Starter or with an active API subscription: 403 brand_plan_required otherwise. A brand without Google connected answers 400 google_not_connected, an expired connection 400 google_connection_expired.
Path parameters
-
The linked location's id, from
GET .../gbp/locations. -
Brand UUID.
Query parameters
-
Preview the call without executing it. Runs auth, scope, eligibility and body validation, then returns
200with adry_runobject reporting the request-unit and credit cost plus a non-consuming quota snapshot. Nothing is debited, reserved, dispatched or mutated. An invalid body still returns422.default: false
Header parameters
-
Optional. A retry with the same key and body within 24 hours replays the first success; a 4xx or 5xx is not stored.
Request body
application/json required- additional_category_ids array of string (nullable) nullable
- primary_category_id string (nullable) nullable
- primary_phone string (nullable) nullable
- profile_description string (nullable) nullable
- regular_hours array of GbpHoursPeriod (nullable) nullable
Every open window of the week, replacing the hours.
- service_descriptions object (nullable) nullable
A description per service name (matched without case), with
service_itemsor a category change, which re-sends the services; an empty one removes it. Google takes 300 characters counted in UTF-16 units (an emoji counts two); a longer one, given or already on Google, is never cut: the write is refused withgbp_service_description_too_long. - service_items array of string (nullable) nullable
Free-form service labels to replace the entire serviceItems list
- special_hours array of GbpSpecialHoursPeriod (nullable) nullable
Special hours to add or change, matched by start date: an entry replaces what the listing has for that date, and every other date stays. An empty list changes nothing. Each is closed, or open with both times; none ends before it starts, and no two start on the same day. Days already over are left out of what is written to Google.
- special_hours_remove array of string (nullable) nullable
Dates (
YYYY-MM-DD) whose special hours are taken out; a date the listing has none for is ignored. Taken out beforespecial_hoursis set, in the same write. - website_uri string (nullable) nullable
Example payload
{
"profile_description": "Family dental clinic in Austin with same-day appointments.",
"service_items": [
"Teeth cleaning",
"Whitening"
],
"website_uri": "https://www.rankprompt.com"
}Responses
-
The profile's audit: the 0 to 100 score over the checks measured, and each measured check's state (
field_idnames the check).Show fields
- field_statuses array of GbpFieldStatus
-
Google's location id.
-
The linked location's id.
- additional_categories array of string
- additional_category_ids array of string
- address_lines array of string
- brand_mismatch boolean
The listing names neither the brand nor its website: likely another business's profile.
- country string (nullable) nullable
- description string (nullable) nullable
- description_locked boolean
Google refuses edits of the description for this kind of business.
- description_locked_reason string (nullable) nullable
- formatted_address string (nullable) nullable
- has_pending_edits boolean
Google held an edit of this location it had not published yet when the profile was last read.
- locality string (nullable) nullable
- maps_uri string (nullable) nullable
- new_review_uri string (nullable) nullable
The link that opens a new review of the location.
- object string
Always
gbp_profile. - open_for_business boolean (nullable) nullable
- postal_code string (nullable) nullable
- primary_category string (nullable) nullable
- primary_category_id string (nullable) nullable
- primary_phone string (nullable) nullable
- region string (nullable) nullable
- regular_hours_periods array of GbpHoursPeriod
- regular_hours_summary string (nullable) nullable
- service_items array of object
The services listed, as Google has them.
Show fields
Array of:
Empty object (no properties).
- special_hours_periods array of GbpSpecialHoursPeriod
Every special hours entry of the listing, the ones
special_hours_summarycounts. - special_hours_summary string (nullable) nullable
- title string (nullable) nullable
- website_uri string (nullable) nullable
-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "validation_error",
"message": "Request validation failed"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "unauthorized",
"message": "Missing or invalid credentials"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "forbidden",
"message": "You do not have permission to access this resource"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "not_found",
"message": "Resource not found"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "conflict",
"message": "Resource conflict"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "body_validation_error",
"message": "Request body did not match the expected schema"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "rate_limit_exceeded",
"message": "Per-minute rate limit exceeded"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "internal_error",
"message": "An unexpected error occurred"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "service_unavailable",
"message": "Service temporarily unavailable, please retry"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}