A unified optimization framework for auction and guaranteed delivery in online advertising | Synapse