Page Summary
-
VideoTopicBuilder is used to build VideoTopic objects.
-
The build() method builds the video topic and returns a VideoTopicOperation.
-
The exclude() method builds the excluded video topic and returns an ExcludedVideoTopicOperation.
-
The withTopicId(topicId) method sets the required topic ID for the topic.
Example usage:
var videoTopicBuilder = videoAdGroup . videoTargeting () . newTopicBuilder (); var videoTopicOperation = videoTopicBuilder . withTopicId ( 3 ) // required . build (); // create the topic
Methods:
| Member | Type | Description |
|---|---|---|
AdsApp.VideoTopicOperation
|
Builds the video topic. | |
AdsApp.ExcludedVideoTopicOperation
|
Builds the excluded video topic. | |
AdsApp.VideoTopicBuilder
|
Sets the topic ID of the topic. |
build()
Builds the video topic. Returns a VideoTopicOperation
that corresponds to the creation of the VideoTopic
. Return values:
| Type | Description |
|---|---|
AdsApp.VideoTopicOperation
|
The VideoTopicOperation. |
exclude()
Builds the excluded video topic. Returns an ExcludedVideoTopicOperation
that corresponds to the creation of the ExcludedVideoTopic
. Return values:
| Type | Description |
|---|---|
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
page. Arguments:
| Name | Type | Description |
|---|---|---|
|
topicId
|
String
|
The topic ID of the topic. |
Return values:
| Type | Description |
|---|---|
AdsApp.VideoTopicBuilder
|
A VideoTopicBuilder with the specified topic ID. |

