AdsApp.VideoMobileAppCategoryBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Builder for
VideoMobileAppCategory objects.
Example usage:
var videoMobileAppCategoryBuilder = videoAdGroup
.videoTargeting()
.newMobileAppCategoryBuilder();
var videoMobileAppCategoryOperation = videoMobileAppCategoryBuilder
.withMobileAppCategoryId(60003) // required
.build(); // create the mobile application categories
Methods:
build()
Builds the video mobile application category. Returns a
VideoMobileAppCategoryOperation that corresponds to the creation of the
VideoMobileAppCategory.
Return values:
exclude()
Builds the excluded video mobile application category. Returns an
ExcludedVideoMobileAppCategoryOperation that corresponds to the creation of the
ExcludedVideoMobileAppCategory.
Return values:
withMobileAppCategoryId(categoryId)
Sets the ID of the mobile application category. This field is required.
More details about mobile application category ID can be found on our
Mobile
App Categories page.
Arguments:
Name | Type | Description |
categoryId |
String |
The ID of the mobile application category. |
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-12-18 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-12-18 UTC."],[[["This page documents the `VideoMobileAppCategoryBuilder`, used for creating or excluding video mobile app categories in Google Ads campaigns."],["The builder provides methods to specify the mobile app category ID (`withMobileAppCategoryId`) and to build the category or exclusion (`build`, `exclude`)."],["A required `categoryId` must be provided, representing the specific mobile app category to target or exclude, and more information can be found on the Mobile App Categories page."],["`build()` creates a `VideoMobileAppCategoryOperation` while `exclude()` creates an `ExcludedVideoMobileAppCategoryOperation` for targeting or exclusion, respectively."]]],[]]