AdsApp.​VideoYouTubeChannelBuilder

Builder for VideoYouTubeChannel objects.

Example usage:

 var videoYouTubeChannelBuilder = videoAdGroup.videoTargeting().newYouTubeChannelBuilder();
 var videoYouTubeChannelOperation = videoYouTubeChannelBuilder
   .withChannelId('UCqVDpXKLmKeBU_yyt_QkItQ')    // required
   .build();                                     // create the YouTube channel

Methods:

MemberTypeDescription
build AdsApp.VideoYouTubeChannelOperation Builds the video YouTube channel.
exclude AdsApp.ExcludedVideoYouTubeChannelOperation Builds the excluded video YouTube channel.
withChannelId 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:

TypeDescription
AdsApp.VideoYouTubeChannelOperation The VideoYouTubeChannelOperation.

exclude()

Builds the excluded video YouTube channel. Returns an VideoYouTubeChannelOperation that corresponds to the creation of the ExcludedVideoYouTubeChannel.

Return values:

TypeDescription
AdsApp.ExcludedVideoYouTubeChannelOperation The ExcludedVideoYouTubeChannelOperation.

withChannelId(channelId)

Sets the YouTube channel ID. This field is required.

Arguments:

NameTypeDescription
channelId String The YouTube channel ID.

Return values:

TypeDescription
AdsApp.VideoYouTubeChannelBuilder A VideoYouTubeChannelBuilder with the specified channel ID.

다음에 대한 의견 보내기...

Google Ads scripts
Google Ads scripts
도움이 필요하시나요? 지원 페이지를 방문하세요.