โฆษณาแบนเนอร์ขนาดคงที่
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เลือกแพลตฟอร์ม:
Android
iOS
Flutter
Google Mobile Ads SDK รองรับขนาดโฆษณาคงที่สำหรับกรณีที่โฆษณาแบนเนอร์แบบปรับขนาดได้ไม่ตรงกับความต้องการของคุณ
ตารางต่อไปนี้แสดงขนาดแบนเนอร์มาตรฐาน
ขนาดในหน่วย dp (กว้างxสูง) |
คำอธิบาย |
ความพร้อมใช้งาน |
ค่าคงที่ AdSize |
320x50 |
ป้ายประกาศ |
โทรศัพท์และแท็บเล็ต |
banner |
320x100 |
แบนเนอร์ขนาดใหญ่ |
โทรศัพท์และแท็บเล็ต |
largeBanner |
300x250 |
สี่เหลี่ยมผืนผ้าขนาดกลางของ IAB |
โทรศัพท์และแท็บเล็ต |
mediumRectangle |
468x60 |
แบนเนอร์ขนาดเต็มของ IAB |
แท็บเล็ต |
fullBanner |
728x90 |
ลีดเดอร์บอร์ดของ IAB |
แท็บเล็ต |
leaderboard |
ขนาดของคอนเทนเนอร์ที่คุณวางโฆษณาต้องมีขนาดอย่างน้อยเท่ากับแบนเนอร์
การเว้นระยะจะลดขนาดคอนเทนเนอร์ของคุณ หากคอนเทนเนอร์ไม่พอสำหรับโฆษณาแบนเนอร์ ระบบจะไม่แสดงโฆษณาและจะบันทึกคำเตือนต่อไปนี้
W/Ads: Not enough space to show ad. Needs 320x50 dp, but only has 288x495 dp.
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 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), each with varying availability across phones and tablets.\u003c/p\u003e\n"],["\u003cp\u003eEnsure the container for your ad is at least as large as the banner size to avoid display issues and warning messages.\u003c/p\u003e\n"]]],["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"],null,["# Fixed size banner ads\n\nSelect platform: [Android](/ad-manager/mobile-ads-sdk/android/banner/fixed-size \"View this page for the Android platform docs.\") [iOS](/ad-manager/mobile-ads-sdk/ios/banner/fixed-size \"View this page for the iOS platform docs.\") [Flutter](/ad-manager/mobile-ads-sdk/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."]]