Added fetchAffiliateAds function which returns the Ad JSON