NegativeKeywordQueryResponse
The response object for a negative keyword query, containing matched results and pagination metadata.
Declaration
object NegativeKeywordQueryResponseProperties
| Name | Type | Description |
|---|---|---|
result | [NegativeKeyword] | Array of matching |
pagination | QueryPaginationResult | Pagination metadata for the query result, supporting offset-based navigation through large result sets. See QueryPaginationResult. Read-only. |
error | Error | Error details if the request failed. See Error. Read-only. |
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
{
"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
}
}