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

# QueryPagination

Controls the page size and starting offset for query results.

## Declaration

```data
object QueryPagination
```

## Properties

pageSize: The number of items per page. offset: The starting position for pagination, zero-based. fetchTotalCount: Whether to include the total count in the pagination response. Set to true to include the total result count in the QueryPaginationResult response.

## Discussion

Discussion The QueryPagination controls the page size and starting offset for query results. Example {   "pageSize": 25,   "offset": 50,   "fetchTotalCount": true }

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