The earth behaves as a very big conductor for our general point of view, and addition and removal of small charge from earth does not make any significant change, hence the potential of earth remains constant for all practical purposes. So due to this constancy of potential, we consider the potential of earth as zero for our convenience for all practical purposes.