Brands and their agency partners have started using agents to plan, execute, and optimize ad purchases.