AdsApp.​VideoTopicBuilder

Builder for VideoTopic objects.

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.
Create a Mobile Website
View Site in Mobile | Classic
Share by: