AI-generated Key Takeaways
- 
          VideoYouTubeChannelBuilder is used to create VideoYouTubeChannel objects. 
- 
          The build()method creates a video YouTube channel and returns a VideoYouTubeChannelOperation.
- 
          The exclude()method creates an excluded video YouTube channel and returns an ExcludedVideoYouTubeChannelOperation.
- 
          The withChannelId(channelId)method sets the required YouTube channel ID for the builder.
Example usage:
var videoYouTubeChannelBuilder = videoAdGroup .videoTargeting() .newYouTubeChannelBuilder(); var videoYouTubeChannelOperation = videoYouTubeChannelBuilder .withChannelId('UCqVDpXKLmKeBU_yyt_QkItQ') // required .build(); // create the YouTube channel
Methods:
| Member | Type | Description | 
|---|---|---|
| build() | AdsApp.VideoYouTubeChannelOperation | Builds the video YouTube channel. | 
| exclude() | AdsApp.ExcludedVideoYouTubeChannelOperation | Builds the excluded video YouTube channel. | 
| withChannelId(channelId) | AdsApp.VideoYouTubeChannelBuilder | Sets the YouTube channel ID. | 
build()
  Builds the video YouTube channel. Returns a
VideoYouTubeChannelOperation that corresponds to the creation of the VideoYouTubeChannel.  Return values:
| Type | Description | 
|---|---|
| AdsApp.VideoYouTubeChannelOperation | The VideoYouTubeChannelOperation. | 
exclude()
  Builds the excluded video YouTube channel. Returns an
ExcludedVideoYouTubeChannelOperation that corresponds to the creation of the ExcludedVideoYouTubeChannel.  Return values:
| Type | Description | 
|---|---|
| AdsApp.ExcludedVideoYouTubeChannelOperation | The ExcludedVideoYouTubeChannelOperation. | 
withChannelId(channelId)
  Sets the YouTube channel ID. This field is required.  Arguments:
| Name | Type | Description | 
|---|---|---|
| channelId | String | The YouTube channel ID. | 
Return values:
| Type | Description | 
|---|---|
| AdsApp.VideoYouTubeChannelBuilder | A VideoYouTubeChannelBuilder with the specified channel ID. |