AdsApp.ExcludedVideoPlacement
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
Represents an excluded placement within Google Ads Video Campaigns, preventing ads from showing on specific YouTube videos or channels.
Provides methods to access and manage the excluded placement, including retrieving its ID, URL, and associated ad group or campaign.
Allows for identifying the excluded placement type as "ExcludedVideoPlacement" and retrieving its resource name for further operations.
Enables removing the excluded placement from the campaign or ad group using the remove()
method.
Represents a Google Ads excluded Placement in a Video Campaign.
Methods:
Member Type Description
getEntityType()
String
Returns the type of this entity as a String
, in this case,
"ExcludedVideoPlacement"
.
getId()
String
Returns the ID of the excluded video placement.
getResourceName()
String
Returns the resource name of the excluded video placement.
getUrl()
String
Returns the URL of the excluded placement.
getVideoAdGroup()
AdsApp.VideoAdGroup
Returns the ad group to which this excluded video placement belongs, or
null
if the
excluded video placement is excluded at the campaign level.
getVideoCampaign()
AdsApp.VideoCampaign
Returns the campaign to which this excluded video placement belongs.
remove()
void
Removes the excluded video placement.
getEntityType()
Returns the type of this entity as a
String
, in this case,
"ExcludedVideoPlacement"
.
Return values:
Type Description
String
Type of this entity: "ExcludedVideoPlacement"
.
getId()
Returns the ID of the excluded video placement.
Return values:
Type Description
String
The ID of the excluded video placement.
getResourceName()
Returns the resource name of the excluded video placement.
Return values:
Type Description
String
The resource name of the excluded video placement.
getUrl()
Returns the URL of the excluded placement.
Return values:
Type Description
String
The URL of the excluded placement.
getVideoAdGroup()
Returns the ad group to which this excluded video placement belongs, or
null
if the
excluded video placement is excluded at the campaign level.
Return values:
Type Description
AdsApp.VideoAdGroup
The ad group to which this excluded video placement belongs or
null
.
getVideoCampaign()
Returns the campaign to which this excluded video placement belongs.
Return values:
remove()
Removes the excluded video placement.
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-23 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-23 UTC."],[],[]]