AdsApp.​ExcludedVideoYouTubeVideo

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

Methods:

MemberTypeDescription
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:

TypeDescription
String Type of this entity: "ExcludedVideoYouTubeVideo".

getId()

Returns the ID of the excluded video YouTube video.

Return values:

TypeDescription
String The ID of the excluded video YouTube video.

getResourceName()

Returns the resource name of the excluded video YouTube video.

Return values:

TypeDescription
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:

TypeDescription
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:

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

getVideoId()

Returns the YouTube video ID.

Return values:

TypeDescription
String The YouTube video ID.

remove()

Removes the excluded video YouTube video.

Returns nothing.