AOL and UM are developing technology that will serve digital ads across the web as they are triggered by events such as falling gas prices or rising stocks.