Follow

Advanced Usage - Selecting Interstitial Ad TypeControlling the size of your banner

View original article on our GitHub

The size of the banner is determined by the "size" parameter which can receive one of the following values

ValueSizeBest fits for
STA_AutoAdSize Auto-size (recommended) detects the width of the device's screen in its current orientation, and provides the optimal banner for this size
STA_PortraitAdSize_320x50 320x50 iPhone/iPod touch in portrait mode
STA_LandscapeAdSize_480x50 480x50 iPhone/iPod touch in landscape mode
STA_PortraitAdSize_768x90 768x90 iPad in portrait mode
STA_LandscapeAdSize_1024x90 1024x90 iPad in landscape mode
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments