Method: accounts.locations.patch

Updates an existing location. You can only change the state of the location with the state transition methods locations.activate and locations.pause.

HTTP request

PATCH https://ads.wazeapis.com/v1/{location.name=accounts/*/locations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
location.name

string

The resource name of the location. Format: accounts/{account}/locations/{location}.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Location.

Response body

If successful, the response body contains an instance of Location.