AdsApp.​VideoMobileAppCategoryBuilder

Builder for VideoMobileAppCategory objects.

Example usage:

 var videoMobileAppCategoryBuilder = videoAdGroup.videoTargeting().newMobileAppCategoryBuilder();
 var videoMobileAppCategoryOperation = videoMobileAppCategoryBuilder
   .withMobileAppCategoryId(60003)    // required
   .build();  // create the mobile application categories

Methods:

MemberTypeDescription
build AdsApp.VideoMobileAppCategoryOperation Builds the video mobile application category.
exclude AdsApp.ExcludedVideoMobileAppCategoryOperation Builds the excluded video mobile application category.
withMobileAppCategoryId AdsApp.VideoMobileAppCategoryBuilder Sets the ID of the mobile application category.

build()

Builds the video mobile application category. Returns a VideoMobileAppCategoryOperation that corresponds to the creation of the VideoMobileAppCategory.

Return values:

TypeDescription
AdsApp.VideoMobileAppCategoryOperation The VideoMobileAppCategoryOperation.

exclude()

Builds the excluded video mobile application category. Returns an VideoMobileAppCategoryOperation that corresponds to the creation of the ExcludedVideoMobileAppCategory.

Return values:

TypeDescription
AdsApp.ExcludedVideoMobileAppCategoryOperation The ExcludedVideoMobileAppCategoryOperation.

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:

NameTypeDescription
categoryId Long The ID of the mobile application category.

Return values:

TypeDescription
AdsApp.VideoMobileAppCategoryBuilder An mobile application category builder with the specified category ID.

Send feedback about...

Google Ads scripts
Google Ads scripts
Need help? Visit our support page.