diff --git a/defunityads/src/java/com/agulev/defunityads/DefUnityAdsJNI.java b/defunityads/src/java/com/agulev/defunityads/DefUnityAdsJNI.java index 06ab95d..b35091f 100644 --- a/defunityads/src/java/com/agulev/defunityads/DefUnityAdsJNI.java +++ b/defunityads/src/java/com/agulev/defunityads/DefUnityAdsJNI.java @@ -389,7 +389,7 @@ public void onBannerFailedToLoad(BannerView bannerAdView, BannerErrorInfo errorI code = ERROR_NO_FILL; break; } - sendSimpleMessage(MSG_BANNER, EVENT_SDK_ERROR, "code", code,"error", errorInfo.errorMessage, "placement_id", placementId); + sendSimpleMessage(MSG_BANNER, EVENT_SDK_ERROR, "code", code,"error", errorInfo.errorMessage, "placement_id", bannerAdView.getPlacementId()); } @Override