AdsApp.ExcludedVideoTopic
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Google Ads excluded Topic in a Video Campaign.
Methods:
Member | Type | Description |
getEntityType |
String |
Returns the type of this entity as a String , in this case,
"ExcludedVideoTopic" . |
getId |
String |
Returns the ID of the excluded video topic. |
getResourceName |
String |
Returns the resource name of the excluded video topic. |
getTopicId |
String |
Returns the topic ID of the excluded topic. |
getVideoAdGroup |
AdsApp.VideoAdGroup |
Returns the ad group to which this excluded video topic belongs, or
null if the
excluded video topic is excluded at the campaign level. |
getVideoCampaign |
AdsApp.VideoCampaign |
Returns the campaign to which this excluded video topic belongs. |
remove |
void |
Removes the excluded video topic. |
getEntityType()
Returns the type of this entity as a
String
, in this case,
"ExcludedVideoTopic"
.
Return values:
Type | Description |
String |
Type of this entity: "ExcludedVideoTopic" . |
getId()
Returns the ID of the excluded video topic.
Return values:
Type | Description |
String |
The ID of the excluded video topic. |
getResourceName()
Returns the resource name of the excluded video topic.
Return values:
Type | Description |
String |
The resource name of the excluded video topic. |
getTopicId()
Returns the topic ID of the excluded topic. The topic ID identifies the
topic category. A list of valid topic IDs is available on our
Verticals page.
Return values:
Type | Description |
String |
The topic ID of the excluded topic. |
getVideoAdGroup()
Returns the ad group to which this excluded video topic belongs, or
null
if the
excluded video topic is excluded at the campaign level.
Return values:
Type | Description |
AdsApp.VideoAdGroup |
The ad group to which this excluded video topic belongs or
null . |
getVideoCampaign()
Returns the campaign to which this excluded video topic belongs.
Return values:
remove()
Removes the excluded video topic.
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 topic within Google Ads Video Campaigns, preventing ads from showing on content related to that topic."],["Provides methods to identify the excluded topic using its ID, resource name, and topic ID, which can be cross-referenced with Google's list of verticals."],["Allows retrieval of the associated ad group or campaign to understand the scope of the exclusion."],["Enables removal of the exclusion using the `remove()` method, allowing ads to potentially show on the previously excluded topic."],["Can be managed through Google Ads scripts, providing automation capabilities for managing excluded topics in video campaigns."]]],[]]