Contents

KeywordCreateBulkRequest

A bulk request to create multiple Keyword objects.

Declaration

object KeywordCreateBulkRequest

Properties

NameTypeDescription
allowPartialSuccessboolean

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

items[KeywordCreateBulkRequestItem]

Array of bulk item objects to create. Each item has the shape { correlationId: int64, data: BulkKeywordCreate }.

Discussion

The KeywordCreateBulkRequest object allows creating multiple keywords in a single API call.

Example

{
  "allowPartialSuccess": true,
  "items": [
    {
      "correlationId": 1,
      "data": {
        "adGroupId": 555666777,
        "text": "awayfinder",
        "matchType": "EXACT",
        "bid": {
          "amount": "2.50",
          "currency": "USD"
        },
        "status": "ENABLED"
      }
    },
    {
      "correlationId": 2,
      "data": {
        "adGroupId": 555666777,
        "text": "travel planner app",
        "matchType": "BROAD",
        "bid": {
          "amount": "1.75",
          "currency": "USD"
        },
        "status": "ENABLED"
      }
    }
  ]
}

See Also