Mulai
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Iklan native adalah aset iklan yang ditampilkan kepada pengguna dengan komponen UI yang merupakan bagian asli dari platform. Dalam istilah coding, ini berarti bahwa saat iklan native dimuat, aplikasi Anda
menerima objek NativeAd
yang berisi asetnya, dan aplikasi Anda—bukan
Google Mobile Ads SDK—yang bertanggung jawab untuk menampilkannya.
Format iklan ini digunakan saat Anda menginginkan kontrol lebih besar untuk mengatur gaya tampilan iklan.
Jika Anda tidak memerlukan fitur ini, gunakan salah satu format iklan kami yang lain.
Ada dua cara untuk menampilkan iklan native di aplikasi Flutter Anda:
- Template native: Template native standar yang diberi gaya dengan Dart API.
- Penyiapan platform: Tata letak khusus platform kustom yang ditentukan menggunakan alat tata letak Android dan iOS.
Template native
Ada dua jenis template yang dapat dipilih: kecil atau sedang. Setiap template dilengkapi dengan opsi penataan gaya visual UI; namun, opsi ini menawarkan lebih sedikit penyesuaian daripada penerapan penyiapan platform.
Kecil |
 Android
|
 iOS
|
Sedang |
 Android
|
 iOS
|
Untuk mengetahui detail penerapan template native di Dart, lihat Template
native.
Penyiapan platform lebih baik jika Anda memerlukan kontrol penuh atas tampilan dan nuansa iklan di platform Android dan iOS, tetapi Anda harus menulis kode untuk keduanya.
Untuk petunjuk penyiapan khusus platform, lihat Penyiapan
platform.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-09-06 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-06 UTC."],[[["\u003cp\u003eNative ads give you control over the ad's look and feel by providing ad assets that your app displays using native UI components.\u003c/p\u003e\n"],["\u003cp\u003eChoose between Native Templates for pre-defined layouts with styling options or Platform Setup for complete customization using Android/iOS tools.\u003c/p\u003e\n"],["\u003cp\u003eNative Templates offer small and medium sizes with some UI customization, while Platform Setup provides full control but requires platform-specific code.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided links for detailed implementation instructions on both Native Templates and Platform Setup for Flutter.\u003c/p\u003e\n"]]],["Native ads allow apps to display ad assets using native UI components. Apps receive a `NativeAd` object and handle asset display. There are two implementation methods: native templates and platform setup. Native templates offer pre-defined small or medium designs with some styling options. Platform setup provides full control over ad appearance on Android and iOS but requires platform-specific code. Native templates are detailed in the linked section and so are the platform specific set up.\n"],null,["Select platform: [Android](/admob/android/native \"View this page for the Android platform docs.\") [iOS](/admob/ios/native \"View this page for the iOS platform docs.\") [Flutter](/admob/flutter/native \"View this page for the Flutter platform docs.\") [Unity](/admob/unity/native-overlay \"View this page for the Unity platform docs.\")\n\n\u003cbr /\u003e\n\nNative ads are ad assets presented to users with UI components native to the\nplatform. In coding terms, this means that when a native ad loads, your app\nreceives a `NativeAd` object that contains its assets, and your app---rather\nthan Google Mobile Ads SDK---is then responsible for displaying them.\n\nThis ad format is for when you want more control to style the look of your ads.\nIf you don't need these features, use one of our other ad formats.\n\nThere are two ways to display native ads in your Flutter app:\n\n- **Native templates:** Pre-defined native templates styled with a Dart API.\n- **Platform setup:** Custom platform-specific layouts defined using Android and iOS layout tools.\n\nNative templates\n\nThere are two template types to choose from: small or medium. Each template\ncomes with UI styling options; however, they offer less customization than\nthe platform setup implementation.\n\n| Small |\n|-------------|---------|\n| **Android** | **iOS** |\n| **Android** | **iOS** |\n\nFor native templates implementation details in Dart, see [Native\ntemplates](/admob/flutter/native/templates).\n\nPlatform setup\n\nPlatform setup is better when you need complete control of the look and feel for\nyour ads on both Android and iOS platforms, but you'll need to write code for\nboth.\n\nFor platform-specific setup instructions, see [Platform\nsetup](/admob/flutter/native/platforms)."]]