Simultaneous Optimization of Bid Shading and Internal Auction for Demand-Side Platforms | Synapse