تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
توفّر حزمة "SDK لإعلانات Google على الأجهزة الجوّالة" واجهة برمجة تطبيقات تتيح لك تحديد نوع تصميم إعلان لطلبات الاختبار. عند ضبط المَعلمة، يتم استرداد المواد الإبداعية من النوع المحدّد وعرضها فقط.
الاستخدام
لتحديد نوع مادة إبداعية، أدرِج المَعلمة ft_ctype في كائن إضافات
وامررها إلى طلب الإعلان. وقد يؤدي ذلك إلى حصر الإعلانات المتاحة وعدم عرض أي إعلان.
إعلان بانر، إعلان مدمج مع المحتوى، إعلان بيني، إعلان مقابل مكافأة
الصورة المعروضة
image_display
بانر، إعلان بيني
عرض شريحة جزئية
partial_slot
إعلان بانر وإعلان مدمج مع المحتوى وإعلان بيني
نص إعلان تثبيت التطبيق
text_app_install
إعلان بانر وإعلان مدمج مع المحتوى وإعلان بيني
النص الذي يظهر للمستخدم
text_display
إعلان بانر وإعلان مدمج مع المحتوى وإعلان بيني
TrueView
trueview
بيني، مقابل مكافأة
فيديو لتثبيت تطبيق
video_app_install
إعلان بانر، إعلان مدمج مع المحتوى، إعلان بيني، إعلان مقابل مكافأة
تؤثّر هذه الميزة في إعلانات Google فقط. إذا كانت وحدتك الإعلانية تتيح التوسّط، لن تلتزم الإعلانات المعروضة من مصادر إعلانات تابعة لجهات خارجية بالمعلّمة ft_ctype. ننصحك بإجراء الاختبار باستخدام وحدة إعلانية غير مفعَّلة فيها ميزة التوسّط.
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eThe SDK allows specifying desired creative types for test queries using the \u003ccode\u003eft_ctype\u003c/code\u003e parameter in test mode.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is applicable to Google ads only and may result in more no fills due to restricted ad availability.\u003c/p\u003e\n"],["\u003cp\u003eValid \u003ccode\u003eft_ctype\u003c/code\u003e values include \u003ccode\u003ehtml5\u003c/code\u003e, \u003ccode\u003eimage_app_install\u003c/code\u003e, \u003ccode\u003eimage_display\u003c/code\u003e, \u003ccode\u003epartial_slot\u003c/code\u003e, \u003ccode\u003etext_app_install\u003c/code\u003e, \u003ccode\u003etext_display\u003c/code\u003e, \u003ccode\u003etrueview\u003c/code\u003e, and \u003ccode\u003evideo_app_install\u003c/code\u003e, each corresponding to specific creative types and ad formats.\u003c/p\u003e\n"],["\u003cp\u003eFor support, consult the Google Mobile Ads SDK Technical Forum.\u003c/p\u003e\n"]]],["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"],null,["# Test creative types\n\n| **DEPRECATED:** The Google Mobile Ads C++ SDK is *deprecated* as of June 17, 2024 and should not be adopted in projects that don't already use it. It will enter *End-of-Maintenance (EoM)* on June 17, 2025. Note that versions of the SDK released before the EoM date will continue to function, but no further bug fixes or changes will be released after the EoM date.\n|\n| Instead of the Google Mobile Ads C++ SDK, consider using the\n| [iOS](/admob/ios/quick-start) and\n| [Android](/admob/android/quick-start) SDKs from AdMob.\n| For support, reach out to the\n| [Google Mobile Ads SDK Technical Forum](https://groups.google.com/g/google-admob-ads-sdk).\n\n\u003cbr /\u003e\n\n\nGoogle Mobile Ads SDK\n\nprovides an API that lets you specify a creative type\nfor test queries. When the parameter is set, only creatives of the specified\ntype are retrieved and rendered.\n\nUsage\n-----\n\nTo specify a creative type, include the `ft_ctype` parameter in an extras object\nand pass it to the ad request. This may restrict which ads are available and\nresult in no fill.\n**Note:** The `ft_ctype` parameter only works in [Test Mode](/admob/cpptest-ads#enable_test_devices). \n\n### Android\n\n AdRequest ad_request;\n\n ad_request.add_extra(\n /*adapter_class_name=*/\"com.google.ads.mediation.admob.AdMobAdapter\",\n /*extra_key=*/\"ft_ctype\",\n /*extra_value=*/\"video_app_install\");\n\n### iOS\n\n AdRequest ad_request;\n\n ad_request.add_extra(\n /*adapter_class_name=*/\"GADExtras\",\n /*extra_key=*/\"ft_ctype\",\n /*extra_value=*/\"video_app_install\");\n\nThe following table lists the valid values for `ft_ctype`:\n\n| Creative Type | ft_ctype | Format |\n|----------------------|-------------------|----------------------------------------|\n| HTML5 | html5 | Banner, Interstitial, Rewarded |\n| App install image | image_app_install | Banner, Native, Interstitial, Rewarded |\n| Display image | image_display | Banner, Interstitial |\n| Display partial slot | partial_slot | Banner, Native, Interstitial |\n| App install text | text_app_install | Banner, Native, Interstitial |\n| Display text | text_display | Banner, Native, Interstitial |\n| Trueview | trueview | Interstitial, Rewarded |\n| App install video | video_app_install | Banner, Native, Interstitial, Rewarded |\n\nThis feature impacts Google ads only. If your ad unit enables\n[mediation](/admob/cppmediation), ads returned from third-party ad sources don't\nrespect the `ft_ctype` parameter. We recommend testing with an ad unit that\ndoesn't have mediation enabled."]]