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 |
Required. The name of the account that owns this collection of locations. |
Query parameters
Parameters | |
---|---|
names[] |
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 ( |
Fields | |
---|---|
locations[] |
Location resources requested. |