What is effect of shape of earth on g?

Earth is elliptical in shape. Radius of earth is at equator about 21 km more than its radius at pole.
Using the relation g =GM/R