pavelzaichyk / flutter_unity_ads

Unity Ads plugin for Flutter Applications. This plugin is able to display Unity Banner Ads and Unity Video Ads.
https://pub.dev/packages/unity_ads_plugin
MIT License
31 stars 12 forks source link

Real ADS not showing #11

Closed Riyaz7364 closed 3 years ago

Riyaz7364 commented 3 years ago

Real ads not showing


I/flutter (17006): Init Listener: UnityAdState.ready => {placementId: Android_Banner}
I/flutter (17006): Init Listener: UnityAdState.ready => {placementId: banner}
2
W/UnityAds(17006): com.unity3d.services.core.device.Device.getNetworkType() (line:135) :: Unity Ads was not able to get current network type due to missing permission
I/UnityAds(17006): com.unity3d.services.core.api.Sdk.logInfo() (line:84) :: Requesting ad plan from https://auction.unityads.unity3d.com/v6/games/3650758/requests?idfi=a24bdda9-ee4a-43a6-a573-2e6e4cf3f160&advertisingTrackingId=8f708d05-b018-4b87-8078-53358ef02e06&limitAdTracking=false&deviceModel=sdk_gphone_x86&platform=android&sdkVersion=3750&stores=google&deviceMake=Google&screenSize=268435810&screenDensity=440&apiLevel=30&screenWidth=1080&screenHeight=1977&connectionType=wifi&networkType=-1

E/UnityAds(17006): com.unity3d.services.core.api.Sdk.logError() (line:72) :: No fill for placement Android_Banner
I/flutter (17006): Banner Listener: BannerAdState.error => {placementId: Android_Banner, errorMessage: Placement Android_Banner failed to fill!, errorCode: NO_FILL}

Please guid me

pavelzaichyk commented 3 years ago

If ads are shown in test mode then configuration is correct. this post describes why banner ads may not be displayed https://forum.unity.com/threads/android-11-unity-ads-was-not-able-to-get-current-network-type-due-to-missing-permission.1087775/#post-7135631