AdsApp.​ExcludedVideoYouTubeChannel

Represents a Google Ads excluded YouTube Channel in a Video Campaign.

Methods:

MemberTypeDescription
getChannelId String Returns the YouTube channel ID.
getEntityType String Returns the type of this entity as a String, in this case, "ExcludedVideoYouTubeChannel".
getId String Returns the ID of the excluded video YouTube channel.
getResourceName String Returns the resource name of the excluded video YouTube channel.
getVideoAdGroup AdsApp.VideoAdGroup Returns the ad group to which this excluded video YouTube channel belongs, or null if the excluded video YouTube channel is excluded at the campaign level.
getVideoCampaign AdsApp.VideoCampaign Returns the campaign to which this excluded video YouTube channel belongs.
remove void Removes the excluded video YouTube channel.

getChannelId()

Returns the YouTube channel ID.

Return values:

TypeDescription
String The YouTube channel ID.

getEntityType()

Returns the type of this entity as a String, in this case, "ExcludedVideoYouTubeChannel".

Return values:

TypeDescription
String Type of this entity: "ExcludedVideoYouTubeChannel".

getId()

Returns the ID of the excluded video YouTube channel.

Return values:

TypeDescription
String The ID of the excluded video YouTube channel.

getResourceName()

Returns the resource name of the excluded video YouTube channel.

Return values:

TypeDescription
String The resource name of the excluded video YouTube channel.

getVideoAdGroup()

Returns the ad group to which this excluded video YouTube channel belongs, or null if the excluded video YouTube channel is excluded at the campaign level.

Return values:

TypeDescription
AdsApp.VideoAdGroup The ad group to which this excluded video YouTube channel belongs or null.

getVideoCampaign()

Returns the campaign to which this excluded video YouTube channel belongs.

Return values:

TypeDescription
AdsApp.VideoCampaign The campaign to which this excluded video YouTube channel belongs.

remove()

Removes the excluded video YouTube channel.

Returns nothing.