Test creative types Stay organized with collections Save and categorize content based on your preferences.
Page Summary
The Google Mobile Ads C++ SDK is deprecated as of June 17, 2024 and should not be adopted in new projects.
Instead of the Google Mobile Ads C++ SDK, consider using the iOS and Android SDKs from AdMob.
The Google Mobile Ads SDK provides an API to specify a creative type for test queries using the
ft_ctypeparameter.The
ft_ctypeparameter only works in Test Mode and impacts only Google ads, not ads from third-party sources through mediation.The
ft_ctypeparameter can be added to anAdRequestusing theadd_extramethod with a specifiedadapter_class_name,extra_keyof "ft_ctype", and a validextra_valuefrom the provided table.
Instead of the Google Mobile Ads C++ SDK, consider using theiOS andAndroid SDKs from AdMob. For support, reach out to thecontact us form.
Google Mobile Ads SDK provides an API that lets you specify a creative typefor test queries. When the parameter is set, only creatives of the specifiedtype are retrieved and rendered.
Usage
To specify a creative type, include theft_ctype parameter in an extras objectand pass it to the ad request. This may restrict which ads are available andresult in no fill.
ft_ctype parameter only works inTest Mode.Android
AdRequestad_request;ad_request.add_extra(/*adapter_class_name=*/"com.google.ads.mediation.admob.AdMobAdapter",/*extra_key=*/"ft_ctype",/*extra_value=*/"video_app_install");iOS
AdRequestad_request;ad_request.add_extra(/*adapter_class_name=*/"GADExtras",/*extra_key=*/"ft_ctype",/*extra_value=*/"video_app_install");The following table lists the valid values forft_ctype:
| Creative Type | ft_ctype | Format |
|---|---|---|
| HTML5 | html5 | Banner, Interstitial, Rewarded |
| App install image | image_app_install | Banner, Native, Interstitial, Rewarded |
| Display image | image_display | Banner, Interstitial |
| Display partial slot | partial_slot | Banner, Native, Interstitial |
| App install text | text_app_install | Banner, Native, Interstitial |
| Display text | text_display | Banner, Native, Interstitial |
| Trueview | trueview | Interstitial, Rewarded |
| App install video | video_app_install | Banner, Native, Interstitial, Rewarded |
This feature impacts Google ads only. If your ad unit enablesmediation, ads returned from third-party ad sources don'trespect theft_ctype parameter. We recommend testing with an ad unit thatdoesn't have mediation enabled.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.