Setting margin/padding to the entire app/web veiw

I am using Ionic and I want to display a banner ad at the top or bottom. I want the ad to be of type overlay.

As the type is overlay it will cover the content under it. So how can I set the margin/padding of the entire app.
I have tried setting margin/padding to some elements but none work.

Kindly suggest for the tabs template.