Contents

NegativeKeywordCreateBulkRequest

A bulk request to create multiple negative keywords.

Declaration

object NegativeKeywordCreateBulkRequest

Properties

NameTypeDescription
allowPartialSuccessboolean

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

items[NegativeKeywordCreateBulkRequestItem]

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

Discussion

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

Example

{
  "allowPartialSuccess": true,
  "items": [
    {
      "correlationId": 123456789,
      "data": {
        "campaignId": 987654321,
        "adGroupId": 555666777,
        "text": "free AwayFinder",
        "matchType": "BROAD",
        "status": "ENABLED"
      }
    },
    {
      "correlationId": 123456790,
      "data": {
        "campaignId": 987654321,
        "adGroupId": null,
        "text": "AwayFinder discount",
        "matchType": "EXACT",
        "status": "ENABLED"
      }
    }
  ]
}

See Also