AdsApp.ExcludedVideoKeyword
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Google Ads excluded Keyword in a Video Campaign. Methods:
getEntityType()
Returns the type of this entity as a String
, in this case, "ExcludedVideoKeyword"
. Return values:
getId()
Returns the ID of the excluded video keyword. Return values:
getResourceName()
Returns the resource name of the excluded video keyword. Return values:
getText()
Returns the text of the excluded video keyword. Return values:
getVideoAdGroup()
Returns the ad group to which this excluded video keyword belongs, or null
if the
excluded video keyword is excluded at the campaign level. Return values:
getVideoCampaign()
Returns the campaign to which this excluded video keyword belongs. Return values:
remove()
Removes the excluded video keyword. 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-09-03 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-09-03 UTC."],[[["\u003cp\u003eRepresents an excluded keyword within Google Ads Video Campaigns, preventing ads from showing on content related to that keyword.\u003c/p\u003e\n"],["\u003cp\u003eProvides methods to access and manage the excluded keyword, including retrieving its ID, text, and associated campaign or ad group.\u003c/p\u003e\n"],["\u003cp\u003eAllows for retrieval of the keyword's entity type and resource name for identification and management purposes.\u003c/p\u003e\n"],["\u003cp\u003eEnables removal of the excluded keyword from the campaign or ad group using the \u003ccode\u003eremove()\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["# AdsApp.ExcludedVideoKeyword\n\nRepresents a Google Ads excluded Keyword in a Video Campaign.\n\n### Methods:\n\n| Member | Type | Description |\n|-----------------------------------------|----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [getEntityType()](#getEntityType) | `String` | Returns the type of this entity as a `String`, in this case, `\"ExcludedVideoKeyword\"`. |\n| [getId()](#getId) | `String` | Returns the ID of the excluded video keyword. |\n| [getResourceName()](#getResourceName) | `String` | Returns the resource name of the excluded video keyword. |\n| [getText()](#getText) | `String` | Returns the text of the excluded video keyword. |\n| [getVideoAdGroup()](#getVideoAdGroup) | [AdsApp.VideoAdGroup](/google-ads/scripts/docs/reference/adsapp/adsapp_videoadgroup) | Returns the ad group to which this excluded video keyword belongs, or `null` if the excluded video keyword is excluded at the campaign level. |\n| [getVideoCampaign()](#getVideoCampaign) | [AdsApp.VideoCampaign](/google-ads/scripts/docs/reference/adsapp/adsapp_videocampaign) | Returns the campaign to which this excluded video keyword belongs. |\n| [remove()](#remove) | `void` | Removes the excluded video keyword. |\n\n`getEntityType()`\n-----------------\n\nReturns the type of this entity as a `String`, in this case, `\"ExcludedVideoKeyword\"`.\n\n### Return values:\n\n| Type | Description |\n|----------|------------------------------------------------|\n| `String` | Type of this entity: `\"ExcludedVideoKeyword\"`. |\n\n`getId()`\n---------\n\nReturns the ID of the excluded video keyword.\n\n### Return values:\n\n| Type | Description |\n|----------|---------------------------------------|\n| `String` | The ID of the excluded video keyword. |\n\n`getResourceName()`\n-------------------\n\nReturns the resource name of the excluded video keyword.\n\n### Return values:\n\n| Type | Description |\n|----------|--------------------------------------------------|\n| `String` | The resource name of the excluded video keyword. |\n\n`getText()`\n-----------\n\nReturns the text of the excluded video keyword.\n\n### Return values:\n\n| Type | Description |\n|----------|-----------------------------------------|\n| `String` | The text of the excluded video keyword. |\n\n`getVideoAdGroup()`\n-------------------\n\nReturns the ad group to which this excluded video keyword belongs, or `null` if the excluded video keyword is excluded at the campaign level.\n\n### Return values:\n\n| Type | Description |\n|--------------------------------------------------------------------------------------|----------------------------------------------------------------------|\n| [AdsApp.VideoAdGroup](/google-ads/scripts/docs/reference/adsapp/adsapp_videoadgroup) | The ad group to which this excluded video keyword belongs or `null`. |\n\n`getVideoCampaign()`\n--------------------\n\nReturns the campaign to which this excluded video keyword belongs.\n\n### Return values:\n\n| Type | Description |\n|----------------------------------------------------------------------------------------|------------------------------------------------------------|\n| [AdsApp.VideoCampaign](/google-ads/scripts/docs/reference/adsapp/adsapp_videocampaign) | The campaign to which this excluded video keyword belongs. |\n\n`remove()`\n----------\n\nRemoves the excluded video keyword.\n\nReturns nothing."]]