درخواست رضایت از کاربران اتحادیه اروپا
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تحت خطمشی رضایت کاربر اتحادیه اروپا Google، باید اطلاعات مشخصی را برای کاربران خود در منطقه اقتصادی اروپا (EEA) ارائه دهید و رضایت آنها را برای استفاده از کوکیها یا سایر فضای ذخیرهسازی محلی در صورت لزوم، و برای جمعآوری، اشتراکگذاری و استفاده از داده های شخصی برای شخصی سازی تبلیغات این سیاست منعکس کننده الزامات دستورالعمل حریم خصوصی الکترونیک اتحادیه اروپا و مقررات عمومی حفاظت از داده ها (GDPR) است.
باز ارسال رضایت به IMA SDK
بهطور پیشفرض، درخواستهای تبلیغاتی به Google، تبلیغات شخصیسازی شده را ارائه میکنند، با انتخاب آگهی بر اساس محتوای صفحه وب یا برنامه و سابقه بازدید کاربر از آن. گوگل همچنین از ارائه تبلیغات غیرشخصی پشتیبانی می کند. درباره تبلیغات شخصی و غیر شخصی بیشتر بدانید
برای اجبار تبلیغات غیرشخصی، میتوانید &npa=1
را به برچسب آگهی خود اضافه کنید تا مشخص کنید فقط محتوای تبلیغاتی غیرشخصیشده باید بازگردانده شود.
این کار با ویژگی adTagParameters
انجام می شود، مانند:
Sub loadStream()
...
request = sdk.CreateStreamRequest()
if m.top.streamData.type = "live"
request.assetKey = m.top.streamData.assetKey
else
request.contentSourceId = m.top.streamData.contentSourceId
request.videoId = m.top.streamData.videoId
end if
request.apiKey = m.top.streamData.apiKey
request.player = m.player
request.adTagParameters = "npa=1";
requestResult = sdk.requestStream(request)
...
End Sub
برچسب زدن کاربران به عنوان زیر سن رضایت
میتوانید درخواستهای تبلیغات خود را برای دریافت درمان برای کاربران زیر سن رضایت در منطقه اقتصادی اروپا (EEA) علامتگذاری کنید. این ویژگی برای کمک به تسهیل انطباق با مقررات عمومی حفاظت از داده ها (GDPR) طراحی شده است. توجه داشته باشید که ممکن است تعهدات قانونی دیگری تحت GDPR داشته باشید. لطفاً راهنمایی های اتحادیه اروپا را مرور کنید و با مشاور حقوقی خود مشورت کنید. لطفاً به یاد داشته باشید که ابزارهای Google برای تسهیل در رعایت قوانین طراحی شده اند و هیچ ناشر خاصی را از تعهدات خود بر اساس قانون سلب نمی کند. درباره نحوه تأثیر GDPR بر ناشران بیشتر بدانید
هنگام استفاده از این ویژگی، یک پارامتر TFUA (برچسب برای کاربران زیر سن رضایت در اروپا) در درخواست آگهی گنجانده خواهد شد. این پارامتر تبلیغات شخصیشده ، از جمله بازاریابی مجدد را برای آن درخواست آگهی خاص غیرفعال میکند. همچنین درخواستهای فروشندههای تبلیغات شخص ثالث، مانند پیکسلهای اندازهگیری آگهی و سرورهای آگهی شخص ثالث را غیرفعال میکند. این پارامتر بر استفاده شما از کلید-مقدارهای Ad Manager تأثیری ندارد. در نتیجه، باید اطمینان حاصل کنید که استفاده شما از مقادیر کلیدی با GDPR مطابقت دارد.
گنجاندن پارامتر TFUA در یک درخواست آگهی بر هر تنظیمات قابل اجرا در سطح سایت اولویت دارد.
برای گنجاندن این برچسب در تمام درخواستهای تبلیغاتی که از پیادهسازی شما انجام میشود، &tfua=1
را به برچسب آگهی خود اضافه کنید.
Sub loadStream()
...
request = sdk.CreateStreamRequest()
if m.top.streamData.type = "live"
request.assetKey = m.top.streamData.assetKey
else
request.contentSourceId = m.top.streamData.contentSourceId
request.videoId = m.top.streamData.videoId
end if
request.apiKey = m.top.streamData.apiKey
request.player = m.player
request.adTagParameters = "tfua=1";
requestResult = sdk.requestStream(request)
...
End Sub
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003ePublishers serving users in the European Economic Area (EEA) must comply with Google's EU User Consent Policy, including obtaining consent for cookies and data usage for ad personalization.\u003c/p\u003e\n"],["\u003cp\u003eNon-personalized ads can be served by adding \u003ccode\u003e&npa=1\u003c/code\u003e to the ad tag's \u003ccode\u003eadTagParameters\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eTo comply with GDPR for users under the age of consent, add \u003ccode\u003e&tfua=1\u003c/code\u003e to the ad tag's \u003ccode\u003eadTagParameters\u003c/code\u003e, which disables personalized ads and third-party ad vendor requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etfua\u003c/code\u003e parameter takes precedence over site-level settings, disabling personalized advertising and third-party ad vendor requests for that specific ad request.\u003c/p\u003e\n"],["\u003cp\u003ePublishers should review GDPR guidelines and seek legal counsel to ensure full compliance beyond the use of Google's tools.\u003c/p\u003e\n"]]],[],null,["# Request consent from EU users\n\nUnder Google's [EU User Consent\nPolicy](//www.google.com/about/company/consentstaging.html),\nyou must make certain disclosures to your users in the European\nEconomic Area (EEA) and obtain their consent for the use of cookies or\nother local storage where legally required, and for the collection,\nsharing, and use of personal data for ads personalization. This policy\nreflects the requirements of the EU ePrivacy Directive and the General\nData Protection Regulation (GDPR).\n\n\u003cbr /\u003e\n\nForwarding consent to the IMA SDK\n---------------------------------\n\nBy default, ad requests to Google serve personalized ads, with ad selection\nbased on both the content of the web page or app and the history of the user\nvisiting it. Google also supports serving non-personalized ads.\n[Learn more about personalized and non-personalized\nads](//support.google.com/admanager/answer/9005435)\n\nTo force non-personalized ads, you can append `&npa=1` to your ad tag\nto specify that only non-personalized ad content should be returned.\n\nThis is accomplished with the `adTagParameters` property, like so: \n\n```gdscript\nSub loadStream()\n ...\n request = sdk.CreateStreamRequest()\n if m.top.streamData.type = \"live\"\n request.assetKey = m.top.streamData.assetKey\n else\n request.contentSourceId = m.top.streamData.contentSourceId\n request.videoId = m.top.streamData.videoId\n end if\n request.apiKey = m.top.streamData.apiKey\n request.player = m.player\n request.adTagParameters = \"npa=1\";\n requestResult = sdk.requestStream(request)\n ...\nEnd Sub\n```\n\nTagging users as under the age of consent\n-----------------------------------------\n\nYou can mark your ad requests to receive treatment for users in the European\nEconomic Area (EEA) under the age of consent. This feature is designed to\nhelp facilitate compliance with the [General Data Protection Regulation\n(GDPR)](//eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679).\nNote that you may have other legal obligations under GDPR. Please review\nthe European Union's guidance and consult with your own legal counsel.\nPlease remember that Google's tools are designed to facilitate compliance\nand do not relieve any particular publisher of its obligations under the\nlaw. [Learn more about how GDPR affects\npublishers](//support.google.com/admanager/answer/7666366)\n\nWhen using this feature, a TFUA (Tag For Users under the Age of Consent in\nEurope) parameter will be included in the ad request. This parameter disables\n[personalized advertising](//support.google.com/admanager/answer/9005435),\nincluding remarketing, for that specific ad request. It also disables\nrequests to third-party ad vendors, such as ad measurement pixels and\nthird-party ad servers. The parameter does not affect your use of\nAd Manager key-values. Consequently, you must ensure that your use of\nkey-values is compliant with GDPR.\n\nIncluding the TFUA parameter in an ad request takes precedence over any\napplicable site-level settings.\n\nTo include this tag on all ad requests made from your implementation,\nappend `&tfua=1` to your ad tag. \n\n```gdscript\nSub loadStream()\n ...\n request = sdk.CreateStreamRequest()\n if m.top.streamData.type = \"live\"\n request.assetKey = m.top.streamData.assetKey\n else\n request.contentSourceId = m.top.streamData.contentSourceId\n request.videoId = m.top.streamData.videoId\n end if\n request.apiKey = m.top.streamData.apiKey\n request.player = m.player\n request.adTagParameters = \"tfua=1\";\n requestResult = sdk.requestStream(request)\n ...\nEnd Sub\n```"]]