So if you have already imported Json .Net or Google Mobile Ads package please remove it from your project.
Name: doesn’t matter
URL: https://package.openupm.com
Scopes: com.google
Also we should upgrade Unity to 2022 LTS to completely build project for mobile.
Go to Project Settings > Player > Android > Publishing Settings > Build and select:
In the Unity editor click for Android:
Menu→Assets→External Dependency Manager→Android Resolver→Force Resolve.
For iOS:
Menu→Assets→External Dependency Manager→ iOS Resolver → Install Cocoapods
Then to show advertisement in your build you need to change advertisement id.
Open AdsManager.cs (old InterVideoAds.cs) script in the scene, (It was added to object AdsManager) and change it there.
And GoogleMobileAdsSettings.asset
For activating test ADS you should set IsTestADS variable to TRUE before play (like on screen). For deactivating test ADS you should set IsTestADS variable to FALSE before play.