<!--
{
  "availability" : [
    "Apple Ads Platform API: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Apple-Ads-Platform-API",
  "identifier" : "/documentation/Apple-Ads-Platform-API/LocationGroupQueryResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple Ads Platform API"
    ],
    "preciseIdentifier" : "data:apple-ads-platform-api:LocationGroupQueryResponse"
  },
  "title" : "LocationGroupQueryResponse"
}
-->

# LocationGroupQueryResponse

The response object returned by the Query Location Groups endpoint.

```
object LocationGroupQueryResponse
```

## Discussion

The `LocationGroupQueryResponse` object is the top-level envelope returned by [`Query Location Groups`](/documentation/Apple-Ads-Platform-API/Query-Location-Groups). The `result` array contains all [`LocationGroup`](/documentation/Apple-Ads-Platform-API/LocationGroup) objects that match the supplied filters, subject to pagination. Use `pagination.totalCount` and `pagination.offset` to page through large result sets.

### Example

```json
{
  "result": [
    {
      "id": "5764607523034238976",
      "name": "AwayFinder West Coast Stores",
      "brandId": "9151314442816847872",
      "groupType": "DYNAMIC",
      "systemStatus": "VALID",
      "groupTotal": 42,
      "isAllLocationsGroup": false,
      "eligibility": {
        "status": "ELIGIBLE"
      },
      "creationTime": "2025-02-01T09:00:00.000",
      "modificationTime": "2025-03-25T16:00:00.000"
    }
  ],
  "pagination": {
    "totalCount": 1,
    "offset": 0,
    "pageSize": 100
  }
}
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)