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

# NegativeKeywordQueryResponse

The response object for a negative keyword query, containing matched results and pagination metadata.

```
object NegativeKeywordQueryResponse
```

## Discussion

The `NegativeKeywordQueryResponse` object is returned by the negative keyword query endpoint and contains the filtered, sorted, and paginated set of `NegativeKeyword` objects matching the request.

To scope results to a specific campaign or ad group, filter by status, or retrieve by ID, use the `QueryRequest` body with `filters`, `sorting`, and `pagination`.

### Example

```json
{
  "result": [
    {
      "id": 777888999,
      "adAccountId": 123456789,
      "campaignId": 444555666,
      "text": "free app",
      "matchType": "BROAD",
      "status": "ENABLED",
      "deleted": false,
      "creationTime": "2025-01-10T08:00:00.000",
      "modificationTime": "2025-01-10T08:00:00.000"
    },
    {
      "id": 777888997,
      "adAccountId": 123456789,
      "campaignId": 444555666,
      "text": "free trial",
      "matchType": "EXACT",
      "status": "ENABLED",
      "deleted": false,
      "creationTime": "2025-01-09T10:00:00.000",
      "modificationTime": "2025-01-09T10:00:00.000"
    }
  ],
  "pagination": {
    "totalCount": 2,
    "offset": 0,
    "pageSize": 20
  }
}
```

---

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)