Approve

Approves the specified product and the relevant app permissions, if any

6 variables
0 variables

Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000.

To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage corporate Android devices

Input

This building block consumes 6 input parameters

  = Parameter name
  = Format

enterpriseId STRING Required

The ID of the enterprise

productId STRING Required

The ID of the product

approvalUrlInfo OBJECT

Information on an approval URL

approvalUrlInfo.approvalUrl STRING

A URL that displays a product's permissions and that can also be used to approve the product with the Products.approve call

approvalUrlInfo.kind STRING

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#approvalUrlInfo"

approvedPermissions STRING

Sets how new permission requests for the product are handled. "allPermissions" automatically approves all current and future permissions for the product. "currentPermissionsOnly" approves the current set of permissions for the product, but any future permissions added through updates will require manual reapproval. If not specified, only the current set of permissions will be approved