生成促销代码Generate promotional codes

合作伙伴中心允许您生成的应用程序或外接程序在 Microsoft Store 中发布的促销代码。Partner Center lets you generate promotional codes for an app or add-on that you have published in the Microsoft Store. 促销充值码是让有影响力的用户能够免费访问你的应用或加载项的一种简便方式。Promotional codes are an easy way to give influential users free access to your app or add-on. 您还可以通过向用户提供免费访问权限,向应用程序或外接程序,或者为使用促销代码为解决客户服务情况beta 测试与 Windows 10。You might also use promotional codes to address customer service scenarios by giving users free access to your app or add-on, or for beta testing with Windows 10.

每个促销代码具有相应的唯一兑现,价格 URL,客户可以单击以兑换代码和从 Microsoft Store 安装应用程序或外接程序。Each promotional code has a corresponding unique redeemable URL that a customer can click in order to redeem the code and install your app or add-on from the Microsoft Store. 请注意,你的应用必须先通过应用认证过程的最终发布阶段,客户才能兑换促销代码以安装应用。Note that your app must pass the final publishing phase of the app certification process before customers can redeem a promotional code to install it.

您可以生成一次性代码 (并将分发到每个客户一个),也可以选择生成多个时间的指定数目的客户可以使用的代码。You can generate single-use codes (and distribute one to each customer), or you can choose to generate a code that can be used multiple times by a specified number of customers.

提示

可使用定向推送通知向细分市场客户分发促销代码。You can use targeted push notifications to distribute a promotional code to a segment of your customers. 执行此操作时,请务必使用允许多个客户使用同一代码的促销代码。When doing so, be sure to use a promotional code that allows multiple customers to use the same code.

促销充值码策略Promotional code policies

请注意以下促销代码策略:Be aware of the following policies for promotional codes:

  • 你可以为已发布到 Microsoft Store 的任何应用或加载项(订阅加载项除外)生成促销代码。You can generate promotional codes for any app or add-on (with the exception of subscription add-ons) that you published to the Microsoft Store. 客户可以在你的应用或加载项支持的任何版本的 Windows 上兑换这些代码。Customers can redeem the codes on any version of Windows that is supported by your app or add-on.
  • 游戏:For games:
    • 你可以生成每个游戏的最多 5000 个促销代码。You can generate up to 5000 promotional codes per game.
    • 为游戏生成的促销代码永远不会过期。Promotional codes generated for games never expire.
  • 对于所有其他类型的应用程序或外接程序:For all other types of apps or add-ons:
    • 在任意 6 个月内,可能会生成达 1600年一次性使用促销代码,或任意数量的多个使用代码,以便总允许兑换次数不超过 1600年。In any six-month period, you may generate up to 1600 single use promotional codes, or any number of multiple use codes such that the total allowed redemptions does not exceed 1600.
    • 在 6 个月期开始时生成第一个创建促销代码和的早期的到期日期的代码设置为 6 个月内,而不考虑是否持续的时间。The 6 month period begins when you generate the first promotional code is created and lasts for 6 months regardless of whether or not you set an earlier expiration date on the codes.
    • 即使会在周期结束后过期,在现有的六个月期间创建的任何代码也将计入该时间段内生成的代码数 (例如,如果您本来六个月的最后一天生成代码,它将是将仍是 在有效从其创建完整的 6 个月。)Any codes created during an existing six-month period will be count toward the number of codes generated within that period, even if they will expire after the period ends (For example, if you generate a code on the last day of the six-month window, it will be will be still be valid for a full 6 months from its creation.)
  • 必须遵循中定义的要求应用程序开发人员协议,其中包括部分3 k。促销代码You must follow the requirements defined in the App Developer Agreement, including section 3k. Promotional Codes.

备注

即使您的应用程序对客户不可用,可以使用促销代码 (即,如果所选存储区中可用,但发现使此产品停止获取:任何具有直接链接的客户可以看到该产品的应用商店列表,但如果他们拥有该产品之前,或有促销代码和使用的是 Windows 10 设备,它们可以仅下载它选项在你的提交可发现性部分)。You can use promotional codes even if your app is unavailable to customers (that is, if you have selected Make this product available but not discoverable in the Store with the Stop acquisition: Any customer with a direct link can see the product’s Store listing, but they can only download it if they owned the product before, or have a promotional code and are using a Windows 10 device option in your submission's Discoverability section). 使用此选项时,客户必须在 Windows 10 (包括 Xbox) 上才能获取产品的促销代码。With this option, customers must be on Windows 10 (including Xbox) in order to acquire your product with a promotional code.

预订促销代码Order promotional codes

到顺序的促销代码的应用程序或外接程序:To order promotional codes for an app or add-on:

  1. 在左侧的导航菜单中的合作伙伴中心,展开Attract ,然后选择促销代码In the left navigation menu of Partner Center, expand Attract and then select Promo codes.

  2. 在“促销充值码” 页面上,单击“预订充值码” 。On the Promotional codes page, click Order codes.

  3. 在“新促销代码订单” 页面上,输入以下内容:On the New promotional codes order page, enter the following:

    • 选择要为其生成充值码的应用或加载项。Select the app or add-on for which you want to generate codes. (请注意,你不能为订阅加载项生成促销代码。)(Note that you can't generate promotional codes for subscription add-ons.)
    • 为订单指定名称。Specify a name for the order. 在查看促销代码使用情况数据时,你可以使用此名称区分不同的代码订单。You can use this name to differentiate between different orders of codes when reviewing your promotional code usage data.
    • 选择订单类型。Select the order type. 你可以选择生成一组每个仅使用一次的促销代码,或者选择生成一个可以多次使用的促销代码。You can choose to generate a set of promo codes that can each be used once, or you can choose to generate one promo code that can be used multiple times.
    • 指定要订购的代码数量(如果要生成一组代码)或代码可兑换的次数(如果要生成一个将使用多次的代码)。Specify the number of codes to order (if generating a set of codes) or the number of times the code can be redeemed (if generating one code to be used multiple times).
    • 指定促销充值码应处于活动状态的时间。Specify when the promotional codes should become active. 若要选择特定开始日期和时间,请清除“充值码立即处于活动状态” 复选框。To choose a specific start date and time, clear the Codes are active immediately check box. 否则,代码将处于活动状态立即 (尽管您的产品必须已完成发布过程中为了使客户可以使用这些代码)。Otherwise, the codes will become active right away (although your product must have completed the publishing process in order for a customer to use the code).
    • 指定促销充值码应到期的时间。Specify when the promotional codes should expire. 若要选择早于 6 个月的特定到期日期和时间,请清除代码 6 个月后到期复选框。To choose a specific expire date and time earlier than 6 months, clear the Codes expire after 6 months check box.
  4. 单击“预订充值码” 。Click Order codes. 随即将返回促销代码页面,可在此页面中的应用促销代码订购摘要表中查看新订单。You'll then be returned to the Promotional codes page, where you'll be able to see your new order in the summary table of promotional code orders for that app.

下载和分发促销充值码Download and distribute promotional codes

若要下载已完成的促销代码订单并将代码分发给客户:To download a fulfilled promotional code order and distribute the codes to customers:

  1. 在左侧的导航菜单中的合作伙伴中心,展开Attract ,然后选择促销代码。In the left navigation menu of Partner Center, expand Attract and then select Promo codes.

  2. 单击促销代码订单的下载链接,然后将生成的文件保存到计算机。Click the Download link for the promotional code order, then save the generated file to your computer. 此文件包含采用制表符分隔值 (.tsv) 格式的促销代码订单相关信息。This file contains information about your promotional codes order in tab-separated value (.tsv) format.

  3. 在选择的编辑器中打开 .tsv 文件。Open the .tsv file in the editor of your choice. 为了实现最佳体验,请在可采用表格结构显示数据的应用程序(例如 Microsoft Excel)中打开 .tsv 文件。For the best experience, open the .tsv file in an application that can display the data in a tabular structure, such as Microsoft Excel. 但是,也可以在任何文本编辑器中打开此文件。However, you can open the file in any text editor.

    该文件包含每个充值码的以下数据列:The file contains the following columns of data for each code:

    • 产品名称:外接程序代码与之关联的应用程序的名称。Product name: The name of the app or add-on that the code is associated with.
    • 订单名称:此代码生成的顺序的名称。Order name: The name of the order in which this code was generated.
    • 促销代码:代码本身。Promotional code: The code itself. 这是由连字符分隔、字母数字字符组成的 5x5 字符串。This is a 5x5 string of alphanumeric characters separated by hyphens. 例如:DM3GY-M2GYM-6YMW6-4QHHT-23W2ZFor example: DM3GY-M2GYM-6YMW6-4QHHT-23W2Z
    • 兑现,价格 URL:客户可以使用兑换代码并安装应用程序或外接程序的 URL。Redeemable URL: The URL that a customer can use to redeem the code and install your app or add-on. URL 采用以下格式: https://go.microsoft.com/fwlink/?LinkId=532540&mstoken=< promotional_code >The URL has the following format: https://go.microsoft.com/fwlink/?LinkId=532540&mstoken=<promotional_code>
    • 开始日期:此代码变得活动日期。Start date: The date this code became active.
    • 过期日期:此代码的到期日期。Expire date: The date this code expires.
    • 代码 ID:此代码唯一 ID。Code ID: A unique ID for this code.
    • 订单 ID:此代码的生成次序唯一 ID。Order ID: A unique ID for the order in which this code was generated.
    • 提供给:可以使用它来跟踪哪个客户的空字段提供的代码。Given to: An empty field that you can use to keep track of which customer you gave the code to.
    • 可用:代码是仍可用于 (在该文件的生成的时间) 兑换次数。Available: The number of times the code is still available to redeem (at the time the file was generated).
    • 兑换:代码已兑换 (在该文件的生成的时间) 的次数。Redeemed: The number of times that the code has been redeemed (at the time the file was generated).
  4. 通过你偏好的任何通信格式(例如,针对性通知、电子邮件、短信或打印的卡片)将可兑换 URL 分发给客户。Distribute the redeemable URLs to your customers via any communication format you prefer (for example targeted notifications, email, SMS messages, or printed cards). 我们建议你的通信包括以下内容:We recommend that your communication includes the following:

    • 关于促销代码用于哪个应用或加载项的说明,以及关于客户为何收到该代码的说明(可选)。An explanation of which app or add-on the promotional code is for, and optionally a description of why the customer is receiving the code.
    • 充值码的可兑换 URL。The redeemable URL for the code.
    • 指导客户访问可兑换 URL、使用其 Microsoft 帐户登录并按照说明下载和安装应用的说明。Instructions that guide the customer to visit the redeemable URL, log in using their Microsoft account, and follow the instructions to download and install your app.

充值码兑换用户体验Code redemption user experience

将促销代码 (或其兑现,价格 URL) 分发给客户后,他们可以单击该 URL 以免费获取该产品。After you distribute a promotional code (or its redeemable URL) to a customer, they can click the URL to get the product for free. 单击可兑换 URL 将打开经过身份验证的兑换代码页面(位于 https://account.microsoft.com/billing/redeem)。Clicking the redeemable URL will launch an authenticated Redeem your code page at https://account.microsoft.com/billing/redeem. 此页面包含用户即将兑换的应用的描述。This page includes a description of the app the user is about to redeem. 如果客户没有使用其 Microsoft 帐户登录,系统将提示其登录。If the customer is not logged in with their Microsoft account, they may be prompted to do so. 你的客户也可以访问 https://account.microsoft.com/billing/redeem,直接输入代码。Your customer can also visit https://account.microsoft.com/billing/redeem and enter the code directly.

重要

建议不要在产品尚未完成发布过程时向客户分发促销代码(即使你已选择在应用商店中提供此产品,同时使其不可被发现,也是如此)。We recommend that you don't distribute promotional codes to your customers until your product has completed the publishing process (even if you have selected Make this product available but not discoverable in the Store). 当客户尝试将促销代码用于尚未发布的产品时,将看到错误消息。Customers will see an error if they try to use a promotional code for a product which hasn't been published yet.

客户单击兑换后,Microsoft Store 将打开到应用的概览页面(如果客户使用 Windows 10 或 Windows 8.1 设备),在此页面中,客户可单击安装以免费下载和安装应用。After the customer clicks Redeem, the Microsoft Store will open to the overview page for the app (if they are on a Windows 10 or Windows 8.1 device), where they can click Install to download and install the app for free. 如果客户使用未安装 Microsoft Store 的计算机或设备,则此链接将打开此应用的 Microsoft Store 网页。If the customer is on a computer or device that does not have the Microsoft Store installed, the link will launch the Microsoft Store web page for the app. 此代码将应用于客户的 Microsoft 帐户,以便其稍后在 Windows 设备(与同一个 Microsoft 帐户相关联)上免费下载此应用。The code will be applied to the customer's Microsoft account, so they can later download the app on a Windows device (that is associated with the same Microsoft account) for free.

备注

在某些情况下,客户可能会看到购买而不是按钮安装,即使应用程序已成功兑换促销代码。In some cases, a customer may see a Buy button instead of Install, even though the app was successfully redeemed via the promotional code. 客户可单击购买来免费安装此应用。The customer can click Buy to install the app for no charge.

查看促销充值码Review your promotional codes

若要查看详细的摘要的促销代码订单的应用程序和外接程序,导航到促销代码页 (在合作伙伴中心的左侧的导航菜单中,展开Attract ,然后选择促销代码)。To review a detailed summary of promotional code orders for your apps and add-ons, navigate to the Promotional codes page (in the left navigation menu of Partner Center, expand Attract and then select Promo codes). 可以查看所有当前和非活动促销代码的以下详细信息:You can review the following details for all of your current and inactive promotional codes:

  • 订单名称Order name
  • 应用或加载项App or add-on
  • 开始日期Start date
  • 过期日期Expire date
  • 可用Available
  • 已兑换Redeemed

你还可以从此表中下载订单。You can also download an order from this table.