Unlocking Profitability: A Deep Dive into Algorithmic Ad Bidding Techniques