Banner ads bottom positioning with some space below

I am using Appodeal.show(getActivity(),Appodeal.BANNER_BOTTOM); to position banner ad at the bottom of screen , but i want to keep some space between the ad and the bottom of the screen around 20dp because there is a share button which gets covered by the ad.
So , how to position the bottom banner ad leaving some space below using java.