code: public static void runExample(
        AdManagerServices adManagerServices,
        AdManagerSession session,
        long reconciliationLineItemReportId)
        throws RemoteException {
      // Get the ReconciliationLineItemReportService.
      ReconciliationLineItemReportServiceInterface reconciliationLineItemReportService =
          adManagerServices.get(session, ReconciliationLineItemReportServiceInterface.class);
  
      // Create a statement to select a reconciliation line item report.
      StatementBuilder statementBuilder =
          new StatementBuilder()
              .where("id = :lineItemReportId")
              .orderBy("id ASC")
              .limit(1)
              .withBindVariableValue("lineItemReportId", reconciliationLineItemReportId);
  
      // Get reconciliation line item reports by statement.
      ReconciliationLineItemReportPage page =
          reconciliationLineItemReportService.getReconciliationLineItemReportsByStatement(
              statementBuilder.toStatement());
  
      ReconciliationLineItemReport lineItemReport =
          Iterables.getOnlyElement(Arrays.asList(page.getResults()));
  
      // Set and use a manual volume for billing. This example splits the difference between
      // Ad Manager and the third party volume.
      lineItemReport.setManualVolume(
          (lineItemReport.getDfpVolume() + lineItemReport.getThirdPartyVolume()) / 2);
      lineItemReport.setReconciliationSource(BillFrom.MANUAL);
  
      ReconciliationLineItemReport[] updatedLineItemReports =
          reconciliationLineItemReportService.updateReconciliationLineItemReports(
              new ReconciliationLineItemReport[] {lineItemReport});
  
      for (ReconciliationLineItemReport updatedLineItemReport : updatedLineItemReports) {
        System.out.printf(
            "Reconciliation line item report with ID %d for line item ID %d was "
                + "updated, with manual volume %d.%n",
            updatedLineItemReport.getId(),
            updatedLineItemReport.getLineItemId(),
            updatedLineItemReport.getManualVolume());
      }
    }
docs: Runs the example.
  
  @param adManagerServices the services factory.
  @param session the session.
  @param reconciliationLineItemReportId the ID of the reconciliation line item report to
  retrieve.
  @throws ApiException if the API request failed with one or more service errors.
  @throws RemoteException if the API request failed due to other errors.