Optimization in Performance-Based Digital Marketing