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.
FORBES: Journalism: Money vs. Merit