Method: logPlayerReports

Logs bad playable location reports submitted by players.

Reports are not partially saved; either all reports are saved and this request succeeds, or no reports are saved, and this request fails.

HTTP request

POST https://playablelocations.googleapis.com/v3:logPlayerReports

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "playerReports": [
    {
      object(PlayerReport)
    }
  ],
  "requestId": string,
  "clientInfo": {
    object(ClientInfo)
  }
}
Fields
playerReports[]

object(PlayerReport)

Required. Player reports. The maximum number of player reports that you can log at once is 50.

requestId

string

Required. A string that uniquely identifies the log player reports request. This allows you to detect duplicate requests. We recommend that you use UUIDs for this value. The value must not exceed 50 characters.

You should reuse the requestId only when retrying a request in the case of a failure. In that case, the request must be identical to the one that failed.

clientInfo

object(ClientInfo)

Required. Information about the client device (for example, device model and operating system).

Response body

If successful, the response body will be empty.

PlayerReport

A report submitted by a player about a playable location that is considered inappropriate for use in the game.

JSON representation
{
  "locationName": string,
  "reasons": [
    enum(BadLocationReason)
  ],
  "reasonDetails": string,
  "languageCode": string
}
Fields
locationName

string

Required. The name of the playable location.

reasons[]

enum(BadLocationReason)

Required. One or more reasons why this playable location is considered bad.

reasonDetails

string

Required. A free-form description detailing why the playable location is considered bad.

languageCode

string

Language code (in BCP-47 format) indicating the language of the freeform description provided in reasonDetails. Examples are "en", "en-US" or "ja-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

BadLocationReason

The reason why the playable location is considered bad.

Enums
BAD_LOCATION_REASON_UNSPECIFIED Unspecified reason. Do not use.
OTHER The reason isn't one of the reasons in this enumeration.
NOT_PEDESTRIAN_ACCESSIBLE The playable location isn't accessible to pedestrians. For example, if it's in the middle of a highway.
NOT_OPEN_TO_PUBLIC The playable location isn't open to the public. For example, a private office building.
PERMANENTLY_CLOSED The playable location is permanently closed. For example, when a business has been shut down.
TEMPORARILY_INACCESSIBLE The playable location is temporarily inaccessible. For example, when a business has closed for renovations.

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution