AdsApp.ExcludedVideoYouTubeVideo
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Google Ads excluded YouTube Video in a Video Campaign.
Methods:
Member | Type | Description |
getEntityType |
String |
Returns the type of this entity as a String , in this case,
"ExcludedVideoYouTubeVideo" . |
getId |
String |
Returns the ID of the excluded video YouTube video. |
getResourceName |
String |
Returns the resource name of the excluded video YouTube video. |
getVideoAdGroup |
AdsApp.VideoAdGroup |
Returns the ad group to which this excluded video YouTube video belongs, or
null if the
excluded video YouTube video is excluded at the campaign level. |
getVideoCampaign |
AdsApp.VideoCampaign |
Returns the campaign to which this excluded video YouTube video belongs. |
getVideoId |
String |
Returns the YouTube video ID. |
remove |
void |
Removes the excluded video YouTube video. |
getEntityType()
Returns the type of this entity as a
String
, in this case,
"ExcludedVideoYouTubeVideo"
.
Return values:
Type | Description |
String |
Type of this entity: "ExcludedVideoYouTubeVideo" . |
getId()
Returns the ID of the excluded video YouTube video.
Return values:
Type | Description |
String |
The ID of the excluded video YouTube video. |
getResourceName()
Returns the resource name of the excluded video YouTube video.
Return values:
Type | Description |
String |
The resource name of the excluded video YouTube video. |
getVideoAdGroup()
Returns the ad group to which this excluded video YouTube video belongs, or
null
if the
excluded video YouTube video is excluded at the campaign level.
Return values:
Type | Description |
AdsApp.VideoAdGroup |
The ad group to which this excluded video YouTube video belongs or
null . |
getVideoCampaign()
Returns the campaign to which this excluded video YouTube video belongs.
Return values:
Type | Description |
AdsApp.VideoCampaign |
The campaign to which this excluded video YouTube video belongs. |
getVideoId()
Returns the YouTube video ID.
Return values:
Type | Description |
String |
The YouTube video ID. |
remove()
Removes the excluded video YouTube video.
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 video within Google Ads Video Campaigns."],["Provides methods to identify and manage the excluded video, including retrieving its ID, campaign, and ad group association."],["Allows retrieval of the YouTube video ID and resource name for the excluded video."],["Enables removal of the excluded video YouTube video from the campaign or ad group."]]],[]]