AdsApp.ExcludedVideoMobileApplication
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Google Ads excluded Mobile Application criterion in a Video
Campaign.
Methods:
Member | Type | Description |
getAppId() |
String |
Returns the ID of the excluded mobile application. |
getEntityType() |
String |
Returns the type of this entity as a String , in this case,
"ExcludedVideoMobileApplication" . |
getId() |
String |
Returns the ID of the excluded video mobile application. |
getName() |
String |
Returns the mobile application name. |
getResourceName() |
String |
Returns the resource name of the excluded video mobile application. |
getVideoAdGroup() |
AdsApp.VideoAdGroup |
Returns the ad group to which this excluded video mobile application belongs, or
null if the
excluded video mobile application is excluded at the campaign level. |
getVideoCampaign() |
AdsApp.VideoCampaign |
Returns the campaign to which this excluded video mobile application belongs. |
remove() |
void |
Removes the excluded video mobile application. |
getAppId()
Returns the ID of the excluded mobile application. The ID is a string that
uniquely identifies a mobile application to Google Ads API. The format of
this string is
"{platform}-{platform_native_id}", where platform is "1" for iOS apps and
"2" for Android apps, and where platform_native_id is the mobile
application identifier native to the corresponding platform. For iOS, this
native identifier is the 9 digit string that appears at the end of an App
Store URL (e.g., "1091700242" for "Gboard" whose App Store link is
https://itunes.apple.com/us/app/gboard-new-keyboard-from-google/id1091700242).
For Android, this native identifier is the application's package name
(e.g., "com.google.android.vr.home" for "Daydream" from the Google Play
link
https://play.google.com/store/apps/details?id=com.google.android.vr.home).
A well formed app ID for Google Ads API would thus be "1-1091700242" for
iOS and "2-com.google.android.vr.home" for Android.
Return values:
Type | Description |
String |
The ID of the excluded mobile application. |
getEntityType()
Returns the type of this entity as a
String
, in this case,
"ExcludedVideoMobileApplication"
.
Return values:
Type | Description |
String |
Type of this entity: "ExcludedVideoMobileApplication" . |
getId()
Returns the ID of the excluded video mobile application.
Return values:
Type | Description |
String |
The ID of the excluded video mobile application. |
getName()
Returns the mobile application name.
Return values:
Type | Description |
String |
The mobile application name. |
getResourceName()
Returns the resource name of the excluded video mobile application.
Return values:
Type | Description |
String |
The resource name of the excluded video mobile application. |
getVideoAdGroup()
Returns the ad group to which this excluded video mobile application belongs, or
null
if the
excluded video mobile application is excluded at the campaign level.
Return values:
Type | Description |
AdsApp.VideoAdGroup |
The ad group to which this excluded video mobile application belongs or
null . |
getVideoCampaign()
Returns the campaign to which this excluded video mobile application belongs.
Return values:
Type | Description |
AdsApp.VideoCampaign |
The campaign to which this excluded video mobile application belongs. |
remove()
Removes the excluded video mobile application.
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 mobile application criterion within Google Ads Video Campaigns.\u003c/p\u003e\n"],["\u003cp\u003eAllows you to prevent your video ads from showing on specific mobile apps.\u003c/p\u003e\n"],["\u003cp\u003eProvides methods to retrieve app details like ID, name, and associated ad group or campaign.\u003c/p\u003e\n"],["\u003cp\u003eCan be used to manage and remove app exclusions from your video campaigns.\u003c/p\u003e\n"]]],[],null,["Represents a Google Ads excluded Mobile Application criterion in a Video Campaign.\n\nMethods:\n\n| Member | Type | Description |\n|-----------------------------------------|----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [getAppId](#getAppId_0) | `String` | Returns the ID of the excluded mobile application. |\n| [getEntityType](#getEntityType_0) | `String` | Returns the type of this entity as a `String`, in this case, `\"ExcludedVideoMobileApplication\"`. |\n| [getId](#getId_0) | `String` | Returns the ID of the excluded video mobile application. |\n| [getName](#getName_0) | `String` | Returns the mobile application name. |\n| [getResourceName](#getResourceName_0) | `String` | Returns the resource name of the excluded video mobile application. |\n| [getVideoAdGroup](#getVideoAdGroup_0) | [AdsApp.VideoAdGroup](/google-ads/scripts/docs/reference/adsapp/adsapp_videoadgroup) | Returns the ad group to which this excluded video mobile application belongs, or `null` if the excluded video mobile application is excluded at the campaign level. |\n| [getVideoCampaign](#getVideoCampaign_0) | [AdsApp.VideoCampaign](/google-ads/scripts/docs/reference/adsapp/adsapp_videocampaign) | Returns the campaign to which this excluded video mobile application belongs. |\n| [remove](#remove_0) | `void` | Removes the excluded video mobile application. |\n\n`getAppId()` Returns the ID of the excluded mobile application. The ID is a string that uniquely identifies a mobile application to Google Ads API. The format of this string is \"{platform}-{platform_native_id}\", where platform is \"1\" for iOS apps and \"2\" for Android apps, and where platform_native_id is the mobile application identifier native to the corresponding platform. For iOS, this native identifier is the 9 digit string that appears at the end of an App Store URL (e.g., \"1091700242\" for \"Gboard\" whose App Store link is https://itunes.apple.com/us/app/gboard-new-keyboard-from-google/id1091700242). For Android, this native identifier is the application's package name (e.g., \"com.google.android.vr.home\" for \"Daydream\" from the Google Play link https://play.google.com/store/apps/details?id=com.google.android.vr.home). A well formed app ID for Google Ads API would thus be \"1-1091700242\" for iOS and \"2-com.google.android.vr.home\" for Android.\n\nReturn values:\n\n| Type | Description |\n|----------|--------------------------------------------|\n| `String` | The ID of the excluded mobile application. |\n\n`getEntityType()` Returns the type of this entity as a `String`, in this case, `\"ExcludedVideoMobileApplication\"`.\n\nReturn values:\n\n| Type | Description |\n|----------|----------------------------------------------------------|\n| `String` | Type of this entity: `\"ExcludedVideoMobileApplication\"`. |\n\n`getId()` Returns the ID of the excluded video mobile application.\n\nReturn values:\n\n| Type | Description |\n|----------|--------------------------------------------------|\n| `String` | The ID of the excluded video mobile application. |\n\n`getName()` Returns the mobile application name.\n\nReturn values:\n\n| Type | Description |\n|----------|------------------------------|\n| `String` | The mobile application name. |\n\n`getResourceName()` Returns the resource name of the excluded video mobile application.\n\nReturn values:\n\n| Type | Description |\n|----------|-------------------------------------------------------------|\n| `String` | The resource name of the excluded video mobile application. |\n\n`getVideoAdGroup()` Returns the ad group to which this excluded video mobile application belongs, or `null` if the excluded video mobile application is excluded at the campaign level.\n\nReturn 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 mobile application belongs or `null`. |\n\n`getVideoCampaign()` Returns the campaign to which this excluded video mobile application belongs.\n\nReturn values:\n\n| Type | Description |\n|----------------------------------------------------------------------------------------|-----------------------------------------------------------------------|\n| [AdsApp.VideoCampaign](/google-ads/scripts/docs/reference/adsapp/adsapp_videocampaign) | The campaign to which this excluded video mobile application belongs. |\n\n`remove()` Removes the excluded video mobile application.\n\nReturns nothing."]]