集成资助选项
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资助选项是一款简单易用的消息工具,可帮助您遵守
欧盟《一般数据保护条例》(GDPR) 的规定,以及因客户使用某些原因而
屏蔽了广告的用户
本指南将演示如何将资助选项与 IMA HTML5 SDK 搭配使用。
前提条件
您必须拥有
资助选项
与您的 Ad Manager 账号相关联
如需创建资助选项账号,请前往 Ad Manager 界面中的隐私权和消息,然后选择您的网站应遵守的地理位置法规。然后,系统会在后台自动创建 Funding Choices 账号。
向您的网站添加资助选项消息
创建网站的用户意见征求消息后,IMA HTML5 SDK 会自动与 Funding Choices API 交互,无需任何额外的代码。接收者
创建资助选项消息,请前往隐私权和消息部分
,然后选择管理以查看欧洲法规。出发地:
在该页面中,为网站选择创建消息,然后创建针对具体网站的
用户意见征求消息。如果您已集成 IMA HTML5 SDK,系统会自动在您的网站上添加此代码。
如需了解 Funding Choices API 中提供的信息和方法,请参阅
资助选项 JavaScript API
文档。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eFunding Choices is a tool that helps publishers comply with GDPR and recover revenue lost due to ad blockers.\u003c/p\u003e\n"],["\u003cp\u003eThe IMA HTML5 SDK automatically interacts with Funding Choices once your site's consent message is created in Ad Manager, requiring no extra code.\u003c/p\u003e\n"],["\u003cp\u003eTo create a Funding Choices account and consent message, navigate to the 'Privacy & messaging' section within your Ad Manager account.\u003c/p\u003e\n"],["\u003cp\u003eYou must link your Ad Manager account with a Funding Choices account to utilize this feature.\u003c/p\u003e\n"]]],[],null,["# Integrate Funding Choices\n\nFunding Choices is an easy-to-use messaging tool that can help you comply with\nthe EU General Data Protection Regulation (GDPR), and recover lost revenue from\nad blocking users.\n\nThis guide demonstrates how to use Funding Choices with the IMA HTML5 SDK.\n\nPrerequisites\n-------------\n\nYou must have a\n[Funding Choices](//support.google.com/admanager/answer/10075997)\naccount linked to your Ad Manager account.\n\nTo create a Funding Choices account, go to **Privacy \\& messaging** in the Ad\nManager UI and select the location-based regulations for your site to adhere to.\nThe Funding Choices account is then created automatically in the background.\n\nAdd the Funding Choices message to your site\n--------------------------------------------\n\nThe IMA HTML5 SDK interacts with the Funding Choices API automatically once\nyour site's consent message has been created, no additional code is needed. To\ncreate your Funding Choices message, go to the **Privacy \\& messaging** section\nof your Ad Manager account and select **Manage** for European regulations. From\nthat page select **Create message** for **Sites** then create your site-specific\nconsent message. This is automatically included on your site, given you have\nintegrated the IMA HTML5 SDK.\n\nFor information and methods available in the Funding Choices API, see the\n[Funding Choices JavaScript API\ndocumentation](/funding-choices/fc-api-docs)."]]