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

# QueryRequest

The standard request body used across all query endpoints, supporting filters, sorting, pagination, and field selection.

```
object QueryRequest
```

## Discussion

The `QueryRequest` object is the standard request body used across all query endpoints in the Apple Ads Platform API.

To filter on fields marked **Filterable** in each entity’s dictionary keys, use `QueryFilter` entries. The query combines multiple filters with logical AND.

### Example

```json
{
  "filters": [
    {
      "field": "name",
      "operator": "CONTAINS_ANY",
      "value": ["AwayFinder", "AwayFinder Promo"],
      "ignoreCase": true
    }
  ],
  "sorting": [
    {
      "field": "id",
      "order": "DESC"
    }
  ],
  "pagination": {
    "pageSize": 25,
    "offset": 0,
    "fetchTotalCount": true
  }
}
```

---

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)