The Smart Banner size for ad units allows publishers to display the best sized ad according to the size and orientation of their mobile app. With Smart Banners, developers don’t need to offer a fixed size for their ad unit; they simply specify that the ad unit fill the width of the screen. This gives developers more flexibility in creating ad spaces within their apps that fit with a variety of screen sizes.


Create an ad unit with the Smart Banner size

Follow these steps:

  1. Create an ad unit as you normally would and select Smart Banner from the “Ad format” drop-down.
  2. In the app, use one of the following ad sizes for the ad view:
    • iOS: kGADAdSizeSmartBannerPortrait or kGADAdSizeSmartBannerLandscape
    • Android: SMART_BANNER
  3. MediaFem only creates mobile app ad tags for Smart Banner ad units because they're for apps only.