code: public static void runExample(
        AdManagerServices adManagerServices, AdManagerSession session, long reconciliationReportId)
        throws RemoteException {
      // Get the ReconciliationReportService.
      ReconciliationReportServiceInterface reconciliationReportService =
          adManagerServices.get(session, ReconciliationReportServiceInterface.class);
  
      // Create a statement to select a single reconciliation report.
      StatementBuilder statementBuilder =
          new StatementBuilder()
              .where("id = :id")
              .orderBy("id ASC")
              .limit(1)
              .withBindVariableValue("id", reconciliationReportId);
  
      // Get the reconciliation report.
      ReconciliationReportPage page =
          reconciliationReportService.getReconciliationReportsByStatement(
              statementBuilder.toStatement());
  
      ReconciliationReport reconciliationReport =
          Iterables.getOnlyElement(Arrays.asList(page.getResults()));
  
      // Update the notes.
      reconciliationReport.setNotes("Orders still pending review");
  
      // Update the reconciliation report on the server.
      ReconciliationReport[] updatedReconciliationReports =
          reconciliationReportService.updateReconciliationReports(
              new ReconciliationReport[] {reconciliationReport});
  
      for (ReconciliationReport updatedReconciliationReport : updatedReconciliationReports) {
        System.out.printf(
            "Reconciliation report with ID %d for month %d/%d was updated.%n",
            updatedReconciliationReport.getId(),
            updatedReconciliationReport.getStartDate().getMonth(),
            updatedReconciliationReport.getStartDate().getYear());
      }
    }
docs: Runs the example.
  
  @param adManagerServices the services factory.
  @param session the session.
  @param reconciliationReportId the ID of the reconciliation report to update.
  @throws ApiException if the API request failed with one or more service errors.
  @throws RemoteException if the API request failed due to other errors.