The acquisition marks one of the first times in recent years that a publisher has bought an adtech business.