Google Mobile Ads Flutter Plugin obsługuje stałe rozmiary reklam w sytuacjach, gdy banery adaptacyjne nie spełniają Twoich wymagań.
W tabeli poniżej znajdziesz standardowe rozmiary banerów.
Rozmiar w dp (szer. × 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 IAB w pełnym rozmiarze
Tablety
fullBanner
728 x 90
Długi baner IAB
Tablety
leaderboard
Rozmiar kontenera, w którym umieszczasz reklamę, musi być co najmniej tak duży jak baner. Każdy margines wewnętrzny zmniejsza rozmiar kontenera. Jeśli kontener nie mieści reklamy banerowej, reklama nie jest wyświetlana i rejestrowane jest to ostrzeżenie:
W/Ads: Not enough space to show ad. Needs 320x50 dp, but only has 288x495 dp.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2026-07-08 UTC."],[],["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"]]