A directory is no more advertising than a database is.
Classifieds hasn't been a thing in newspapers since the 2000s, at least where I live. Any classifieds website isn't advertising in any meaningful sense of the term. It's much closer to a database than an ad.