A game publisher’s homemade revenue tool became a business built around a stubborn question: who gets to see what an ad is really worth?