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.