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

# QueryRequestPagination

Pagination parameters for a recommendation query request.

```
object RecommendationQueryRequestPagination
```

## Discussion

The `QueryRequestPagination` controls pagination in recommendation query requests. The response includes a `pagination` envelope with `offset`, `pageSize`, and `totalCount` indicating how many records matched the filters in total.

To retrieve the next page, increment `offset` by `pageSize`:

```json
{
  "offset": 20,
  "pageSize": 20
}
```

Continue until `offset + pageSize >= totalCount`. New recommendations may appear or disappear between pages because the result set isn’t snapshotted.

---

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)