How to Create Google Play Promo Codes for Android Apps
Tags: android, mobile
Published: 2022-10-19 12:43:53

Google Play Developer Console offers you a number of tools that help you grow your app business. [Promotions](https://developer.android.com/google/play/billing/promo) are one of them. By using these, you can launch effective acquisition campaigns (and significantly increase your installs metric), partner programs or simply use these codes as incentives (as “thank you” or “sorry” gestures). But before launching such campaigns, you should be aware of how it works and consider the limitations of the [Google Play promo codes](https://qonversion.io/blog/how-to-create-google-play-promo-codes/?utm_source=devto&utm_medium=blog&utm_campaign=google-promo-codes). So, let’s dive into the technical side. 

## Prerequisites
To start with promotional codes, you should [integrate the Google Play Billing Library](https://developer.android.com/google/play/billing/integrate) into your app. Keep in mind that promotion redemptions can happen outside of your app or even when the app hasn’t been installed yet. It means that your app must handle purchases with promo codes correctly regardless of the app state.

![Cookie Run Kingdom redeem flow: user should paste the Google Play promo codes on the coupon page and then claim the reward within the app](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c9hfxc3b6gnor0q5offd.jpeg)

## Types of Google Play promo codes
There are two types of Google Play promo codes: one-time and custom codes. The main difference is that one-time codes are automatically generated unique codes that could be used only once by a single person. The custom codes could be named universally (for instance, by name of the event where you promote your app) and used multiple times by multiple users according to your predefined limit. Custom codes are available only for subscriptions.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s7ew7a0vhbdg5rbglnrz.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j897zvrybyvflcmegd94.png)

Once you create a promotion, you can’t change the number of promo codes in that promotion or switch promo codes to a different type. But promo codes created for subscription promotions do not count towards your limit for non-subscription promotions, and vice versa. With that in mind, define your strategy wisely.

## How to create Google Play promo codes for your app

**1. Open the ‘Promo codes’ tab within Google Play Developer console.**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zbqc3f4r3k7xr2ov2p2e.jpeg)

Navigate to [Google Play Developer Console](https://play.google.com/apps/publish/(opens%20in%20a%20new%20tab)) and select the **‘All apps’** tab from the menu on the left. Then, select your app from the list. Select the **‘Monetize‘** -> **‘Promo codes‘** tab in the left menu bar.

Click the **‘Create promo code’** button.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ln6z0qcn44k8cvzy6leu.jpeg)

**2. Specify the details of the promotion.**

- **Name** identifies the promo code in Google Play Console. Visible only to you.
- **Start date** must be in the future.
- **End date** must be within one year of the start date.
- **Details** on Google Play promo codes 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3cy6vjzkzx3d3vf6lvsf.jpeg)

**3. Choose promotion type.**

- **Paid app:** Give users a [paid app](https://support.google.com/googleplay/android-developer/answer/6334373?hl=en#:~:text=Create%20a%20sale%20or%20promotion) for free with promo code.
- **In-app product:** For non-subscription promotion link an existing in-app product from a drop-down list.
- **Subscription:** For subscription promotion specify an existing subscription and duration of the trial period. **Note**: If a customer uses a promo code for a subscription that has already a free trial, the promo code will override the original free trial length.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c8xi3unwssu69eunql5u.jpeg)

**4. Create one-time promo code.**

In the group box **‘Code type’**, choose **‘One-time codes’**. Enter the number of promo codes to be created. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gov3brcbuyriup2vlz5t.jpeg)

Click on the **‘Save’** button at the right bottom of the page. It’ll open a popup window that notifies you to implement the billing library in your app. Click on **‘Create’** in the window:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8pvoxu2wbkbsd8dvculx.jpeg)

After that, you’ll be able to download promo codes as a CSV file:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5c2l36z5m41on29i2nud.jpeg)

That’s it! Now you can share these unique numbers via emails or personal event invitations, or simply share them with your support team so they can engage with your users more effectively.  

**4.1 Create custom promo code.**

Enter a unique (per app) custom code using numbers (0-9), lowercase (a-z) and uppercase (A-Z). Also, specify the number of code redemptions:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/30wfhi9dk51xxxb3q79l.jpeg)

Click on the **‘Save’** button at the right bottom of the page. It’ll open a popup window that notifies you to implement the billing library in your app. Click on **‘Create’** in the window. This mechanic is widely used during events, summits, for influencer marketing. 

## User redemption flow
Once we set up everything on the Google Developers Console side, let’s take a look at this process from the users’ standpoint. In the examples below, we’ll explore promotional codes for subscriptions.

### In-app redemption flow
The user can redeem a promo code as part of the normal purchase flow. Instead of purchasing the product, the user enters the code and gets the product, like a usual in-app purchase.

1. Start the purchase flow for the product for which you created a promotion.
2. Specify the Google payment method as **‘Reedem code’**:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rfu22eg6skiv1i3sc7kf.jpeg)
3. Enter the promo code and select **‘Redeem’**:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bcq6jm6wj3tsr8g184sy.jpeg)
4. If the promo code was entered correctly, a window will appear with the subscription details and the trial duration. User needs to click on **‘Continue’**.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mhwxo25fak8uqj6ccbmu.jpeg)
5. The purchase window should open. User should click **‘Subscribe’** there.

### Google Play promo codes redemption flow
A user can also redeem a promo code in Google Play:

1. Open the Google Play app.
2. Open the menu by clicking the three lines in the left upper corner.
3. Scroll down and select **‘Redeem’**.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ttypgl8ux8ncbo2cmqt7.jpeg)
4. Enter the promo code and click **‘Redeem’**:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r685xkyd3hxj6knc3o3w.jpeg)
5. If the promo code was entered correctly, a window will appear with the subscription details and the trial duration. User needs to click **‘Continue’**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/amu03q5zblx44b0wl4bg.jpeg)
6. The purchase window should open. User should click **‘Subscribe’** there.

To save the user from having to enter a promo code, you can generate a URL with it. Share the URL that directs the user to Google Play Store.

URL has the following format: https://play.google.com/redeem?code=promo_code

## Accelerate your app promotion strategy with Google Play promo codes

Google Play promo codes are a universal tool for user acquisition and engagement that allows you to launch campaigns even with a limited budget. This is a great tool to increase the number of installs, but to convert these users to subscribers, provide them with great onboarding, and give them their “Aha!” moments as soon as possible.

Google Play promo codes are also a great tool for user engagement and receiving reviews — just send your users a notification with the unique code at the right time and gift them access to the new experience. To find out [how to create custom push notifications on Android](https://qonversion.io/blog/how-to-create-google-play-promo-codes/#:~:text=how%20to%20create%20custom%20push%20notifications%20on%20Android), read this article.

So there are so many things you should test. To see how your campaigns affect your subscription revenue, use Qonversion [analytics tools](https://qonversion.io/site/subscription-analytics). Try even more strategies with [A/B testing](https://qonversion.io/ab-testing) and [Automation](https://qonversion.io/automation). And if you still have any questions — we’d be happy to hear from you!