resolve advertisements