Contents

KeywordResponse

The response object for a Keyword operation.

Declaration

object KeywordResponse

Properties

NameTypeDescription
resultKeyword

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

errorError

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

Discussion

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

Check the error field to detect per-item failures, especially in bulk contexts where some items may succeed. Others can still fail without blocking the successful ones.

Example

{
  "result": {
    "adAccountId": 123456789,
    "campaignId": 987654321,
    "adGroupId": 555666777,
    "text": "awayfinder travel app",
    "matchType": "EXACT",
    "bid": {
      "amount": "2.50",
      "currency": "USD"
    },
    "status": "ENABLED",
    "id": 111222333,
    "creationTime": "2025-01-10T08:00:00.000",
    "modificationTime": "2025-01-12T09:30:00.000",
    "deleted": false,
    "displayStatus": "RUNNING"
  }
}

See Also