๐ ๏ธTroubleshoot
Last updated
Last updated
Make sure you have added the App ID inside the Google Ad Mob settings window.
In the case of live ad id (Test mode off), this may happen if there is no fill from the Google server.
If itโs a 3d game the camera and the ad unit must be on the side + Z world axis to get an impression.
Make sure there is no collider between the main camera and the ad Unit.
If you are instantiating ad prefabs in real-time try disabling the strip engine code option from the build option.
If you have multiple cameraโs on the scene make sure the camera which is looking toward the ad unit has the priority depth value.
Make sure the Unity Event system component is present in the scene.
Make sure there is no collider between the main camera and the ad Unit.
Make sure the Unity Event system component is present in the scene.
If you run into Gradle issues in Unity 2019 or 2020
Check the Gradle version in the Unity Settings section and point the Gradle to the 2021 Unity version's Gradle file or above.
Check if the Custom base Gradle Template is enabled from the Publishing settings option under project settings
Change the gradle version inside the baseProjectTemplate.gradle (Found under Plugin > Android ) file to 4.0.0
Check and uncheck the Android options inside the External Tools section of the Preferences only keep the Gradle option unchecked after changing the Gradle version for 2019 and 2020.
Do a force resolve in the External Dependency Manager
Check Minimum API Level and Target API Level under project settings>> Player section
Check the API compatibility level to .Net 4x
Check the device cable if it is connected when building the .apk to a device.