Ad networks make it possible for advertisers to buy digital ads across a slew of publisher sites and apps.