内购推荐 (IAP Promo) 让开发者可以轻松促进应用内购。使用内购推荐可以在游戏中的不同位置向不同玩家提供独特的购买机会。
游戏必须使用 5.4 以上的 Unity 版本,并启用以下服务:
Unity 建议使用最新的 Unity IAP SDK (1.20+) 和 Unity Ads 变现服务 SDK (3.0+) 来获取最新的功能。使用旧版本的 SDK 可能会导致初始化错误。
注意:在实现内购推荐时,必须在初始化 Ads SDK 之前初始化 IAP SDK 以避免潜在问题。
内购推荐 (IAP Promo) 有三个主要组件,所有这些组件都有自己相应的介绍文章:
广告位 (Placements) 向玩家提供变现内容(广告或内购推荐)。当玩家触发支持内购推荐的广告位时,后端会从该广告位的符合条件的__推荐__中选择__商品__进行推荐。玩家可以直接从生成的插页式广告进行应用内购 (IAP)。
内购推荐 (IAP Promo) 的机器学习软件将会利用 Unity 网络中的汇总数据,查找数据模式,然后将它们馈送到模型中以改进游戏。因此,即使对于全新玩家,也能为他们提供个性化产品。这种完全自动化的服务将全天候运行。要详细了解如何使用内购推荐来优化收入,请参阅有关个性化广告位的文档。
当__广告位__提出请求时,系统将查找所有符合显示条件的可用__商品__。它随后应用业务条件过滤功能(例如,地理位置或操作系统目标),并根据给出的剩余选项使用数据科学来选择最适合用户的商品。该模型会考虑大量数据点来优化其选择结果,例如设备特征和玩家会话行为。我们将最佳商品定义为使终身价值 (LTV) 最大化的商品。
要利用内购推荐 (IAP Promo) 的机器学习功能,只需将多个商品添加到推荐 (Promotions) 中,然后让 Unity 完成工作。
例如,请考虑玩家完成关卡时提供给他们的__推荐 (Promotion)__:
"EndLevel"
广告位。该广告位的填充请求将发现三个可能的__商品__:
我们建议每个__推荐 (Promotion)__ 至少提供三个价格点(低、中、高),并具有适当的相应支出费用。与任何数据驱动模型一样,可用数据点越多,就越有效。可添加到一次__推荐 (Promotion)__ 的__商品__数量没有限制;甚至可以选择为游戏应用商店中的每个价格层级提供一个__商品__。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.