Google Mobile Ads SDK menyediakan API yang memungkinkan Anda menentukan jenis materi iklan
untuk kueri pengujian. Saat parameter ditetapkan, hanya materi iklan dari jenis
yang ditentukan yang diambil dan dirender.
Penggunaan
Untuk menentukan jenis materi iklan, sertakan parameter ft_ctype dalam objek tambahan
dan teruskan ke permintaan iklan. Hal ini dapat membatasi iklan yang tersedia dan
menghasilkan pengisian nol.
Tabel berikut mencantumkan nilai yang valid untuk ft_ctype:
Jenis Materi Iklan
ft_ctype
Format
HTML5
html5
Banner, Interstisial, Reward
Gambar penginstalan aplikasi
image_app_install
Banner, Native, Interstisial, Reward
Gambar tampilan
image_display
Banner, Interstisial
Menampilkan slot parsial
partial_slot
Banner, Native, Interstisial
Teks penginstalan aplikasi
text_app_install
Banner, Native, Interstisial
Teks tampilan
text_display
Banner, Native, Interstisial
TrueView
trueview
Interstisial, Reward
Video penginstalan aplikasi
video_app_install
Banner, Native, Interstisial, Reward
Fitur ini hanya memengaruhi iklan Google. Jika unit iklan Anda mengaktifkan
mediasi, iklan yang ditampilkan dari sumber iklan pihak ketiga tidak
mengikuti parameter ft_ctype. Sebaiknya uji dengan unit iklan yang
tidak mengaktifkan mediasi.
[null,null,["Terakhir diperbarui pada 2025-03-04 UTC."],[[["The Google Mobile Ads C++ SDK is deprecated and will be end-of-maintenance on June 17, 2025; developers should use the iOS or Android SDKs instead."],["The SDK allows specifying desired creative types for test queries using the `ft_ctype` parameter in test mode."],["This feature is applicable to Google ads only and may result in more no fills due to restricted ad availability."],["Valid `ft_ctype` values include `html5`, `image_app_install`, `image_display`, `partial_slot`, `text_app_install`, `text_display`, `trueview`, and `video_app_install`, each corresponding to specific creative types and ad formats."],["For support, consult the Google Mobile Ads SDK Technical Forum."]]],["The Google Mobile Ads C++ SDK is deprecated as of June 17, 2024, and will reach End-of-Maintenance on June 17, 2025; use iOS or Android SDKs instead. In Test Mode, the `ft_ctype` parameter can be added to ad requests to retrieve only specified creative types. Valid `ft_ctype` values include `html5`, `image_app_install`, `video_app_install`, and others, each corresponding to a specific format. This parameter only affects Google ads.\n"]]