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

# QueryPaginationResult

Pagination metadata returned in query responses, including page size, offset, and optional total count.

## Declaration

```data
object QueryPaginationResult
```

## Properties

pageSize: The page size for this response. offset: The offset position for this response page. totalCount: The total number of results matching the query. Only populated when fetchTotalCount is true in the request.

## Discussion

Discussion The QueryPaginationResult object is returned in the pagination field of query responses. It echoes the pageSize and offset from the request and provides totalCount when requested. To calculate the total number of pages, use totalCount with pageSize. Example {   "pageSize": 20,   "offset": 0,   "totalCount": 137 }

## 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)
- [QueryResponse](apple-ads-platform-api/queryresponse.md)
