new handleAd signature