Phân phát quảng cáo bị hạn chế cho người dùng
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Chọn nền tảng:
HTML5
Android
iOS
Kể từ ngày 14 tháng 1 năm 2021, IMA iOS SDK cho phép phân phát quảng cáo bị hạn chế khi người dùng không đồng ý với cookie, người dùng từ chối đồng ý với cookie hoặc khi IMA không nhận được chuỗi về sự minh bạch và sự đồng ý hợp lệ ở các khu vực tuân thủ GDPR và ePrivacy sau thời gian ân hạn tích hợp TCF phiên bản 2 của IAB.
Đối với SDK phía máy khách, bạn phải sử dụng tham số
ltd
để kích hoạt yêu cầu quảng cáo bị hạn chế.
Vui lòng xem
Hướng dẫn về quảng cáo bị giới hạn để biết thêm thông tin.
Bạn cũng có thể tự động bật quảng cáo bị hạn chế thông qua việc tích hợp với Nền tảng quản lý sự đồng ý (CMP). Tính năng này được hỗ trợ trên phiên bản 3.11.1 của SDK iOS và tất cả các phiên bản sau này.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-09-06 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-09-06 UTC."],[[["\u003cp\u003eAs of January 14, 2021, the IMA iOS SDK can serve limited ads when user consent for cookies is not granted or a valid TC string is not received in GDPR and ePrivacy regions.\u003c/p\u003e\n"],["\u003cp\u003eTo request limited ads, the \u003ccode\u003eltd\u003c/code\u003e parameter must be used with client-side SDKs.\u003c/p\u003e\n"],["\u003cp\u003eStarting with version 3.11.1, the iOS SDK supports automatic enabling of limited ads through integration with a Consent Management Platform (CMP).\u003c/p\u003e\n"]]],[],null,["Select platform: [HTML5](/interactive-media-ads/docs/sdks/html5/client-side/limited-ads \"View this page for the HTML5 platform docs.\") [Android](/interactive-media-ads/docs/sdks/android/client-side/limited-ads \"View this page for the Android platform docs.\") [iOS](/interactive-media-ads/docs/sdks/ios/client-side/limited-ads \"View this page for the iOS platform docs.\")\n\n\u003cbr /\u003e\n\nAs of January 14th 2021, the IMA iOS SDK\nallows [limited ads](//support.google.com/admanager/answer/9882911) to be served\nwhen the user does not give consent to cookies, the user denies consent to\ncookies, or when IMA does not receive a valid TC string in GDPR and ePrivacy\nregions following the grace period of IAB TCFv2 integration.\nFor client-side SDKs you must use the [`ltd`](//support.google.com/admanager/table/9749596#ltd) parameter to trigger a limited ads request. Please see this [Limited ads guide](//support.google.com/admanager/answer/9882911) for more information.\n\n\u003cbr /\u003e\n\nIt is also possible to enable limited ads automatically through integrating with\na Consent Management Platform (CMP). This is supported on\n\nversion 3.11.1 of the iOS SDK and all later versions."]]