---
title: QueryResponse
framework: Apple Ads Platform API
role: symbol
role_heading: Object
platforms: [apple ads platform api 1.0+]
path: apple-ads-platform-api/queryresponse
---

# QueryResponse

Response wrapper for paginated query results.

## Declaration

```data
object QueryResponse
```

## Properties

result: The matching entity records for this query. Read-only. pagination: Offset metadata for the result set. See QueryPaginationResult. Read-only. error: Error details if the request failed. Absent on success. See Error. Read-only.

## Discussion

Discussion The QueryResponse object is the generic paginated response envelope returned by query endpoints. This wrapper is the base type for all query responses. Specific entity query responses extend this pattern with a typed result array. Example {   "result": [     {       "id": "123456789",       "name": "AwayFinder Campaign"     }   ],   "pagination": {     "totalCount": 1,     "offset": 0,     "pageSize": 20   } }

## Topics

### Dictionaries

- [QueryResponse.Result](apple-ads-platform-api/queryresponse/result-data.dictionary.md)

## See Also

### Query Objects

- [QueryRequest](apple-ads-platform-api/queryrequest.md)
- [QueryFilter](apple-ads-platform-api/queryfilter.md)
- [QuerySort](apple-ads-platform-api/querysort.md)
- [QueryPagination](apple-ads-platform-api/querypagination.md)
- [QueryPaginationResult](apple-ads-platform-api/querypaginationresult.md)
