AdWordsApp.​VideoTopicBuilder

Builder for VideoTopic objects.

Example usage:

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

Methods:

MemberTypeDescription
build AdWordsApp.VideoTopicOperation Builds the video topic.
exclude AdWordsApp.ExcludedVideoTopicOperation Builds the excluded video topic.
withTopicId AdWordsApp.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:

TypeDescription
AdWordsApp.VideoTopicOperation The VideoTopicOperation.

exclude()

Builds the excluded video topic. Returns an VideoTopicOperation that corresponds to the creation of the ExcludedVideoTopic.

Return values:

TypeDescription
AdWordsApp.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:

NameTypeDescription
topicId Long The topic ID of the topic.

Return values:

TypeDescription
AdWordsApp.VideoTopicBuilder A VideoTopicBuilder with the specified topic ID.

Feedback geben zu...

AdWords Scripts
AdWords Scripts