Contents

KeywordUpdateBulkRequest

A bulk request to update multiple Keyword objects.

Declaration

object KeywordUpdateBulkRequest

Properties

NameTypeDescription
allowPartialSuccessboolean

If true, allows some operations in the batch to succeed. Other operations can still fail without blocking the successful ones.

items[KeywordUpdateBulkRequestItem]

Array of bulk item objects to update. Each item has the shape { correlationId: int64, data: BulkKeywordUpdate }. The id field is required in BulkKeywordUpdate.

Discussion

The KeywordUpdateBulkRequest object allows updating multiple keywords in a single API call.

Example

{
  "allowPartialSuccess": true,
  "items": [
    {
      "correlationId": 123456789,
      "data": {
        "id": 555666777,
        "bid": {
          "amount": "2.50",
          "currency": "USD"
        },
        "status": "ENABLED"
      }
    },
    {
      "correlationId": 987654321,
      "data": {
        "id": 111222333,
        "bid": {
          "amount": "1.75",
          "currency": "USD"
        },
        "status": "PAUSED"
      }
    }
  ]
}

See Also