AdsApp.ExcludedVideoAudience
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Google Ads excluded Audience in a Video Campaign.
Methods:
Member | Type | Description |
getAudienceId |
String |
Returns the ID of the excluded audience. |
getAudienceType |
String |
Returns the type of the excluded audience. |
getEntityType |
String |
Returns the type of this entity as a String , in this case,
"ExcludedVideoAudience" . |
getId |
String |
Returns the ID of the excluded video audience. |
getName |
String |
Returns the name of the excluded audience. |
getResourceName |
String |
Returns the resource name of the excluded video audience. |
getVideoAdGroup |
AdsApp.VideoAdGroup |
Returns the ad group to which this excluded video audience belongs, or
null if the
excluded video audience is excluded at the campaign level. |
getVideoCampaign |
AdsApp.VideoCampaign |
Returns the campaign to which this excluded video audience belongs. |
remove |
void |
Removes the excluded video audience. |
getAudienceId()
Returns the ID of the excluded audience. User List IDs (List IDs) are
available on the details page of a User List (found under the Audiences
section of the Shared Library).
Return values:
Type | Description |
String |
The audience ID of the audience. |
getAudienceType()
Returns the type of the excluded audience. Possible return values:
USER_INTEREST
,
USER_LIST
or
CUSTOM_AFFINITY
.
Return values:
Type | Description |
String |
The type of the excluded audience. |
getEntityType()
Returns the type of this entity as a
String
, in this case,
"ExcludedVideoAudience"
.
Return values:
Type | Description |
String |
Type of this entity: "ExcludedVideoAudience" . |
getId()
Returns the ID of the excluded video audience.
Return values:
Type | Description |
String |
The ID of the excluded video audience. |
getName()
Returns the name of the excluded audience.
Return values:
Type | Description |
String |
The name of the excluded audience. |
getResourceName()
Returns the resource name of the excluded video audience.
Return values:
Type | Description |
String |
The resource name of the excluded video audience. |
getVideoAdGroup()
Returns the ad group to which this excluded video audience belongs, or
null
if the
excluded video audience is excluded at the campaign level.
Return values:
Type | Description |
AdsApp.VideoAdGroup |
The ad group to which this excluded video audience belongs or
null . |
getVideoCampaign()
Returns the campaign to which this excluded video audience belongs.
Return values:
remove()
Removes the excluded video audience.
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 Audience specifically for Google Ads Video Campaigns, allowing advertisers to prevent specific audiences from seeing their video ads."],["Provides methods to manage the excluded audience, including retrieving its ID, type, name, and associated campaign or ad group."],["Can be used to exclude audiences based on user interests, custom affinity, or user lists (remarketing)."],["Enables advertisers to refine targeting and improve campaign performance by excluding irrelevant or undesirable viewers."],["Offers functionalities like `remove()` to delete the excluded audience from the campaign or ad group."]]],[]]