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
buildAdsApp.VideoMobileAppCategoryOperationBuilds the video mobile application category.
excludeAdsApp.ExcludedVideoMobileAppCategoryOperationBuilds the excluded video mobile application category.
withMobileAppCategoryIdAdsApp.VideoMobileAppCategoryBuilderSets 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.VideoMobileAppCategoryOperationThe VideoMobileAppCategoryOperation.

exclude()

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

Return values:

TypeDescription
AdsApp.ExcludedVideoMobileAppCategoryOperationThe 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
categoryIdStringThe ID of the mobile application category.

Return values:

TypeDescription
AdsApp.VideoMobileAppCategoryBuilderAn mobile application category builder with the specified category ID.