DSP vs SSP: Optimizing Ad Campaigns from Both Sides of the Marketplace