Hi,
Thank you for contacting the Mobile Ads SDK Support team.
It is always recommended to use the latest version of SDK. As of today, the latest version of unity is 9.2.1 and Android is 23.4.0
Upon checking the logs, I observed the error you're encountering is a NullPointerException caused by passing a null or empty value for the AdUnitId in the Unity code. This typically happens when the AdUnitId you're using to request or show an ad is either not assigned or is incorrectly referenced. The ad unit ID is a unique ID number assigned to each of your ad units when they're created in AdMob. The ad unit ID is added to your app's code and used to identify ad requests from the ad unit.
Could you kindly verify whether the ad unit ID has been incorporated into your project?
![]() |
Mobile Ads SDK Team |
Hi,
Thank you for getting back to us.
Make sure you are using the correct ad unit ID in your code. It should look something like ca-app-pub-xxxxxxxxxxxxxxxx/yyyyyyyyyy. Kindly review the provided document to find your ad unit ID. You can also check the Get started guide for reference.
If the issue still persists, kindly provide the app ID and ad unit ID (to which you are referring) via reply to author option for further investigation.