Anuncios de banner de tamaño fijo
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Selecciona la plataforma:
Android
iOS
Flutter
El SDK de anuncios de Google para dispositivos móviles admite tamaños de anuncios fijos en las situaciones en que los anuncios de banner adaptable no satisfacen tus necesidades.
La siguiente tabla presenta los tamaños de banner estándares.
Tamaño en dp (ancho × alto) |
Descripción |
Disponibilidad |
Constante de AdSize |
320 x 50 |
Banner |
Teléfonos y tablets |
banner |
320 x 100 |
Banner grande |
Teléfonos y tablets |
largeBanner |
300 × 250 |
Rectángulo mediano de IAB |
Teléfonos y tablets |
mediumRectangle |
468 x 60 |
Banner de tamaño completo de IAB |
Tablets |
fullBanner |
728 x 90 |
Leaderboard de IAB |
Tablets |
leaderboard |
El tamaño del contenedor en el que colocas el anuncio debe ser, al menos, igual de grande que el banner. Cualquier padding disminuye de manera efectiva el tamaño del contenedor. Si el anuncio de banner no cabe en el contenedor, el anuncio no se mostrará, y se registrará la siguiente advertencia:
W/Ads: Not enough space to show ad. Needs 320x50 dp, but only has 288x495 dp.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-08-22 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-22 (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\u003eAd containers must accommodate the chosen ad size, including any padding, to ensure proper display and avoid warnings.\u003c/p\u003e\n"]]],[],null,["Select platform: [Android](/admob/android/banner/fixed-size \"View this page for the Android platform docs.\") [iOS](/admob/ios/banner/fixed-size \"View this page for the iOS platform docs.\") [Flutter](/admob/flutter/banner/fixed-size \"View this page for the Flutter platform docs.\")\n\n\u003cbr /\u003e\n\nThe Google 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` |\n| 320x100 | Large banner | Phones and tablets | `largeBanner` |\n| 300x250 | IAB medium rectangle | Phones and tablets | `mediumRectangle` |\n| 468x60 | IAB full-size banner | Tablets | `fullBanner` |\n| 728x90 | IAB leaderboard | Tablets | `leaderboard` |\n\nThe size of the container in which you place your ad must be at least as large\nas the banner. Any padding effectively decreases the size of your container. If\nthe container 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."]]