Method: accounts.locations.batchGet

Stay organized with collections Save and categorize content based on your preferences.

Returns the requested locations.

The order of the response is the same as the names in the request. This method is atomic, which means it either returns all requested locations or fails (no partial success).

The parent account must be the same for all requested resources.

HTTP request

GET https://ads.wazeapis.com/v1/{parent=accounts/*}/locations:batchGet

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the account that owns this collection of locations.

Query parameters

Parameters
names[]

string

Required. The resource names of the location resources to retrieve. A maximum of 100 location resources can be retrieved in a batch.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "locations": [
    {
      object (Location)
    }
  ]
}
Fields
locations[]

object (Location)

Location resources requested.