Fixed size banner ads
Stay organized with collections
Save and categorize content based on your preferences.
The Next Gen 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 |
320x100 |
Large banner |
Phones and tablets |
LARGE_BANNER |
300x250 |
IAB medium rectangle |
Phones and tablets |
MEDIUM_RECTANGLE |
468x60 |
IAB full-size banner |
Tablets |
FULL_BANNER |
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.
Custom ad size
If you have Ad Manager reservation line items targeting a custom size, you can
create an AdSize
with a custom width and height that matches your line item.
Kotlin
val customAdSize = AdSize(250, 250)
val adRequest = BannerAdRequest.Builder(AD_UNIT_ID, customAdSize).build()
Java
AdSize customAdSize = new AdSize(250, 250);
BannerAdRequest adRequest = new BannerAdRequest.Builder(AD_UNIT_ID, customAdSize).build();
Multiple ad sizes
If you want to target line items of multiple ad sizes in the same ad request,
create a request with a list of ad sizes.
Kotlin
val adSizes = listOf(AdSize(120, 20), AdSize.BANNER, AdSize.MEDIUM_RECTANGLE)
val adRequest = BannerAdRequest.Builder(AD_UNIT_ID, adSizes).build()
Java
List<AdSize> adSizes =
Arrays.asList(new AdSize(120, 20), AdSize.BANNER, AdSize.MEDIUM_RECTANGLE);
BannerAdRequest adRequest = new BannerAdRequest.Builder(AD_UNIT_ID, adSizes).build();
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-09-04 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-09-04 UTC."],[[["\u003cp\u003eThe Google Mobile Ads SDK offers fixed ad sizes as an alternative to adaptive banners.\u003c/p\u003e\n"],["\u003cp\u003eStandard banner sizes include Banner (320x50), Large Banner (320x100), IAB medium rectangle (300x250), IAB full-size banner (468x60), and IAB leaderboard (728x90), with varying availability across phones and tablets.\u003c/p\u003e\n"],["\u003cp\u003eThe ad container must be at least as large as the chosen banner size to display the ad correctly.\u003c/p\u003e\n"],["\u003cp\u003eInsufficient container size results in the ad not being shown and a warning message being logged.\u003c/p\u003e\n"]]],[],null,["The Next Gen Mobile Ads SDK supports fixed ad sizes for situations where adaptive\nbanners ads don't meet your needs.\n\nThe following table lists the standard banner sizes.\n\n| Size in dp (WxH) | Description | Availability | AdSize constant |\n|------------------|----------------------|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 320x50 | Banner | Phones and tablets | [BANNER](/ad-manager/mobile-ads-sdk/android/early-access/nextgen/reference/com/google/android/libraries/ads/mobile/sdk/banner/AdSize#BANNER()) |\n| 320x100 | Large banner | Phones and tablets | [LARGE_BANNER](/ad-manager/mobile-ads-sdk/android/early-access/nextgen/reference/com/google/android/libraries/ads/mobile/sdk/banner/AdSize#LARGE_BANNER()) |\n| 300x250 | IAB medium rectangle | Phones and tablets | [MEDIUM_RECTANGLE](/ad-manager/mobile-ads-sdk/android/early-access/nextgen/reference/com/google/android/libraries/ads/mobile/sdk/banner/AdSize#MEDIUM_RECTANGLE()) |\n| 468x60 | IAB full-size banner | Tablets | [FULL_BANNER](/ad-manager/mobile-ads-sdk/android/early-access/nextgen/reference/com/google/android/libraries/ads/mobile/sdk/banner/AdSize#FULL_BANNER()) |\n| 728x90 | IAB leaderboard | Tablets | [LEADERBOARD](/ad-manager/mobile-ads-sdk/android/early-access/nextgen/reference/com/google/android/libraries/ads/mobile/sdk/banner/AdSize#LEADERBOARD()) |\n\nThe size of the container in which you place your ad must be at least as big as\nthe banner. Any padding effectively decreases the size of your container. If the\ncontainer cannot fit the banner ad, the ad isn't shown and the following\nwarning is logged: \n\n W/Ads: Not enough space to show ad. Needs 320x50 dp, but only has 288x495 dp.\n\n\u003cbr /\u003e\n\nCustom ad size\n\nIf you have Ad Manager reservation [line items](//support.google.com/admanager/answer/9405477) targeting a custom size, you can\ncreate an `AdSize` with a custom width and height that matches your line item. \n\nKotlin \n\n val customAdSize = AdSize(250, 250)\n val adRequest = BannerAdRequest.Builder(AD_UNIT_ID, customAdSize).build()\n\nJava \n\n AdSize customAdSize = new AdSize(250, 250);\n BannerAdRequest adRequest = new BannerAdRequest.Builder(AD_UNIT_ID, customAdSize).build();\n\nMultiple ad sizes\n\nIf you want to target line items of multiple ad sizes in the same ad request,\ncreate a request with a list of ad sizes. \n\nKotlin \n\n val adSizes = listOf(AdSize(120, 20), AdSize.BANNER, AdSize.MEDIUM_RECTANGLE)\n val adRequest = BannerAdRequest.Builder(AD_UNIT_ID, adSizes).build()\n\nJava \n\n List\u003cAdSize\u003e adSizes =\n Arrays.asList(new AdSize(120, 20), AdSize.BANNER, AdSize.MEDIUM_RECTANGLE);\n BannerAdRequest adRequest = new BannerAdRequest.Builder(AD_UNIT_ID, adSizes).build();"]]