Promotions tin flame live on a valuable tool to growth user 24-hour interval of the month or attract novel users past times offering content or features to a express issue of users gratis of charge.
We are happy to part an improvement inwards the Google Play Developer API that makes it easier to runway your promotions from your ain backend. Starting today, the API for Purchases.products volition provide "Promo"
every bit a novel value for the champaign purchaseType
when the user redeems a promo code. Now, the possible values are:
0. Test
(test purchases)1. Promo
(Promo code redemption purchase)
For purchases made using the measure in-app billing flow, the champaign volition perish on to non live on ready inwards the API response.
Please note: This acre is exclusively returned past times the Purchases.products API. For subscriptions you lot may piece of job Free Trials to offering gratis of accuse subscription periods.
For to a greater extent than details almost how to create in addition to redeem promo codes, banking concern gibe the In-app Promotions documentation. For to a greater extent than details almost the server-side API, banking concern gibe the Google Play Developer API documentation.