outlined_flag
This represents a Google Ads excluded YouTube Channel.
You can retrieve the associated ad group, base ad group, campaign, base campaign, YouTube channel ID, and the ID or resource name of the excluded channel.
There is a method available to remove the excluded YouTube channel.
Represents a Google Ads excluded YouTube Channel.
Methods:
getAdGroup()
Returns the ad group to which this excluded YouTube channel belongs.
Return values:
Type Description
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:
Type Description
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:
Type Description
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:
Type Description
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:
Type Description
String
The YouTube channel ID.
getId()
Returns the ID of the excluded YouTube channel.
Return values:
Type Description
String
The ID of the excluded YouTube channel.
getResourceName()
Returns the resource name of the excluded YouTube channel.
Return values:
Type Description
String
The resource name of the excluded YouTube channel.
remove()
Removes the excluded YouTube channel.
Returns nothing.