Page Summary
-
The Google Mobile Ads SDK supports fixed ad sizes as an alternative to adaptive banners.
-
Standard fixed banner ad sizes and their availability on phones and tablets are provided.
-
You can define a custom banner size using the provided functions for Swift and Objective-C.
-
Example code for fixed size banner ads is available for both Swift and Objective-C.
Google Mobile Ads SDK supports fixed ad sizes for situations where adaptive banners ads don't meet your needs.
The following table lists the standard banner sizes.
| Size in dp (WxH) | Description | Availability | AdSize constant |
|---|---|---|---|
| 320x50 | Banner | Phones and tablets | GADAdSizeBanner |