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

# Pagination

Pagination state in change history list responses.

```
object Pagination
```

## Discussion

The `Pagination` object is returned in the `pagination` field of [`BaseAuditResponse`](/documentation/Apple-Ads-Platform-API/BaseAuditResponse) (and its subtypes [`AuditSummaryResponse`](/documentation/Apple-Ads-Platform-API/AuditSummaryResponse) and [`ChangeDetailsResponse`](/documentation/Apple-Ads-Platform-API/ChangeDetailsResponse)).

To page through results, increment `offset` by `pageSize` on each subsequent request until `offset >= totalCount`. When `needTotals` is `"false"` in the [`AuditQuery`](/documentation/Apple-Ads-Platform-API/AuditQuery) options, page forward instead until the response `result` array is empty.

### Example

```json
{
  "offset": 0,
  "pageSize": 50,
  "totalCount": 137
}
```

---

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)