Smart public library advertising