Issue with scripting banner ad

I have followed all the steps and after enabling “built-in Ads extension” from the services tab and putting in the code I get this error that “Banner” is not recognised when I type “Advertisement.Banner.Show()”:

I then disabled “built-in Ads extension” and instead installed the “Unity Monetization” package from the asset store, this fixed the error and for a while, I had Unity test ads when updated my game on the Play Store, but now, sometime after disabling test ads, ads no longer appear in my game and looking at the services tab shows this error:

(this error does go away is if I enable built-in Ads and remove the plugin but then I get the first issue again).
How can I get banner ads to work in my game?

  1. Disable the services window based integration for Ads entirely (not just disabling the built in extension)
  2. Make sure you’ve removed any Ads packages from the package manager
  3. Integrate Ads using the Asset Store package: Unity Monetization Legacy (Please get from Package Manager) | Services | Unity Asset Store

Note that you need to initialise Ads manually when using the Asset Store package integration:

https://unityads.unity3d.com/help/unity/integration-guide-unity