Banery reklamowe o stałym rozmiarze
Pakiet SDK do reklam mobilnych Google obsługuje reklamy o stałych rozmiarach w sytuacjach, gdy reklamy w formacie banera zoptymalizowanym nie spełniają Twoich oczekiwań.
Tabela poniżej zawiera standardowe rozmiary banerów.
Rozmiar w dp (szer. x wys.) |
Opis |
Dostępność |
stała AdSize |
320 x 50 |
Baner |
Telefony i tablety |
banner |
320 x 100 |
Duży baner |
Telefony i tablety |
largeBanner |
300 x 250 |
Średni prostokąt IAB |
Telefony i tablety |
mediumRectangle |
468 x 60 |
Baner w pełnym rozmiarze IAB |
Tablety |
fullBanner |
728 x 90 |
Tablica wyników IAB |
Tablety |
leaderboard |
Rozmiar kontenera, w którym umieszczasz reklamę, musi być co najmniej taki sam jak baner. Dodanie jakiegokolwiek wypełnienia zmniejsza rozmiar kontenera. Jeśli kontener nie może zmieścić reklamy banerowej, reklama nie jest wyświetlana, a w systemie rejestrowane jest to ostrzeżenie:
W/Ads: Not enough space to show ad. Needs 320x50 dp, but only has 288x495 dp.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-02-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-02-25 UTC."],[[["The Google Mobile Ads SDK offers fixed ad sizes as an alternative to adaptive banners."],["Standard banner sizes include: Banner (320x50), Large Banner (320x100), IAB medium rectangle (300x250), IAB full-size banner (468x60), and IAB leaderboard (728x90), each with varying availability across phones and tablets."],["Ensure the container for your ad is at least as large as the banner size to avoid display issues and warning messages."]]],["The Google Mobile Ads SDK offers fixed ad sizes as an alternative to adaptive banners. Standard banner sizes include 320x50 (banner), 320x100 (large banner), 300x250 (medium rectangle), 468x60 (full-size banner), and 728x90 (leaderboard), each with specific `AdSize` constants. The ad container must be at least as large as the banner size, considering any padding. If the container is too small, the ad will not be displayed, and a warning will be logged.\n"]]