Ad mediation allows app developers to integrate multiple ad networks into their apps. When an ad request is made, the mediation platform sends the request to multiple ad networks, and the ad network with the highest bid is selected to display the ad.