Iphone X ad baner bottom

Issue is following: I have to place my ad for mobile on the bottom of the screen. I‘m also supporting iphone X but I‘ve read in apple‘s guidelines that the ad has to be offset some pixels so it will not take the place of the home-swipe-indicator. Can someone tell me if the ad handles this alignement by itself, or do i have to change the position of the ad (if platform =IOS and screen resolution is (iphone x resolution)). ?
If yes, then how?
I have 150pixels „free space“ from the bottom edge for phones with „normal“ 9:16 displays.
The iphone X is a mess, but who cares.
Thanks.