AdsApp.VideoMobileApplicationBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Builder for
VideoMobileApplication objects.
Example usage:
var videoMobileApplicationBuilder = videoAdGroup
.videoTargeting()
.newMobileApplicationBuilder();
var videoMobileApplicationOperation = videoMobileApplicationBuilder
.withAppId('1-936971630') // required
.build(); // create the mobile application
Methods:
build()
Builds the video mobile application. Returns a
VideoMobileApplicationOperation that corresponds to the creation of the
VideoMobileApplication.
Return values:
exclude()
Builds the excluded video mobile application. Returns an
ExcludedVideoMobileApplicationOperation that corresponds to the creation of the
ExcludedVideoMobileApplication.
Return values:
withAppId(appId)
Sets the ID of the mobile application. This field is required. 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.
Arguments:
Name | Type | Description |
appId |
String |
The ID of the mobile application. |
Return values:
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 2024-08-13 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-08-13 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 2024-08-13 UTC."]]