The purpose of this paper is to study derivations and generalized derivations satisfying certain differential identities on Jordan ideals and Lie ideals of $3$-prime near-rings. Moreover, we provide examples to show that hypothesis of our results are necessary.