Test Mode Bool = False & Test Mode Toggle is Off - but test build shows test ads

My game uses both interstitial and rewarded video ads (no banner ads). I have a game object that is common across all scenes (use to load levels), and on Awake() I am loading all my ads. I.e. I load all ads on every scene. I have an AdsInitialiser game object on my main menu that initialises ads.

Per the title I have turned OFF test mode (Enable Test Mode box is unchecked) and set the _testMode bool to false, however I still get test ads when I build directly to my phone. My code is essentially a copy/paste of whats in the Unity Documentation and I’ve added the Game ID’s from my dashboard to the initialisation script strings so I think I should be good to go here. Below is what I get from logcat when filtering on UnityAds:

2023/01/28 20:09:54.793 17629 17651 Debug UnityAds com.unity3d.services.core.misc.Utilities.writeFile() (line:129) :: Wrote file: /data/user/0/com.miniaturegiants.pullthepinhero/files/UnityAdsStorage-public-data.json
2023/01/28 20:09:54.793 17629 17651 Debug UnityAds com.unity3d.services.core.device.Storage.sendEvent() (line:86) :: Couldn’t send storage event to WebApp
2023/01/28 20:09:54.794 17629 17651 Debug UnityAds com.unity3d.services.core.misc.Utilities.writeFile() (line:129) :: Wrote file: /data/user/0/com.miniaturegiants.pullthepinhero/files/UnityAdsStorage-public-data.json
2023/01/28 20:09:54.794 17629 17651 Debug UnityAds com.unity3d.services.core.device.Storage.sendEvent() (line:86) :: Couldn’t send storage event to WebApp
2023/01/28 20:09:54.794 17629 17651 Debug UnityAds com.unity3d.services.ads.UnityAdsImplementation.initialize() (line:63) :: ENTERED METHOD
2023/01/28 20:09:54.794 17629 17651 Debug UnityAds com.unity3d.services.UnityServices.initialize() (line:35) :: ENTERED METHOD
2023/01/28 20:09:54.795 17629 17651 Info UnityAds com.unity3d.services.UnityServices.initialize() (line:117) :: Initializing Unity Services 4.4.1 (4410) with game id 5137431 in test mode
2023/01/28 20:09:54.798 17629 17651 Info UnityAds com.unity3d.services.UnityServices.initialize() (line:137) :: Unity Services environment check OK
2023/01/28 20:09:54.835 17629 17712 Info UnityAds com.unity3d.services.core.configuration.InitializeThread$InitializeStateConfig.execute() (line:341) :: Unity Ads init: load configuration from https://configv2.unityads.unity3d.com/webview/4.4.1/release/config.json
2023/01/28 20:09:55.290 17629 17712 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:09:55.848 17629 17712 Info UnityAds com.unity3d.services.core.configuration.InitializeThread$InitializeStateLoadCache.execute() (line:451) :: Unity Ads init: webapp loaded from local cache
2023/01/28 20:09:56.247 17629 17790 Warn UnityAds com.unity3d.services.core.api.Sdk.logWarning() (line:82) :: {“message”:“model: DeviceInfo key: openAdvertisingTrackingId with value: null: null is not in: string,undefined”,“name”:“CheckValueError”}
2023/01/28 20:09:56.258 17629 17791 Warn UnityAds com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:09:56.259 17629 17791 Warn UnityAds com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:09:56.277 17629 17790 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:88) :: Requesting configuration from https://configv2.unityads.unity3d.com/games/5137431/configuration?deviceMake=samsung&screenDensity=450&screenSize=268435810&idfi=3a79d872-f488-4329-98bb-a5a41cc8a557&advertisingTrackingId=713d18ab-443e-46c8-90d4-1db5ae4793a9&limitAdTracking=false&installationId=162f2ddbe0348ae8f9590a8da445b31b&connectionType=wifi&screenHeight=2177&screenWidth=1080&usePerPlacementLoad=true&bundleId=com.miniaturegiants.pullthepinhero&encrypted=true&rooted=false&platform=android&sdkVersion=4410&osVersion=13&deviceModel=SM-G780G&language=en_ZA&test=true&analyticsUserId=162f2ddbe0348ae8f9590a8da445b31b&analyticsSessionId=5876851685532942665&first=false&framework=[object Object]&adapter=[object Object]&userLevelFlagDetected=false&store=oKRyKMLTYyDSopZNzxM6NKJUfujOBu_IqmrBzhKAwzQ6PEjX99I4UjrkpWOPps7eVUZXpg0x7PC0kB6D4yng1ZWl0OR8nprMAwSxO41ZyBerKz9GMDJGu19i5a0CXd5yjw546X8O9spWRRTlFvF3xQA__bSSsXHyha3A0j9_K_QgUGFYhnCWi7swgxqGdpEdj9uGQ8KG4op0fpfm0sPLgI2Wemhpz4SNoIUUV3Y0_RXaIryB1R3HwSqF1Y1czggkWavpb-_e4qa6_ciEdRD2lbg1SXHwGEwWtlwg-9-kBE_T58rKCOD9llJJHGHqlTZgZtHsDWskHxn3R1DEECHzYbQiZyT5yimW8B8E2A7o6mlXkgKIkidR0PygajnYustCFND4P3FDWXqLVpPHwHooAGQUox04KuOztaiL8rMi25qw747SoUkHIVA323X7rvXsJ-gQRIuO5M9gLzlpDW9OYw==&stateId=3a79d872-f488-4329-98bb-a5a41cc8a557&callType=state
2023/01/28 20:09:56.702 17629 17790 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:88) :: Received configuration for token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZyI6ImpoN2s0dGg2NWVOQkR6anczOVdlRGxnY1U3WHRrbmg3WFVlVit2VGtYbHljbzZkQTFYdFVoMXNROTMyeStTRkVCejZ0K0E9PSIsImFwcCI6NDcsImFwcExldmVsQ29wcGEiOmZhbHNlLCJhciI6IkhBREtFd2Q1SXI1UStjUE9YMWIzVWNNNXRPT2FDR1dJQzU5YklnTzhxbWRrUlVTeW4xa1lpelh4UER4ZFQ0N2xSKzNwUlZFM3JWbXBlS0RLT0tacjNRPT0iLCJhdHQiOjAsImF1YyI6OSwiYXVpIjoxNCwiYXpwIjoiYzcyYTEyNWYtZjM5Mi00NDM0LWFmZTktZWFiZmUwZDMyMWQ0IiwiY2FsY3VsYXRlZENvcHBhIjpmYWxzZSwiY29uc2VudCI6ZmFsc2UsImNvbnRleHR1YWxPbmx5IjpmYWxzZSwiY3BpIjoxNDUsImNyZWF0ZWQiOjE2NTU3Mjc3NDUwMDAsImRsdCI6MCwiZHQiOjAsImV0dCI6WzIxNDc0ODM2NzYsNzg3NSw4NDcyLDk4NTgsMTAzNjcsODcxOCw5MTg2LDczMTAsNzM0NiwxMDcxNiw4NTUwLDEwMzgyLDEwNTEyLDEwMDQ0LDkyNDIsNzYxMCwxMDcwMyw5MjI0LDkyMThdLCJleHAiOjE2NzYxMzg5OTUsImlhcCI6MTU3LCJpYXQiOjE2NzQ5MjkzOTUsImlnIjoiMEFlbk5jeVB3Y3dZYUdxa0xVMy92Njd0aFd6N2laazg4SVdkQ3kxbURYd3VjNjIwZ2NjeFlvRm0vZmlxOHZQb3U2cjh2Zz09IiwiaXIiOiJKUHptRC9KVFdVKzBybVMzS3lXcmdCNlZEWWVMNTd1WXpxbVRsY2FYZDdKaWZiVjk2aVVtSjA0VU1jN2hYSHdLZkpWUEhpbmc0bnFBVlNtc2lMblFjUT09IiwiaXNzIjoiYWRzLXNkay1jb25maWd1cmF0aW9uLnVuaXR5YWRzLnVuaXR5M2QuY29tIiwibGVnYWxUZXJyaXRvcnkiOjAsImx0diI6NjYsIm1peGVkIjpmYWxzZSwicHJvIjoyMDYsInByb3hpZWQiOmZhbHNlLCJzcyI6Ijk0YTNmOWZjLTZiNTAtNDMwZS04ZGU2LTFhM2Y4MWM4MmI4YiIsInN1YiI6Imo2dzlxRGJaNE05Y2djT3VlQzhEMVE1TjhLaDl6SVkzOUVoRlJhNXRFYzRxRlNVTzJaOHB3bjlhV0VkYVJzNm1TTWl5NGc9PSIsInRndCI6MTc5LCJ4cHIiOjE2MH0.oDpl2EcR9KxGW9ADb4GxArg7qMECKJInpJwh9jR08cg (A/B group 1)
2023/01/28 20:09:56.754 17629 17790 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:09:56.759 17629 17790 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:09:56.771 17629 17790 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:88) :: [RemoteState] Unified response available.
2023/01/28 20:09:56.780 17629 17790 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:09:56.784 17629 17790 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:09:56.799 17629 17790 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:88) :: Webview started using the latest version
2023/01/28 20:15:04.524 17629 17791 Warn UnityAds com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:15:09.590 17629 17790 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:15:09.594 17629 17790 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:15:10.549 17629 17791 Warn UnityAds com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:15:16.186 17629 17790 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:88) :: Opening performance ad unit with orientation PORTRAIT, hardware acceleration enabled
2023/01/28 20:15:16.311 17629 17792 Error UnityAds com.unity3d.services.core.request.WebRequestRunnable.makeRequest() (line:70) :: Error completing request: Response code: Unacceptable certificate: CN=DigiCert Global Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
2023/01/28 20:15:16.539 17629 17790 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
2023/01/28 20:15:18.511 17629 17795 Error UnityAds com.unity3d.services.core.request.WebRequestRunnable.makeRequest() (line:70) :: Error completing request: Response code: Unacceptable certificate: CN=DigiCert Global Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US

  1. The bolded bit above seems to imply that somehow I am still in test mode?
  2. Several warnings about being not able to get current network type due to missing permission - which I’m lead to believe from other posts may be normal behaviour
  3. When running ads, Error completing request due to Unacceptable Certificate.

Stumped. I’m pretty close to release here and I’m not sure what I’ve done wrong.

Package is legacy 4.4.1 and the Dashboard has been setup for NO MEDIATION - unity ads only. Any ideas?

Sometimes you just need a break from the keyboard to work these rookie errors out. The reason the above still indicates test mode is because in the editor the bool needs to be turned off:

[SerializeField] bool _testMode = false;

this code wont suffice. Hope it helps someone.