AdsApp.​ExcludedYouTubeChannel

Represents a Google Ads excluded YouTube Channel.

Methods:

MemberTypeDescription
getAdGroup AdsApp.AdGroup Returns the ad group to which this excluded YouTube channel belongs.
getBaseAdGroup AdsApp.AdGroup Returns the base ad group to which this excluded YouTube channel belongs.
getBaseCampaign AdsApp.Campaign Returns the base campaign to which this excluded YouTube channel belongs.
getCampaign AdsApp.Campaign Returns the campaign to which this excluded YouTube channel belongs or null if it does not belong to a search or display campaign.
getChannelId String Returns the YouTube channel ID.
getId String Returns the ID of the excluded YouTube channel.
getResourceName String Returns the resource name of the excluded YouTube channel.
remove void Removes the excluded YouTube channel.

getAdGroup()

Returns the ad group to which this excluded YouTube channel belongs.

Return values:

TypeDescription
AdsApp.AdGroup The ad group to which this excluded YouTube channel belongs.

getBaseAdGroup()

Returns the base ad group to which this excluded YouTube channel belongs.

Return values:

TypeDescription
AdsApp.AdGroup The base ad group to which this excluded YouTube channel belongs.

getBaseCampaign()

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

Return values:

TypeDescription
AdsApp.Campaign The base campaign to which this excluded YouTube channel belongs.

getCampaign()

Returns the campaign to which this excluded YouTube channel belongs or null if it does not belong to a search or display campaign.

Return values:

TypeDescription
AdsApp.Campaign The campaign to which this excluded YouTube channel belongs or null if it does not belong to a search or display campaign.

getChannelId()

Returns the YouTube channel ID.

Return values:

TypeDescription
String The YouTube channel ID.

getId()

Returns the ID of the excluded YouTube channel.

Return values:

TypeDescription
String The ID of the excluded YouTube channel.

getResourceName()

Returns the resource name of the excluded YouTube channel.

Return values:

TypeDescription
String The resource name of the excluded YouTube channel.

remove()

Removes the excluded YouTube channel.

Returns nothing.