You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a solution for LeadBolt banner adapter.
For some reason in google AdMob, It does not accept the layout (viewGroup) of Leadbolt if it contains child view (the Ads). So, to solve it we've to extract the ad and remove all childviews from the layout.
Just change onAdLoaded() as below: @OverRide
public void onAdLoaded() {
Log.d(LeadBoltAdapterTag, "onAdLoaded");
View childView = view.getChildAt(0);
view.removeAllViews();
listener.onReceivedAd(childView);
}
The text was updated successfully, but these errors were encountered:
I found a solution for LeadBolt banner adapter.
For some reason in google AdMob, It does not accept the layout (viewGroup) of Leadbolt if it contains child view (the Ads). So, to solve it we've to extract the ad and remove all childviews from the layout.
Just change onAdLoaded() as below:
@OverRide
public void onAdLoaded() {
Log.d(LeadBoltAdapterTag, "onAdLoaded");
View childView = view.getChildAt(0);
view.removeAllViews();
listener.onReceivedAd(childView);
}
The text was updated successfully, but these errors were encountered: