Unity Ads SDK 由领先的移动游戏引擎创建,无论您是在 Unity、xCode 还是 Android Studio 中进行开发,都能为您的游戏提供全面的变现服务框架。它简化了广告、应用内购买和分析,使用最先进的机器学习来最大化您的收入,同时保持良好的玩家体验。入门非常简单。
本页面将说明使用 Unity Ads 实现收入最大化的过程。您可以逐步跟随操作,或跳转到最适合您所在的开发阶段的集成步骤。
注意:此处引用的许多资源都会重定向到核心 Unity Ads 文档。
Unity 建议始终使用最新的 Ads SDK。此处许多文章中讨论的 API 仅在 SDK 3.0 及更高版本中可用。
如果您是 Unity Ads 的新手,请在实现前遵循以下基本步骤:
1.在开发者控制面板 (Developer Dashboard) 上注册 Unity Developer Network (UDN) 帐户。 2.配置广告位 (Placements) 以接收变现内容。 3.下载并导入最新的 Unity Ads SDK。 4.在开始之前,查看我们的最佳实践指南以更好地了解您的实现策略。
以下实现资源适用于使用 Unity 制作的游戏:
1.使用变现 API 集成 Unity Ads。
2.扩展您的基本广告集成:
i.奖励玩家观看广告。
ii.整合横幅广告。
iii.整合增强现实 (AR) 广告。
3.如果游戏使用应用内购买,请集成应用内购推荐 (IAP Promo)。
i.如果您使用 Unity IAP,请单击此处。
ii.如果您使用自定义的 IAP 实现,请单击此处。
iii.(可选)使用原生推荐 (Native Promo) 资源自定义您的推荐。
4.将广告和推荐广告位转换为个性化广告位 (Personalized Placements) 以利用 Unity 的收入优化功能。
除了实现之外,Unity 还可让您对策略进行微调:
有问题?我们为您提供帮助!以下资源可以帮助解决您的问题:
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.