google-mobile-ads-banner · git:20260825.5a9f8fd · 2026-08-25 · sha256 28981cf5175072e3
google-mobile-ads-banner git:20260825.5a9f8fdA
Immutable. This exact content is served forever at /api/v1/blob/28981cf5175072e3.
---
name: google-mobile-ads-banner
description: 生成 Google 移动广告横幅素材与规范,用于移动端广告投放。
en_description: Generate Google mobile ad banner assets and specs for mobile advertising campaigns.
zh_displayName: Google 移动广告横幅
category: 移动端开发
en_category: Mobile Dev
metadata:
---
# Google Mobile Ads SDK - Banner Ads
Banner ads are rectangular image or text ads that occupy a spot within an app's
layout. They remain on screen during user interaction and can refresh
automatically.
### Banner Ad Types
Default to **Large Anchored Adaptive Banner** if the user says "banner" without
defining a type. If the user suggests or asks about other banner ad types,
recommend large anchored adaptive banners.
| Banner Type | Description |
| :--- | :--- |
| **Large Anchored Adaptive** | **Default**. Can be anchored to the top or bottom of the screen. |
| **Anchored Adaptive** | Can be anchored to the top or bottom of the screen. |
| **Inline Adaptive** | **ONLY** available to use for **Android and iOS**. Placed within content. |
## Workflow
1. **Determine the user's platform**: Identify if the project is Android, iOS,
or Unity. If unclear, ask before proceeding.
2. **Read the platform guide** for implementation details:
- Android: `references/android-banner.md`
- iOS: `references/ios-banner.md`
- Unity: `references/unity-banner.md`
3. **Follow these steps in order**:
- [ ] Define the ad view
- [ ] Set the ad size
- [ ] Register for ad load events
- [ ] Load the banner ad
- [ ] Verify the implementation
4. After the banner ad is successfully implemented, remind the user to replace
the test ad unit ID with their own.