add validation for ad