SDK quảng cáo trên thiết bị di động của Google cung cấp một API cho phép bạn chỉ định loại mẫu quảng cáo cho các cụm từ tìm kiếm thử nghiệm. Khi bạn đặt tham số này, chỉ những mẫu quảng cáo thuộc loại đã chỉ định mới được truy xuất và hiển thị.
Cách sử dụng
Để chỉ định một loại mẫu quảng cáo, hãy đưa tham số ft_ctype vào đối tượng bổ sung rồi truyền tham số đó vào yêu cầu quảng cáo. Điều này có thể hạn chế những quảng cáo có sẵn và dẫn đến tình trạng không phân phát quảng cáo.
Tính năng này chỉ ảnh hưởng đến quảng cáo của Google. Nếu đơn vị quảng cáo của bạn bật tính năng dàn xếp, thì quảng cáo được trả về từ các nguồn quảng cáo của bên thứ ba sẽ không tuân theo tham số ft_ctype. Bạn nên thử nghiệm với một đơn vị quảng cáo không bật tính năng dàn xếp.
[null,null,["Cập nhật lần gần đây nhất: 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"]]