Google Play Games 电脑版可让用户在 Windows PC 环境中体验 Android 游戏。许多流行的 Android 游戏都由应用内广告提供支持。Google Play Games 电脑版的目标是在不更改应用的情况下继续支持游戏内广告,并为广告买方和卖方提供更多功能,让他们能够识别 Google Play Games 电脑版并将其与实体 Android 设备上的版本区分开来,从而可以在处理相应请求时进行任何所需的更改。
使用 Google Play Games 电脑版时需考虑的差异
虽然 Google Play Games 电脑版运行的是标准 Android 游戏,但用户在这些游戏中的体验可能会因玩游戏时所用的 PC 硬件而异。其中包括以下差异:
用户玩游戏时所用的屏幕比任何移动设备的屏幕都要大。
键盘和鼠标是常用的输入设备。
如果广告宣传的是移动应用,那么用户可能无法在其 PC 上安装所宣传的应用。
广告提供商
如果您是使用 Android SDK 的广告提供商,您可能会看到由发布在 Google Play Games 电脑版的 Android 应用所发出的广告请求。如开发者指南中所述,Google Play Games 电脑版会模拟 Android 环境。目前,可在 Android 设备上运行的现有 SDK 应该无需更改便能继续在 Google Play Games 电脑版上运行。不过,由于用户将在台式 PC 上体验您的广告,因此您可能需要考虑更改广告展示方式,或更改用户点击广告后会引发的动作。
识别由 Google Play Games 电脑版中运行的游戏发出的请求
您可以使用 Play Integrity API 查看请求是否来自经过验证的 Google Play Games 电脑版实例。请注意,Play Integrity API 也可用于验证运行时环境是否可信。
广告买方
如果您是考虑购买 Android 游戏广告资源的买方,您可能需要针对在 Google Play Games 电脑版(在 Windows PC 上运行)上体验的广告资源来定位、排除或更改出价策略。
识别 Google Play Games 电脑版上运行的应用内的广告资源
运行 Google Play Games 电脑版的设备会在其用户代理中显示特定特征,例如“Mozilla/5.0 (Linux; Android 12; HPE device Build/SKR1.230204.001.A4; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.85 Mobile Safari/537.36 (Mobile; afma-sdk-a-v230914118.230914118.0),gzip(gfe),gzip(gfe)”。此外,平台将被报告为“Windows”。
Google Play Games 电脑版应被视为对 Android 平台的有限扩展。任何可使用 Android 平台的广告买方/卖方都可以使用 Google Play Games 电脑版。请注意,对于在 Google Play Games 电脑版上运行的应用,买方和卖方可能希望针对来自这些应用的请求考虑采取不同的行为。只要采用上述方法,即可识别此类广告资源并将其与标准 Android 平台上的广告资源区分开来。
问:可以对 Google Play Games 电脑版用户显示应用安装广告吗?用户要如何安装相关应用?
每个广告提供商都应自行决定希望针对来自 Google Play Games 电脑版的请求投放哪些类型的广告。在某些情况下,用户或许能够通过开放网络中的应用商店页面将应用安装到其设备上。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Ads on Google Play Games on PC\n\nGoogle Play Games on PC allows users to experience Android games on Windows PC\nenvironments. Many popular Android games are supported by in-app advertising.\nGoogle Play Games on PC aims to continue supporting in-game advertising without\napp changes and offers additional functionality for ad buyers and sellers to\nidentify and separate Google Play Games on PC from physical Android devices so\nthat these requests may be handled with any wanted changes.\n\nDifferences to consider with Google Play Games on PC\n----------------------------------------------------\n\nWhile Google Play Games on PC runs standard Android games, users experience\nthese games differently due to the PC hardware they use to play them. Examples\nof these differences include:\n\n- Games are played on a much larger screen than any mobile device.\n- Keyboards and mice are the common input devices.\n- For ads that promote mobile apps, users may not be able to install these apps on their PC.\n\nAd providers\n------------\n\nAs an ad provider with an Android SDK, you may see incoming ad requests from\nAndroid apps published on Google Play Games on PC. As documented in the\n[Developer's Guide](/games/playgames/overview), Google Play Games on PC\nemulator Android environments. Existing SDKs that function in Android today\nshould continue to function in Google Play Games on PC without changes.\nHowever, because users will be experiencing your ads on a desktop PC, you may\nwant to consider changes to how ads display or what happens when a user clicks\non an ad.\n| **Note:** Google Play recommends you think carefully through the user experiences your SDK facilitates and how these should best be optimized for your users. Alternatively, you can choose to simply refrain from serving ads to requests from games on Google Play Games on PC. To do so, see the following section on how to identify requests from Google Play Games on PC.\n\n### Identifying requests from games running on Google Play Games on PC\n\nUse the [Play Integrity API](/google/play/integrity/setup#sdks) to\nsee whether a requests is coming from a verified instance of\nGoogle Play Games on PC. Note that they Play Integrity API can also\nbe used to verify that the runtime environment is trusted.\n\nAd buyers\n---------\n\nAs an ad buyer considering purchasing Android game inventory, you may want to\ntarget, exclude or alter your bidding strategies for inventory that is\nexperiences on Google Play Games on PC, which runs on Windows PCs.\n\n### Identifying inventory from apps running on Google Play Games on PC\n\nDevices running in Google Play Games on PC will exhibit specific\ncharacteristics in their User Agent such as\n\"`Mozilla/5.0 (Linux; Android 12; HPE device Build/SKR1.230204.001.A4; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.85 Mobile Safari/537.36 (Mobile; afma-sdk-a-v230914118.230914118.0),gzip(gfe),gzip(gfe)`\". The Platform\nwill be reported as 'Windows'.\n\n### Preparing ad campaigns for Google Play Games on PC\n\nReview the developer's guide for [graphics on Google Play Games on PC](/games/playgames/graphics#large-screen-optimization) and consider whether to\nadd or adjust assets that will bid on this inventory.\n\nFrequently Asked Questions\n--------------------------\n\n- **Question: Which ad providers and/or buyers are supported for\n Google Play Games on PC?**\n - Google Play Games on PC should be considered a limited extension of the Android platform. Any ad buyer/seller that can support Android platforms can work with Google Play Games on PC. Note that buyers and sellers may wish to consider different behavior for requests from apps running Google Play Games on PC, and this can be accommodated by the means provided above to identify and separate this inventory from standard Android platforms.\n- **Question: Can app-install ads be shown to users in Google Play Games on PC?\n How does the user install the app?**\n - Each ad provider should decide on their own which types of advertising they want to facilitate for requests from Google Play Games on PC. In some cases, users may be able to install apps to their devices from an app store page on the open web."]]