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

Example usage:

```
var videoTopicBuilder = videoAdGroup.videoTargeting().newTopicBuilder();
var videoTopicOperation = videoTopicBuilder
  .withTopicId(3)     // required
  .build();           // create the topic
```

### Methods:

| Member | Type | Description |
|---|---|---|
| [build()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videotopicbuilder#build) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videotopicoperation` | Builds the video topic. |
| [exclude()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videotopicbuilder#exclude) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideotopicoperation` | Builds the excluded video topic. |
| [withTopicId(topicId)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videotopicbuilder#withTopicId_topicId) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videotopicbuilder` | Sets the topic ID of the topic. |

## `build()`

Builds the video topic. Returns a [VideoTopicOperation](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videotopicoperation) that corresponds to the creation of the [VideoTopic](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videotopic).

### Return values:

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

## `exclude()`

Builds the excluded video topic. Returns an [ExcludedVideoTopicOperation](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideotopicoperation) that corresponds to the creation of the [ExcludedVideoTopic](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideotopic).

### Return values:

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

## `withTopicId(topicId)`

Sets the topic ID of the topic. This field is required. The topic ID identifies the topic category. A list of valid topic IDs is available on our [Verticals](https://developers.google.com/google-ads/api/reference/data/verticals) page.

### Arguments:

| Name | Type | Description |
|---|---|---|
| topicId | `String` | The topic ID of the topic. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_videotopicbuilder` | A VideoTopicBuilder with the specified topic ID. |