Digital ads typically operate on a bidding system, where advertisers bid for ad space on various platforms. The most common models include Cost Per Click (CPC), Cost Per Thousand Impressions (CPM), and Cost Per Acquisition (CPA). Algorithms then determine which ads are shown based on the bid amount, relevance, and quality score.