How Amagi tweaked geography to cash in on targeted TV ads