code: @VisibleForTesting
    HttpRequestFactory getHttpRequestFactory(final String reportUrl, String version)
        throws AuthenticationException {
      final HttpHeaders httpHeaders = createHeaders(reportUrl, version);
      return httpTransport.createRequestFactory(
          request -> {
            request.setHeaders(httpHeaders);
            request.setConnectTimeout(reportDownloadTimeout);
            request.setReadTimeout(reportDownloadTimeout);
            request.setThrowExceptionOnExecuteError(false);
            request.setLoggingEnabled(true);
            request.setResponseInterceptor(responseInterceptor);
          });
    }
docs: Gets the report HTTP URL connection given report URL and proper information needed to
  authenticate the request.
  
  @param reportUrl the URL of the report response or download
  @return the report HTTP URL connection
  @throws AuthenticationException If OAuth authorization fails.