AI is used in advertising to enhance targeting, personalization, and campaign optimization. It analyzes vast amounts of consumer data to predict behaviors and preferences, allowing advertisers to deliver highly personalized content. AI also automates ad creation, optimizes bidding strategies in real-time, and measures campaign performance for continuous improvement, ensuring more effective and efficient ad spend.