Google Play Android Developer API . appstoreappsreview

Instance Methods

close()

Close httplib2 connections.

createappstorehostedapp(appStorePackageName, body=None, x__xgafv=None)

Creates an app store hosted app. This must be called before any other RPCs for this hosted app.

updateappstorehostedapp(appStorePackageName, body=None, x__xgafv=None)

Updates details for an app hosted on an app store. Use this to provide details for a new app, or to update details for an existing app. The update will be sent for review immediately after creation.

updateappstorehostedapppublishstatus(appStorePackageName, packageName, body=None, x__xgafv=None)

Updates the publish status of an app store hosted app. The default state after calling UpdateAppStoreHostedApp is PUBLISHED. It is not necessary to call this RPC explicitly to set an app to PUBLISHED.

uploadapk(appStorePackageName, packageName, body=None, media_body=None, media_mime_type=None, x__xgafv=None)

Upload an APK file for the hosted app. Returns an ID to track this APK.

uploadappstoreapppolicydeclarationfile(appStorePackageName, packageName, body=None, media_body=None, media_mime_type=None, x__xgafv=None)

Upload a policy declaration file for the hosted app. Returns an ID to track the file.

uploadimage(appStorePackageName, packageName, body=None, media_body=None, media_mime_type=None, x__xgafv=None)

Upload a screenshot or app icon for the hosted app. Returns an ID to track the image.

Method Details

close()
Close httplib2 connections.
createappstorehostedapp(appStorePackageName, body=None, x__xgafv=None)
Creates an app store hosted app. This must be called before any other RPCs for this hosted app.

Args:
  appStorePackageName: string, Required. Package name of the third-party app store. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request to create a new app record for an app store hosted app.
  "packageName": "A String", # Required. Package name of the app.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for creating a new app record for an app store hosted app.
}
updateappstorehostedapp(appStorePackageName, body=None, x__xgafv=None)
Updates details for an app hosted on an app store. Use this to provide details for a new app, or to update details for an existing app. The update will be sent for review immediately after creation.

Args:
  appStorePackageName: string, Required. Package name of the third-party app store. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request to update an app record for an app store hosted app.
  "activeApks": { # Information about active APKs of an app store hosted app. # Required. Actively distributed APKs of the app.
    "activeApkSets": [ # Required. List specifying which APK sets are distributed together. This list should contain all APKs that you're distributing for this app. Add an entry for each individual installable set of APKs.
      { # An installable set of active APKs. A set of APKs might only contain 1 APK if the app in question publishes using APKs. If the app uses app bundles (or a similar technology), this set should contain all APKs (even optional ones) that might be installed for this app. A set of APKs should be installable together. If certain APKs are exclusive to one another and cannot be installed together, then a separate AppStoreAppActiveApkSet should be created.
        "baseApkId": "A String", # Required. The ID for the main base application module. Example: base.apk or app.apk.
        "splitApkId": [ # Optional. IDs for split modules that might be installed in combination with the base APK. Can be empty if app bundles (or a similar technology) are not used. Example: config.en.apk.
          "A String",
        ],
      },
    ],
  },
  "activeLocalizedStoreListings": [ # Required. Localized store listings details of the update.
    { # A localized store listing. These are the details about the app as shown in your app store.
      "appIconId": "A String", # Required. Image ID generated from UploadImage for the main app icon.
      "appName": "A String", # Required. The title of the app.
      "fullDescription": "A String", # Required. Comprehensive description text about the app.
      "languageCode": "A String", # Required. Language code (e.g., "en-US") of the listing.
      "screenshotId": [ # Required. Multiple image IDs for screenshot galleries.
        "A String",
      ],
      "shortDescription": "A String", # Optional. Quick summary about the app.
      "videoLink": "A String", # Optional. Link to a video about the app.
    },
  ],
  "appDetails": { # Details about the app. # Required. General developer details for the app.
    "contactEmail": "A String", # Required. The app developer's contact email address.
    "developerName": "A String", # Required. The app developer's name.
    "developerWebsite": "A String", # Optional. Website link for the developer or app.
  },
  "packageName": "A String", # Required. Package name of the app.
  "policyDeclarations": [ # Required. Policy declarations provided for the app.
    { # A policy declaration with its responses.
      "declarationId": "A String", # Required. ID of the policy declaration.
      "responses": [ # Required. Responses provided for this declaration.
        { # An individual response to a policy question about an app.
          "booleanResponse": { # Responses that will only ever be a boolean. # Optional. A boolean response.
            "value": True or False, # Required. Provided boolean value.
          },
          "documentResponse": { # An uploaded document. Must be a single logical document (e.g. a financial license). # Optional. A document response.
            "documentId": "A String", # Required. ID of the uploaded document.
            "expiryDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Optional. Expiry date for the document.
              "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
              "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
              "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
            },
            "nonExpiring": True or False, # Optional. True if confirmed that the document does not have an expiry date.
          },
          "groupResponse": { # A repeated group of responses. # Optional. A group response.
            "groups": [ # Optional. Groups of responses to questions.
              { # A group of responses.
                "responses": [ # Required. Responses within a group.
                  { # An individual nested response to a policy question about an app. Nested responses are like regular responses but without groups.
                    "booleanResponse": { # Responses that will only ever be a boolean. # Optional. A boolean response.
                      "value": True or False, # Required. Provided boolean value.
                    },
                    "documentResponse": { # An uploaded document. Must be a single logical document (e.g. a financial license). # Optional. A document response.
                      "documentId": "A String", # Required. ID of the uploaded document.
                      "expiryDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Optional. Expiry date for the document.
                        "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
                        "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
                        "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
                      },
                      "nonExpiring": True or False, # Optional. True if confirmed that the document does not have an expiry date.
                    },
                    "multipleChoiceResponse": { # Any response where multiple options can be chosen from several possibilities. # Optional. A multiple choice response.
                      "values": [ # Optional. Provided values.
                        "A String",
                      ],
                    },
                    "questionId": "A String", # Required. ID of the question being answered.
                    "singleChoiceResponse": { # Any response where a single option is chosen from several possibilities. # Optional. A single choice response.
                      "value": "A String", # Required. Provided value.
                    },
                    "stringResponse": { # Any response best encoded as a string. Includes URLs and multiline text fields. # Optional. A string response.
                      "value": "A String", # Required. Provided string value.
                    },
                  },
                ],
              },
            ],
          },
          "keyedGroupResponse": { # A group of responses each identified by a distinct key within an allowed set. # Optional. A keyed group response.
            "groups": [ # Optional. Groups of responses to questions. Each KeyedGroup.key must be unique within this list.
              { # A group of responses, with a key.
                "key": "A String", # Required. Key for this group.
                "responses": [ # Required. Responses in this group.
                  { # An individual nested response to a policy question about an app. Nested responses are like regular responses but without groups.
                    "booleanResponse": { # Responses that will only ever be a boolean. # Optional. A boolean response.
                      "value": True or False, # Required. Provided boolean value.
                    },
                    "documentResponse": { # An uploaded document. Must be a single logical document (e.g. a financial license). # Optional. A document response.
                      "documentId": "A String", # Required. ID of the uploaded document.
                      "expiryDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Optional. Expiry date for the document.
                        "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
                        "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
                        "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
                      },
                      "nonExpiring": True or False, # Optional. True if confirmed that the document does not have an expiry date.
                    },
                    "multipleChoiceResponse": { # Any response where multiple options can be chosen from several possibilities. # Optional. A multiple choice response.
                      "values": [ # Optional. Provided values.
                        "A String",
                      ],
                    },
                    "questionId": "A String", # Required. ID of the question being answered.
                    "singleChoiceResponse": { # Any response where a single option is chosen from several possibilities. # Optional. A single choice response.
                      "value": "A String", # Required. Provided value.
                    },
                    "stringResponse": { # Any response best encoded as a string. Includes URLs and multiline text fields. # Optional. A string response.
                      "value": "A String", # Required. Provided string value.
                    },
                  },
                ],
              },
            ],
          },
          "multipleChoiceResponse": { # Any response where multiple options can be chosen from several possibilities. # Optional. A multiple choice response.
            "values": [ # Optional. Provided values.
              "A String",
            ],
          },
          "questionId": "A String", # Required. ID of the question being answered.
          "singleChoiceResponse": { # Any response where a single option is chosen from several possibilities. # Optional. A single choice response.
            "value": "A String", # Required. Provided value.
          },
          "stringResponse": { # Any response best encoded as a string. Includes URLs and multiline text fields. # Optional. A string response.
            "value": "A String", # Required. Provided string value.
          },
        },
      ],
    },
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for updating an app record for an app store hosted app.
}
updateappstorehostedapppublishstatus(appStorePackageName, packageName, body=None, x__xgafv=None)
Updates the publish status of an app store hosted app. The default state after calling UpdateAppStoreHostedApp is PUBLISHED. It is not necessary to call this RPC explicitly to set an app to PUBLISHED.

Args:
  appStorePackageName: string, Required. Package name of the third-party app store. (required)
  packageName: string, Required. Package name of the app. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request to update the publish status of an app store hosted app. The default state for any app with an update is PUBLISHED. It is not necessary to call this RPC explicitly to set an app to PUBLISHED.
  "publishState": "A String", # Required. The new publish state for the hosted app.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for updating the publish status of an app store hosted app.
}
uploadapk(appStorePackageName, packageName, body=None, media_body=None, media_mime_type=None, x__xgafv=None)
Upload an APK file for the hosted app. Returns an ID to track this APK.

Args:
  appStorePackageName: string, Required. Package name of the third-party app store. (required)
  packageName: string, Required. Package name of the app. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request to upload an APK.
}

  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for uploading an APK.
  "apkId": "A String", # The unique ID of the uploaded APK.
}
uploadappstoreapppolicydeclarationfile(appStorePackageName, packageName, body=None, media_body=None, media_mime_type=None, x__xgafv=None)
Upload a policy declaration file for the hosted app. Returns an ID to track the file.

Args:
  appStorePackageName: string, Required. Package name of the third-party app store. (required)
  packageName: string, Required. Package name of the app. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request to upload a policy declaration file.
  "fileType": "A String", # Required. Type of the policy declaration file.
}

  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for uploading a policy declaration file.
  "fileId": "A String", # The unique ID of the uploaded file.
}
uploadimage(appStorePackageName, packageName, body=None, media_body=None, media_mime_type=None, x__xgafv=None)
Upload a screenshot or app icon for the hosted app. Returns an ID to track the image.

Args:
  appStorePackageName: string, Required. Package name of the third-party app store. (required)
  packageName: string, Required. Package name of the app. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request to upload an image.
}

  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for uploading an image.
  "imageId": "A String", # The unique ID of the uploaded image.
}