El SDK de anuncios de Google para dispositivos móviles proporciona una API que te permite especificar un tipo de creatividad para las búsquedas de prueba. Cuando se establece el parámetro, solo se recuperan y renderizan creatividades del tipo especificado.
Uso
Para especificar un tipo de creatividad, incluye el parámetro ft_ctype en un objeto de extras y pásalo a la solicitud de anuncio. Esto puede restringir los anuncios disponibles y generar que no se publiquen anuncios.
En la siguiente tabla, se muestran los valores válidos para ft_ctype:
Tipo creativo
ft_ctype
Formato
HTML5
html5
Banner, intersticial, recompensado
Imagen de instalación de la app
image_app_install
Banner, nativo, intersticial, recompensado
Imagen visible
image_display
Banner, intersticial
Cómo mostrar un espacio parcial
partial_slot
Banner, nativo, intersticial
Texto de instalación de la aplicación
text_app_install
Banner, nativo, intersticial
Texto visible
text_display
Banner, nativo, intersticial
TrueView
Trueview
Intersticial, recompensado
Video de instalación de aplicación
video_app_install
Banner, nativo, intersticial, recompensado
Esta función solo afecta a los anuncios de Google. Si tu unidad de anuncios habilita la mediación, los anuncios que se muestran desde fuentes de anuncios de terceros no respetan el parámetro ft_ctype. Te recomendamos realizar pruebas con una unidad de anuncios que no tenga habilitada la mediación.
[null,null,["Última actualización: 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"]]