Google Business Profile

Reviews of your customers' business locations, and the owner's replies, through your Google Cloud project with the single business.manage scope.

The permissions each operation needs are in App Review: Google Business Profile.

  • One Profile is one location, so connecting once discovers every location under every account it administers — a chain connects all its shops from one Connection.
  • Reviews are read-only: Google exposes no method that creates, edits, hides, deletes, or flags a review, so replying is the only owner action.
  • A reply has no id of its own — it is addressed by the id of the review it answers — so publishing to a review that already has a reply replaces it, the same write update makes; text is bounded at 4,096 **bytes** as UTF-8, not characters.
  • Google moderates every reply: a successful publish returns pending and becomes approved or rejected afterwards. Read the review to see the current state.
  • Reviews are listed most recently changed first, so a review the reviewer edits arrives again as an updated event. A review deleted on Google simply stops being listed: no event is emitted for it.
  • Google publishes review notifications to a Cloud Pub/Sub topic rather than an HTTP callback, so reviews are collected by polling at a fifteen-minute floor and there is no webhook URL to configure.
  • A review carries rating as whole stars on a 1–5 scale (with percent, which compares across platforms) and omits it when Google reports none; reviewer carries a display name and photo, or neither for an anonymous reviewer, because Google publishes no stable reviewer id.

Your Google Cloud project must be approved before it can make a single call

An unapproved project is capped at zero queries per minute. Approval requires a Business Profile verified and active for 60+ days, a website, and an application filed by an owner or manager on the profile. Replying additionally requires the location to be verified and, in a Workspace tenant, Google Search and/or Maps enabled by the admin.
CollectionOperationsEventsBackfill
google_business_profile.locations.reviewslist, getcreated, updatedyes
google_business_profile.locations.review_repliesget, publish, update, deletenoneno

google_business_profile.locations.reviews

list

List the location's reviews, most recently changed first.

FieldTypeRequiredDescription
profileIdstringyesKoil Profile associated with the operation.
cursorstringnoOpaque cursor for fetching the next result page.
limitintegernoMaximum number of items to return.
includePlatformRawbooleannoWhether to include transient platform-native payloads.
JSON Schema
{
  "type": "object",
  "required": [
    "profileId"
  ],
  "properties": {
    "profileId": {
      "type": "string",
      "description": "Koil Profile associated with the operation.",
      "minLength": 1
    },
    "cursor": {
      "type": "string",
      "description": "Opaque cursor for fetching the next result page.",
      "minLength": 1
    },
    "limit": {
      "type": "integer",
      "description": "Maximum number of items to return.",
      "minimum": 1,
      "maximum": 100
    },
    "includePlatformRaw": {
      "type": "boolean",
      "description": "Whether to include transient platform-native payloads."
    }
  },
  "additionalProperties": false
}

get

Get one review of the location by platform id.

FieldTypeRequiredDescription
profileIdstringyesKoil Profile associated with the operation.
externalIdstringyes
includePlatformRawbooleannoWhether to include transient platform-native payloads.
JSON Schema
{
  "type": "object",
  "required": [
    "profileId",
    "externalId"
  ],
  "properties": {
    "profileId": {
      "type": "string",
      "description": "Koil Profile associated with the operation.",
      "minLength": 1
    },
    "externalId": {
      "type": "string",
      "minLength": 1
    },
    "includePlatformRaw": {
      "type": "boolean",
      "description": "Whether to include transient platform-native payloads."
    }
  },
  "additionalProperties": false
}

Not offered

  • resolve_attachment: not applicable
  • publish: not applicable — A review is written by a customer on Google, never by the business.
  • update: platform not supported — Google exposes no method that edits a review.
  • perform_action: platform not supported — Google exposes no hide, spam, or report method on a review. Replying is the only owner action, on google_business_profile.locations.review_replies.
  • delete: platform not supported — Google exposes no method that deletes a review; flagging one for a policy violation is a Business Profile UI action with no API.

Events

Backfill: supported (bounded coverage); see Backfill history.

Item schema

What list and get return and what events carry as data.

FieldTypeRequiredDescription
externalIdstringyesPlatform-owned content identifier.
locationExternalIdstringyes
ratingobjectnoA score on the platform's own scale, with its position on that scale as a percentage.
textstringnoCaption/body text for content.
reviewerobjectyesThe reviewer as Google reports them: a name and photo, or neither when anonymous. Google publishes no stable reviewer id.
attachmentsunknown | unknown | unknown[]no
replyobjectno
publishedAtstring (date-time)noWhen the platform published it.
updatedAtstring (date-time)noWhen the platform last updated it.
platformRawunknownnoOptional platform-native payload included only for transient delivery/debug use.
kind"google_business_profile.locations.reviews"yesThe collection that delivered this item.

google_business_profile.locations.review_replies

get

Get the owner's reply to one review.

FieldTypeRequiredDescription
profileIdstringyesKoil Profile associated with the operation.
externalIdstringyesThe review's id; a reply has no id of its own.
includePlatformRawbooleannoWhether to include transient platform-native payloads.
JSON Schema
{
  "type": "object",
  "required": [
    "profileId",
    "externalId"
  ],
  "properties": {
    "profileId": {
      "type": "string",
      "description": "Koil Profile associated with the operation.",
      "minLength": 1
    },
    "externalId": {
      "type": "string",
      "minLength": 1,
      "description": "The review's id; a reply has no id of its own."
    },
    "includePlatformRaw": {
      "type": "boolean",
      "description": "Whether to include transient platform-native payloads."
    }
  },
  "additionalProperties": false
}

publish

Write the owner's reply to a review, replacing any existing reply. Google moderates it before it appears.

Submit through POST /v1/publish-requests with collection: "google_business_profile.locations.review_replies". These fields go in the item's args; profileId and variant are item fields.

FieldTypeRequiredDescription
targetobjectyesOne thing on the platform outside this item: content, an account, or anything else the platform gives an id or a URL.
textstringyesThe reply, at most 4096 bytes as UTF-8. Google moderates it: a successful publish is accepted, not yet visible.
JSON Schema
{
  "type": "object",
  "required": [
    "target",
    "text"
  ],
  "properties": {
    "target": {
      "type": "object",
      "required": [
        "kind",
        "externalId"
      ],
      "properties": {
        "kind": {
          "enum": [
            "google_business_profile.locations.reviews"
          ]
        },
        "externalId": {
          "type": "string",
          "description": "Platform-owned content identifier.",
          "minLength": 1
        }
      },
      "additionalProperties": false,
      "description": "One thing on the platform outside this item: content, an account, or anything else the platform gives an id or a URL."
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "The reply, at most 4096 bytes as UTF-8. Google moderates it: a successful publish is accepted, not yet visible."
    }
  },
  "additionalProperties": false
}

update

Edit the owner's reply to a review. Google moderates the new text before it appears.

FieldTypeRequiredDescription
profileIdstringyesKoil Profile associated with the operation.
externalIdstringyesThe review whose reply to edit.
textstringyesThe new reply, at most 4096 bytes as UTF-8. Google moderates it again.
includePlatformRawbooleannoWhether to include transient platform-native payloads.
JSON Schema
{
  "type": "object",
  "required": [
    "profileId",
    "externalId",
    "text"
  ],
  "properties": {
    "profileId": {
      "type": "string",
      "description": "Koil Profile associated with the operation.",
      "minLength": 1
    },
    "externalId": {
      "type": "string",
      "minLength": 1,
      "description": "The review whose reply to edit."
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "The new reply, at most 4096 bytes as UTF-8. Google moderates it again."
    },
    "includePlatformRaw": {
      "type": "boolean",
      "description": "Whether to include transient platform-native payloads."
    }
  },
  "additionalProperties": false
}

delete

Remove the owner's reply to a review.

FieldTypeRequiredDescription
profileIdstringyesKoil Profile associated with the operation.
externalIdstringyesThe review whose reply to remove.
JSON Schema
{
  "type": "object",
  "required": [
    "profileId",
    "externalId"
  ],
  "properties": {
    "profileId": {
      "type": "string",
      "description": "Koil Profile associated with the operation.",
      "minLength": 1
    },
    "externalId": {
      "type": "string",
      "minLength": 1,
      "description": "The review whose reply to remove."
    }
  },
  "additionalProperties": false
}

Not offered

  • list: platform no endpoint — Google exposes no listing of replies; each appears on the review it answers.
  • resolve_attachment: not applicable
  • perform_action: not applicable — Google moderates the owner's reply, not Koil.

Events

None: this collection is read-only.

Backfill: not offered — not applicable — A reply emits no events of its own; backfilling google_business_profile.locations.reviews re-delivers each review with its reply embedded..

Item schema

What list and get return and what events carry as data.

FieldTypeRequiredDescription
externalIdstringyesPlatform-owned content identifier.
locationExternalIdstringyes
textstringyesCaption/body text for content.
ownerAuthoredbooleanyesWhether the Profile's own account wrote it. Absent when Koil cannot tell, which does not mean someone else did.
state"pending" | "approved" | "rejected" | "other"noGoogle's moderation state of the owner's reply. other is a state Google added that Koil does not model yet.
policyViolationstringno
updatedAtstring (date-time)noWhen the platform last updated it.
platformRawunknownnoOptional platform-native payload included only for transient delivery/debug use.
kind"google_business_profile.locations.review_replies"yesThe collection that delivered this item.

On this page