To compete with Facebook and Google, publishers step up their ad-targeting game