For Amazon, better skills mean bigger ad revenue