Self-Optimizing Ads & RTB: AI-Driven Programmatic Advertising at Scale