From c83171ef0faed6e518b622afffea1dbcdd9704a3 Mon Sep 17 00:00:00 2001 From: Alexey Gulev Date: Tue, 28 Sep 2021 17:48:54 +0200 Subject: [PATCH] fix placemntId for android banner --- defunityads/src/java/com/agulev/defunityads/DefUnityAdsJNI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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