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

# AdQueryResponse

The response object for an Ad query, containing matched results and pagination metadata.

```
object AdQueryResponse
```

## Discussion

The ads query endpoint returns `AdQueryResponse`, which contains the filtered, sorted, and paginated set of `Ad` objects matching the request.

To scope results by `adGroupId`, `campaignId`, `status`, or other filterable fields, use the `QueryRequest` body with `filters`.

### Example

```json
{
  "result": [
    {
      "id": 777888999,
      "adAccountId": 123456789,
      "campaignId": 444555666,
      "adGroupId": 555666777,
      "creativeId": 666777888,
      "name": "AwayFinder - Default Product Page",
      "status": "ENABLED",
      "systemStatus": "RUNNING",
      "systemStatusReasons": [],
      "systemStatusLimitingReasons": [],
      "deleted": false,
      "creationTime": "2025-09-01T08:00:00.000",
      "modificationTime": "2025-09-01T08:00:00.000"
    }
  ],
  "pagination": {
    "offset": 0,
    "pageSize": 20,
    "totalCount": 1
  }
}
```

---

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)