Method: monetization.subscriptions.create
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
This API endpoint is used to create a new subscription within a specified Android application.
The request is made using a POST HTTP method to a URL that includes the package name of the application.
Required parameters for creating a subscription include the application's package name, a unique product ID for the subscription, and the version of available regions being used.
The request and response bodies both contain instances of the Subscription resource, and authorization requires a specific Google API scope.
Required. The parent app (package name) for which the subscription should be created. Must be equal to the packageName field on the Subscription resource.
Query parameters
Parameters
productId
string
Required. The ID to use for the subscription. For the requirements on this format, see the documentation of the productId field on the Subscription resource.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-21 UTC."],[],["This document details how to create a new subscription using the Android Publisher API. A `POST` request is sent to a specified URL, including the `packageName` in the path. The request requires `productId` and `regionsVersion` as query parameters. The request body contains the `Subscription` to be created. A successful response returns a newly created `Subscription`. The process uses gRPC Transcoding and requires the `androidpublisher` OAuth scope. Newly added base plans are in draft until activated.\n"]]