- HTTP request
- Path parameters
- Request body
- Response body
- Authorization Scopes
- BadLocationReason
- BadRecommendationReason
Report a GoogleLocation
.
HTTP request
POST https://mybusiness.googleapis.com/v4/{name=googleLocations/*}:report
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Resource name of a [GoogleLocation], in the format |
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{ "locationGroupName": string, "reportReasonElaboration": string, "reportReasonLanguageCode": string, // Union field |
Fields | ||
---|---|---|
locationGroupName |
Optional. The resource name of the location group that this Google Location is being reported for, in the format |
|
reportReasonElaboration |
Optional. A text entry for elaborating on the reason for which the user is reporting this location. The maximum length is 512 characters. |
|
reportReasonLanguageCode |
Optional. The BCP 47 code of language used in |
|
Union field report_reason . Reason why this location is being reported. A reason must be provided. report_reason can be only one of the following: |
||
reportReasonBadLocation |
The reason for which the user is reporting this location when the issue is with the location itself. |
|
reportReasonBadRecommendation |
The reason for which the user is reporting this location when the issue is with the recommendation. This report is useful if the location has been recommended to the Business Profile account. |
Response body
If successful, the response body is empty.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.
BadLocationReason
A set of possible reasons for reporting a location when there is an issue with the quality of data in the location itself.
Enums | |
---|---|
BAD_LOCATION_REASON_UNSPECIFIED |
Not specified. |
NOT_A_LOCATION |
The recommended location is not an actual location. |
PERMANENTLY_CLOSED |
The recommended location is permanently closed. |
DOES_NOT_EXIST |
The recommended location does not exist. |
SPAM |
The recommended location is spam, fake or offensive. |
NOT_A_BUSINESS |
The recommended location is a private place or home. |
MOVED |
The recommended location has moved to a new location. Should be accompanied by a |
DUPLICATE |
The recommended location is a duplicate of another location. |
BadRecommendationReason
A set of possible reasons for reporting a location when there is an issue with the quality of recommendation (when this location is recommended to the user).
Enums | |
---|---|
BAD_RECOMMENDATION_REASON_UNSPECIFIED |
Not specified. |
NOT_A_STORE_FRONT |
The recommended location is not a store front. |
NOT_PART_OF_SUGGESTED_CHAIN |
The recommended location doesn't belong to the chain suggested in the Should be accompanied by a |
IRRELEVANT |
The recommended location is not relevant to the user. Should be accompanied by a |