code: public static void runExample(
        AdManagerServices adManagerServices, AdManagerSession session, long reconciliationReportId)
        throws RemoteException {
      ReconciliationReportRowServiceInterface reconciliationReportRowService =
          adManagerServices.get(session, ReconciliationReportRowServiceInterface.class);
  
      // Create a statement to select reconciliation report rows.
      StatementBuilder statementBuilder =
          new StatementBuilder()
              .where("reconciliationReportId = :reconciliationReportId AND lineItemId != :lineItemId")
              .orderBy("id ASC")
              .limit(StatementBuilder.SUGGESTED_PAGE_LIMIT)
              .withBindVariableValue("reconciliationReportId", reconciliationReportId)
              .withBindVariableValue("lineItemId", 0);
  
      // Retrieve a small amount of reconciliation report rows at a time, paging through
      // until all reconciliation report rows have been retrieved.
      int totalResultSetSize = 0;
      do {
        ReconciliationReportRowPage page =
            reconciliationReportRowService.getReconciliationReportRowsByStatement(
                statementBuilder.toStatement());
  
        if (page.getResults() != null) {
          // Print out some information for each reconciliation report row.
          totalResultSetSize = page.getTotalResultSetSize();
          int i = page.getStartIndex();
          for (ReconciliationReportRow reconciliationReportRow : page.getResults()) {
            System.out.printf(
                "%d) Reconciliation report row with ID %d, reconciliation source '%s', "
                    + "and reconciled volume %d was found.%n",
                i++,
                reconciliationReportRow.getId(),
                reconciliationReportRow.getReconciliationSource(),
                reconciliationReportRow.getReconciledVolume());
          }
        }
  
        statementBuilder.increaseOffsetBy(StatementBuilder.SUGGESTED_PAGE_LIMIT);
      } while (statementBuilder.getOffset() < totalResultSetSize);
  
      System.out.printf("Number of results found: %d%n", totalResultSetSize);
    }
docs: Runs the example.
  
  @param adManagerServices the services factory.
  @param session the session.
  @param reconciliationReportId the ID of the reconciliation report.
  @throws ApiException if the API request failed with one or more service errors.
  @throws RemoteException if the API request failed due to other errors.