These reference libraries typically contain files of clippings that include articles and photographs published by the paper, as well as articles and photos librarians clipped from elsewhere, including from tiny, short-lived publications.
As long as the articles that are ads are clearly identified as such, and not in print so tiny that the reader would not know whether the article was paid for by a sponsor or objectively written by a journalist who works for the publication.