AdsApp.ExcludedYouTubeChannel
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Google Ads excluded YouTube Channel.
Methods:
Member | Type | Description |
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:
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["Represents an excluded YouTube channel within Google Ads, allowing advertisers to prevent their ads from showing on specific channels."],["Provides methods to retrieve information about the excluded channel, such as its ID, associated ad groups and campaigns, and the YouTube channel ID it targets."],["Enables advertisers to remove the exclusion, allowing ads to potentially show on the previously excluded YouTube channel."],["Offers functionality to access details about the base ad group and campaign associated with the excluded channel for deeper insights."]]],[]]