Admob plus, apache cordova, android- headache

Is anyone willing to walk me through how to use admob plus (https://admob-plus.github.io/docs/cordova) with Apache Cordova, using cordova run android as my testing grounds(android device).. I am not able to emulate a device and this all is a massive headache. This has been a very confusing process. I have this application on an app store and am just trying to put an ad on it…

for starters I’m not sure where this code goes in my application files:

let banner

document.addEventListener('deviceready', async () => {
  banner = new admob.BannerAd({
    adUnitId: 'ca-app-pub-xxx/yyy',
  })

  banner.on('impression', async (evt) => {
    await banner.hide()
  })

  await banner.show()
}, false)

I Know I have to fill in my ad unitID here in the code above but I left it blank for the purpose of this post.

I ran this command successfully and added my own appID here too : npx admob-plus install -p cordova

I would like to see ads on my application when I run it in cordova using run android and I would like to put them onto my play store app that is already published. (same app)

I tried to edit files and follow the directions on the abmob website but to no avail. It’s seems to be a very complicated process and there’s not a lot of references for it.

Thank you.