AdsApp.​ExcludedVideoMobileApplication

Represents a Google Ads excluded Mobile Application criterion in a Video Campaign.

Methods:

MemberTypeDescription
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:

TypeDescription
String The ID of the excluded mobile application.

getEntityType()

Returns the type of this entity as a String, in this case, "ExcludedVideoMobileApplication".

Return values:

TypeDescription
String Type of this entity: "ExcludedVideoMobileApplication".

getId()

Returns the ID of the excluded video mobile application.

Return values:

TypeDescription
String The ID of the excluded video mobile application.

getName()

Returns the mobile application name.

Return values:

TypeDescription
String The mobile application name.

getResourceName()

Returns the resource name of the excluded video mobile application.

Return values:

TypeDescription
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:

TypeDescription
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:

TypeDescription
AdsApp.VideoCampaign The campaign to which this excluded video mobile application belongs.

remove()

Removes the excluded video mobile application.

Returns nothing.