Parallax
This page describes the in-app parallax format: where it should be displayed and the available APIs.
Table of contents
Overview
The in-app parallax is an inline ad which shows part of a full screen ad under the app content during scroll interactions. It supports images, agency scripts and HTML 5 creatives.
This format is designed to be displayed inside a SASBannerView
attached to scroll view. The parallax effect only applies when scrolling vertically.
Note that on iOS the parallax effect will only works on class inheriting from UIScrollView
.
Improving parallax rendering in your application
The SASBannerView
can automatically display parallax of ads when integrated into scrollable view.
The creative displayed inside the parallax banner view will takes the whole screen by default, excluding the navigation bar and the status bar on Android or the app’s window safe area on iOS.
It means that part of the creative might be hidden by some elements of your UI, especially elements covering the scrollable view.
You can configure margins for your banner views to avoid this issue, check the Android banner integration guide or the iOS banner integration guide for more information.