Banner
Integrate banners
Usage
Plugin supports sticky banner ads displayed on the top of the user interface. Every banner component has to have unique placement name. Please note that the placement name has to be constant after once defined and cannot change with every app restart. Also you have to choose the size of the placement. To check available sizes, please see createPlacement method documentation. To reload new ad once, use reloadPlacement method. If you want to let AATKit reload ads automatically, use startPlacementAutoreload and stopPlacementAutoreload methods. See the example of creating banner 320x53
below.
To set position of the banner ad, you can use setPlacementAlignment, setPlacementAlignmentWithOffset and setPlacementPosition methods. The code below will place banner on the bottom-center
position on the screen.
Last updated