Fixed size banner ads
Stay organized with collections
Save and categorize content based on your preferences.
The 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 |
BANNER |
300x250 |
IAB medium rectangle |
Phones and tablets |
MEDIUM_RECTANGLE |
468x60 |
IAB full-size banner |
Tablets |
IABBanner |
728x90 |
IAB leaderboard |
Tablets |
Leaderboard |
The size of the container in which you place your ad must be at least as big as
the banner. Any padding effectively decreases the size of your container. If the
container cannot fit the banner ad, the ad isn't shown and the following
warning is logged:
W/Ads: Not enough space to show ad. Needs 320x50 dp, but only has 288x495 dp.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 UTC."],[[["The Google Mobile Ads SDK offers fixed ad sizes as an alternative to adaptive banners."],["Standard banner sizes include: Banner (320x50), IAB medium rectangle (300x250), IAB full-size banner (468x60), and IAB leaderboard (728x90), each with specific availability for phones and/or tablets."],["Ad containers must be large enough to accommodate the chosen ad size, otherwise, the ad won't display and a warning will be logged."]]],["The Google Mobile Ads SDK offers fixed ad sizes as an alternative to adaptive banners. Standard sizes include 320x50 (Banner), 300x250 (IAB medium rectangle), 468x60 (IAB full-size banner), and 728x90 (IAB leaderboard). Each has specific device availability, and corresponding AdSize constants. The container for the ad must be at least as large as the banner size to ensure proper display; otherwise, the ad won't appear, and a warning will be logged.\n"]]