code: public <T> T getServiceClientAsInterface(S adsSession, Class<T> interfaceClass)
        throws ServiceException {
      return adsServiceClientFactory.getServiceClient(adsSession, interfaceClass);
    }
docs: Gets a client given a session and the class of the desired stub interface.
  
  @param adsSession the session associated with the desired
  client
  @param interfaceClass the class type of the desired client
  @return a client for the specified ads service