Dual Based DSP Bidding Strategy and its Application