Ad exchanges use advanced technology, allowing billions of impressions to be bought and sold in real time. The buying and selling process is based on bidding. ... Publishers and advertisers can also set criteria for the types of impressions they want to buy and sell. Some impressions in an ad exchange may go unsold.