This is the legacy documentation for Google Ads scripts. Go to the current docs.

AdsApp.​ExcludedVideoKeyword

Represents a Google Ads excluded Keyword in a Video Campaign.

Methods:

MemberTypeDescription
getEntityType String Returns the type of this entity as a String, in this case, "ExcludedVideoKeyword".
getId long Returns the ID of the excluded video keyword.
getText String Returns the text of the excluded video keyword.
getVideoAdGroup AdsApp.VideoAdGroup Returns the ad group to which this excluded video keyword belongs.
getVideoCampaign AdsApp.VideoCampaign Returns the campaign to which this excluded video keyword belongs.
remove void Removes the excluded video keyword.

getEntityType()

Returns the type of this entity as a String, in this case, "ExcludedVideoKeyword".

Return values:

TypeDescription
String Type of this entity: "ExcludedVideoKeyword".

getId()

Returns the ID of the excluded video keyword.

Return values:

TypeDescription
long The ID of the excluded video keyword.

getText()

Returns the text of the excluded video keyword.

Return values:

TypeDescription
String The text of the excluded video keyword.

getVideoAdGroup()

Returns the ad group to which this excluded video keyword belongs.

Return values:

TypeDescription
AdsApp.VideoAdGroup The ad group to which this excluded video keyword belongs.

getVideoCampaign()

Returns the campaign to which this excluded video keyword belongs.

Return values:

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

remove()

Removes the excluded video keyword.

Returns nothing.