Das Google Mobile Ads SDK umfasst eine API, mit der Sie einen bestimmten Creative-Typ für Testabfragen angeben können. Wenn der Parameter festgelegt ist, werden nur Creatives des angegebenen Typs abgerufen und gerendert.
Nutzung
Wenn Sie einen Creative-Typ angeben möchten, fügen Sie den Parameter ft_ctype in ein Extras-Objekt ein und übergeben Sie ihn an die Anzeigenanfrage. Das kann dazu führen, dass nur eingeschränkt Anzeigen verfügbar sind und keine Anzeigen ausgeliefert werden.
In der folgenden Tabelle sind die gültigen Werte für ft_ctype aufgeführt:
Creative-Typ
ft_ctype
Format
HTML5
HTML5
Banner, Interstitial, Anzeigen mit Prämie
App-Installationsbild
image_app_install
Banner, native Anzeigen, Interstitial-Anzeigen, Anzeigen mit Prämie
Anzeigebild
image_display
Banner, Interstitial
Teilfläche anzeigen
partial_slot
Banner, nativ, Interstitial
Text für App-Installation
text_app_install
Banner, nativ, Interstitial
Anzeigetext
text_display
Banner, nativ, Interstitial
TrueView
TrueView
Interstitial, mit Prämie
App-Installationsvideo
video_app_install
Banner, native Anzeigen, Interstitial-Anzeigen, Anzeigen mit Prämie
Diese Funktion wirkt sich nur auf Google-Anzeigen aus. Wenn für Ihren Anzeigenblock die Vermittlung aktiviert ist, wird der Parameter ft_ctype nicht für Anzeigen verwendet, die von Drittanbieter-Anzeigenquellen zurückgegeben werden. Wir empfehlen daher, Tests für einen Anzeigenblock auszuführen, für den die Vermittlung nicht aktiviert ist.
[null,null,["Zuletzt aktualisiert: 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"]]