Contents

NegativeKeywordResponse

The response object for a negative keyword operation.

Declaration

object NegativeKeywordResponse

Properties

NameTypeDescription
resultNegativeKeyword

The affected NegativeKeyword object in its post-operation state. Absent if the operation failed. See NegativeKeyword. Read-only.

errorError

Structured error details if the operation failed. See Error. Read-only.

Discussion

The NegativeKeywordResponse object is the single-item response envelope returned by create and update negative keyword operations.

This wrapper follows the same pattern as other single-object response types in the API. Inspect error to detect failures before accessing result.

Example

{
  "result": {
    "id": 777888999,
    "adAccountId": 123456789,
    "campaignId": 444555666,
    "text": "free app",
    "matchType": "BROAD",
    "status": "ENABLED",
    "creationTime": "2025-01-10T08:00:00.000",
    "modificationTime": "2025-01-10T08:00:00.000",
    "deleted": false
  }
}

See Also