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 2025-08-25 UTC.
[null,null,["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis page documents the \u003ccode\u003eVideoMobileAppCategoryBuilder\u003c/code\u003e, used for creating or excluding video mobile app categories in Google Ads campaigns.\u003c/p\u003e\n"],["\u003cp\u003eThe builder provides methods to specify the mobile app category ID (\u003ccode\u003ewithMobileAppCategoryId\u003c/code\u003e) and to build the category or exclusion (\u003ccode\u003ebuild\u003c/code\u003e, \u003ccode\u003eexclude\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eA required \u003ccode\u003ecategoryId\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ebuild()\u003c/code\u003e creates a \u003ccode\u003eVideoMobileAppCategoryOperation\u003c/code\u003e while \u003ccode\u003eexclude()\u003c/code\u003e creates an \u003ccode\u003eExcludedVideoMobileAppCategoryOperation\u003c/code\u003e for targeting or exclusion, respectively.\u003c/p\u003e\n"]]],[],null,["# AdsApp.VideoMobileAppCategoryBuilder\n\nBuilder for [VideoMobileAppCategory](/google-ads/scripts/docs/reference/adsapp/adsapp_videomobileappcategory) objects.\n\nExample usage:\n\n```gdscript\nvar videoMobileAppCategoryBuilder = videoAdGroup\n .videoTargeting()\n .newMobileAppCategoryBuilder();\nvar videoMobileAppCategoryOperation = videoMobileAppCategoryBuilder\n .withMobileAppCategoryId(60003) // required\n .build(); // create the mobile application categories\n```\n\n### Methods:\n\n| Member | Type | Description |\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|\n| [build()](#build) | [AdsApp.VideoMobileAppCategoryOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_videomobileappcategoryoperation) | Builds the video mobile application category. |\n| [exclude()](#exclude) | [AdsApp.ExcludedVideoMobileAppCategoryOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideomobileappcategoryoperation) | Builds the excluded video mobile application category. |\n| [withMobileAppCategoryId(categoryId)](#withMobileAppCategoryId_categoryId) | [AdsApp.VideoMobileAppCategoryBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_videomobileappcategorybuilder) | Sets the ID of the mobile application category. |\n\n`build()`\n---------\n\nBuilds the video mobile application category. Returns a [VideoMobileAppCategoryOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_videomobileappcategoryoperation) that corresponds to the creation of the [VideoMobileAppCategory](/google-ads/scripts/docs/reference/adsapp/adsapp_videomobileappcategory).\n\n### Return values:\n\n| Type | Description |\n|----------------------------------------------------------------------------------------------------------------------------|--------------------------------------|\n| [AdsApp.VideoMobileAppCategoryOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_videomobileappcategoryoperation) | The VideoMobileAppCategoryOperation. |\n\n`exclude()`\n-----------\n\nBuilds the excluded video mobile application category. Returns an [ExcludedVideoMobileAppCategoryOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideomobileappcategoryoperation) that corresponds to the creation of the [ExcludedVideoMobileAppCategory](/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideomobileappcategory).\n\n### Return values:\n\n| Type | Description |\n|--------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------|\n| [AdsApp.ExcludedVideoMobileAppCategoryOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_excludedvideomobileappcategoryoperation) | The ExcludedVideoMobileAppCategoryOperation. |\n\n`withMobileAppCategoryId(categoryId)`\n-------------------------------------\n\nSets the ID of the mobile application category. This field is required. More details about mobile application category ID can be found on our [Mobile\nApp Categories](/google-ads/api/reference/data/codes-formats#mobile-app-categories) page.\n\n### Arguments:\n\n| Name | Type | Description |\n|------------|----------|--------------------------------------------|\n| categoryId | `String` | The ID of the mobile application category. |\n\n### Return values:\n\n| Type | Description |\n|------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------|\n| [AdsApp.VideoMobileAppCategoryBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_videomobileappcategorybuilder) | An mobile application category builder with the specified category ID. |"]]