Update iOS and Android Admob framework

How do I update my Admob libraries in my Ionic project to

Google Mobile Ads SDK  18.1.0 or newer for Android or 7.44 or newer for iOS .


I believe I stopped seeing ads because I am behind the version requirements Google has bumped recently.