GDPR for AdMob and other services

If one makes an app which uses AdMob (which collects certain user data) is it compulsory to provide the UMP choosing screen assuming the users are from EU. is found that almost no app implements this so is it compulsory to use it or not?Is there any example of an app using it?
How is someone supposed to implement right to erasure?