code: public void setDeviceCategorySegment(com.google.api.ads.admanager.axis.v201808.DeviceCategoryTargeting deviceCategorySegment) {
          this.deviceCategorySegment = deviceCategorySegment;
      }
docs: Sets the deviceCategorySegment value for this ProductSegmentation.
  
  @param deviceCategorySegment   * The device category segmentation. {@link DeviceCategoryTargeting#excludedDeviceCategories}
  must
  be empty or null.
  
  <p>This attribute is optional.