Builder for [DisplayKeyword](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeyword) objects.

Example usage:

```
var displayKeywordBuilder = adGroup.display().newKeywordBuilder();
var displayKeyword = displayKeywordBuilder
  .withText("keyword text")     // required
  .withCpc(0.50)                // optional
  .build()                      // create the display keyword
```

### Methods:

| Member | Type | Description |
|---|---|---|
| [build()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder#build) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordoperation` | Builds the display keyword. |
| [exclude()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder#exclude) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludeddisplaykeywordoperation` | Builds the excluded display keyword. |
| [withCpc(cpc)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder#withCpc_cpc) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder` | Sets the max CPC bid of the new display keyword to the specified value. |
| [withCpm(cpm)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder#withCpm_cpm) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder` | Sets the CPM bid of the new display keyword to the specified value. |
| [withText(text)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder#withText_text) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder` | Sets the text of the display keyword. |

## `build()`

Builds the display keyword. Returns a [DisplayKeywordOperation](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordoperation) that corresponds to the creation of the [DisplayKeyword](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeyword).

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordoperation` | The DisplayKeywordOperation. |

## `exclude()`

Builds the excluded display keyword. Returns an [ExcludedDisplayKeywordOperation](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludeddisplaykeywordoperation) that corresponds to the creation of the [ExcludedDisplayKeyword](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludeddisplaykeyword).

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludeddisplaykeywordoperation` | The ExcludedDisplayKeywordOperation. |

## `withCpc(cpc)`

Sets the max CPC bid of the new display keyword to the specified value.

### Arguments:

| Name | Type | Description |
|---|---|---|
| cpc | `double` | The max CPC bid of the display keyword. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder` | The display keyword builder with the specified max CPC. |

## `withCpm(cpm)`

Sets the CPM bid of the new display keyword to the specified value.

See [Cost-per-thousand
impressions (CPM)](https://support.google.com/google-ads/answer/6310) for more information.

### Arguments:

| Name | Type | Description |
|---|---|---|
| cpm | `double` | The CPM bid of the display keyword. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder` | The display keyword builder with the specified CPM. |

## `withText(text)`

Sets the text of the display keyword. This field is required.

### Arguments:

| Name | Type | Description |
|---|---|---|
| text | `String` | The display keyword text. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_displaykeywordbuilder` | A DisplayKeywordBuilder with the specified text. |