固定サイズのバナー広告
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Google Mobile Ads SDK は、アダプティブ バナー広告がお客様のニーズに合わない場合のために、固定サイズの広告をサポートしています。
標準のバナーサイズについては、以下の表をご覧ください。
サイズ(単位は dp、幅×高さ) |
説明 |
対応デバイス |
AdSize の定数値 |
320×50 |
バナー |
スマートフォン、タブレット |
banner |
320×100 |
バナー(大) |
スマートフォン、タブレット |
largeBanner |
300×250 |
IAB レクタングル(中) |
スマートフォン、タブレット |
mediumRectangle |
468×60 |
IAB フルサイズ バナー |
タブレット |
fullBanner |
728×90 |
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-09-02 UTC。
[null,null,["最終更新日 2025-09-02 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"],null,[]]