Tying campaign optimization to real-time financial metrics