Method: googleLocations.report

举报 GoogleLocation

HTTP 请求

POST https://mybusiness.googleapis.com/v4/{name=googleLocations/*}:report

网址采用 gRPC 转码语法。

路径参数

参数
name

string

[GoogleLocation] 的资源名称,格式为 googleLocations/{googleLocationId}

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{
  "locationGroupName": string,
  "reportReasonElaboration": string,
  "reportReasonLanguageCode": string,

  // Union field report_reason can be only one of the following:
  "reportReasonBadLocation": enum (BadLocationReason),
  "reportReasonBadRecommendation": enum (BadRecommendationReason)
  // End of list of possible types for union field report_reason.
}
字段
locationGroupName

string

可选。报告此 Google 营业地点的营业地点组的资源名称,格式为 accounts/{accountId}

reportReasonElaboration

string

可选。一个文本条目,用于详细说明用户报告此位置信息的原因。长度上限为 512 个字符。

reportReasonLanguageCode

string

可选。reportReasonElaboration 中使用的语言的 BCP 47 代码。

联合字段 report_reason。报告此位置信息的原因。必须提供原因。report_reason 只能是下列其中一项:
reportReasonBadLocation

enum (BadLocationReason)

当问题与营业地点本身有关时,用户报告此营业地点的原因。

reportReasonBadRecommendation

enum (BadRecommendationReason)

用户在建议出现问题时报告此营业地点的原因。如果系统已向商家资料帐号推荐营业地点,则此报告非常有用。

响应正文

如果成功,则响应正文为空。

授权范围

需要以下 OAuth 范围之一:

  • https://www.googleapis.com/auth/plus.business.manage
  • https://www.googleapis.com/auth/business.manage

有关详情,请参阅 OAuth 2.0 概览

BadLocationReason

当营业地点本身的数据质量存在问题时,报告营业地点的一组可能原因。

枚举
BAD_LOCATION_REASON_UNSPECIFIED 未指定。
NOT_A_LOCATION 建议的位置并非实际位置。
PERMANENTLY_CLOSED 推荐的营业地点已永久停业。
DOES_NOT_EXIST 建议的位置不存在。
SPAM 建议的位置是垃圾内容、虚假位置或令人反感的位置。
NOT_A_BUSINESS 建议的地点是私人地点或住宅。
MOVED

推荐位置已搬迁到新位置。

应包含指定新地址的 reportReasonElaboration

DUPLICATE 推荐的营业地点与其他营业地点重复。

BadRecommendationReason

当推荐质量存在问题时(向用户推荐此营业地点时),报告营业地点的一组可能原因。

枚举
BAD_RECOMMENDATION_REASON_UNSPECIFIED 未指定。
NOT_A_STORE_FRONT 推荐的营业地点不是店面。
NOT_PART_OF_SUGGESTED_CHAIN

建议营业地点不属于返回营业地点的 chainDisplayName 中建议的连锁店。

应包含一个 reportReasonElaboration,用于指定正确链的名称。

IRRELEVANT

建议的位置与用户不相关。

应附带 reportReasonElaboration,说明推荐不相关的原因。