appodeal plugin, how to get height of banner admob?

Hi, I’m displaying 

appodeal.show( "banner", { yAlign="bottom" } ) 

but right above that I need something else and I don’t know how to get height of ad element?

Ads for the most part follow advertising standards. Most banner ads are 50 pixels high (based on a 320x480 screen) on phones and like 90 pixels high on tablets (leaderboards). See:

https://www.monetizemore.com/blog/best-mobile-ad-sizes-2014/

Rob  

thanks.

I found conditions like this: 

int height = 50; if(width \>= 728) height = 90; else if(width \>= 468) height = 60;

I’m yet to test those setting, but for now they look ok

Ads for the most part follow advertising standards. Most banner ads are 50 pixels high (based on a 320x480 screen) on phones and like 90 pixels high on tablets (leaderboards). See:

https://www.monetizemore.com/blog/best-mobile-ad-sizes-2014/

Rob  

thanks.

I found conditions like this: 

int height = 50; if(width \>= 728) height = 90; else if(width \>= 468) height = 60;

I’m yet to test those setting, but for now they look ok