Skip to content

appitool google ​

Direct management of Google Play Console store visuals and resources via the Google Play Developer API v3.

All google assets subcommands (except types and specs) accept GooglePlayAppOptions (-g, --google-key, --package-name), falling back to GOOGLE_KEY, GOOGLE_PACKAGE_NAME in .env, or auto-detection from the local Android project.

The default local folder is ~/.appitool/assets/<package-name>/google/. When STORE_ASSETS_PATH is set, it is <STORE_ASSETS_PATH>/google/ instead (default paths below then refer to that folder).

NOTE

CI Guard: Destructive subcommands (assets delete, users delete, invitations cancel, users revoke) accept GlobalCIOptions (--ci / --no-ci) and are skipped as a no-op (exit code 0) when running in CI mode. Pass --no-ci to force execution in CI.

Synopsis ​

bash
appitool google <resource> <action> [options]

Subcommands Summary ​

DomainSubcommandDescription
Appsapps listLists apps accessible with the service account key (package name and Play Console title).
signing-certs listShows SHA-1 / SHA-256 of Play App Signing certificates (incl. hybrid post-quantum) from Play-generated APKs or local certificate files.
Store Visuals (assets)assets listLists existing store screenshots and graphic assets by locale and image type.
assets uploadUploads PNG/JPEG screenshots, icons, feature graphics, or banners and commits an edit.
assets downloadDownloads store screenshots and graphics locally to ~/.appitool/assets/<package>/google/ (or -o).
assets deleteDeletes an individual image by ID or all images of a given type for a locale.
assets typesLists all supported Google Play imageType keys, aliases, and descriptions.
assets specsShows Google Play Console image specs (dimensions, aspect ratio, formats, file size, alpha, and count limits).
Store Listing Text (metadata)metadata listShows title, short/full description, and video per language.
metadata downloadWrites listing text to <locale>/metadata/<field>.txt files.
metadata uploadSends changed fields in one edit and commits it.
Usersusers listLists developer account users with account and per-app permissions.
users inviteInvites a user (account permissions and/or access to one app).
users updateChanges a user's account permissions or access expiration.
users deleteRemoves a user.
users grantGives a user permissions for one app (creates or replaces the grant).
users revokeRemoves a user's permissions for one app.
Invitationsinvitations listLists pending or expired invitations.
invitations cancelCancels a pending invitation.

Supported Store Visual Types ​

CLI KeyAliasesAPI imageTypeDescription
phonephone-screenshots, phone_screenshotsphoneScreenshotsPhone screenshots (PNG/JPEG, 2–8 images)
tablet7seven-inch, 7-inch, seven-inch-screenshotssevenInchScreenshots7-inch tablet screenshots (PNG/JPEG)
tablet10ten-inch, 10-inch, ten-inch-screenshotstenInchScreenshots10-inch tablet screenshots (PNG/JPEG)
tvtv-screenshots, tv_screenshotstvScreenshotsAndroid TV screenshots (PNG/JPEG)
wearwatch, wear-screenshots, wear_screenshotswearScreenshotsWear OS screenshots (PNG/JPEG)
iconapp-iconiconHigh-res app icon (512x512 PNG/JPEG)
feature-graphicfeature, feature_graphicfeatureGraphicFeature graphic banner (1024x500 PNG/JPEG)
tv-bannerbanner, tv_bannertvBannerAndroid TV banner (1280x720 PNG/JPEG)

Screenshots & Visuals (appitool google assets) ​

appitool google assets list ​

Opens a temporary read-only Google Play edit session (deleted automatically after reading), lists configured store listing languages (or the specified --locale), and prints images for each matching (language, imageType) slot.

OptionDescription
--locale <bcp47>Filter by BCP-47 language code (e.g. en-US, tr-TR). Omit to inspect all listing languages.
-t, --type <type>Filter by image type (e.g. phone, tablet7, feature-graphic, icon). Omit to inspect all types.
bash
appitool google assets list --package-name com.example.app
appitool google assets list --locale en-US -t phone

appitool google assets upload ​

Uploads PNG/JPEG screenshots and graphics to Google Play Console inside a single atomic edit transaction—either for flat image path(s) (--locale required, -t defaults to phone) or symmetrically from a <locale>/<type>/ directory tree defaulting to ~/.appitool/assets/<package-name>/google/ (--locale and -t optional filters).

Option / Flag / ArgumentDefaultDescription
--locale <bcp47>—BCP-47 language code (e.g. en-US, tr-TR). Required for flat files; optional filter for <locale>/<type>/ trees.
-t, --type <type>phone (flat) / all (tree)Target image type (phone, tablet7, tablet10, tv, wear, icon, feature-graphic, tv-banner).
--replacefalseDelete existing images in each target slot before uploading. For <locale>/<type>/ trees, also writes each folder's sync manifest after a committed edit.
--syncfalseMirror <locale>/<type>/ folders onto their slots using .appitool-manifest.json in a single edit (see Image sync). Cannot be combined with --replace; requires a directory tree, not explicit files or a flat folder.
--validate-onlyfalseValidate the edit session (edits.validate) without committing changes.
--changes-not-sent-for-reviewfalseCommit changes without automatically sending them for Google Play review.
--dry-runfalseValidate local image files and preview target slots without contacting Google Play. With --sync, reads Google Play in a discarded edit and prints the sync plan.
-f, --file <path>$STORE_ASSETS_PATH/google/ or ~/.appitool/assets/<package-name>/google/PNG/JPEG file, flat directory, or <locale>/<type>/ directory tree. Repeatable.
bash
# Bulk-upload all locales and image types from ~/.appitool/assets/<package-name>/google/
appitool google assets upload --replace

# Bulk-upload only phone screenshots across all locales in the default folder
appitool google assets upload -t phone --replace

# Replace phone screenshots for en-US from a flat directory
appitool google assets upload \
  --package-name com.example.app \
  --locale en-US \
  -t phone \
  --replace \
  -f ./screenshots/android/en-US/phone/

# Upload a feature graphic banner
appitool google assets upload \
  --package-name com.example.app \
  --locale en-US \
  -t feature-graphic \
  -f ./assets/feature-graphic.png

# Preview, then apply, only the local changes since the last download/sync
appitool google assets upload --sync --dry-run
appitool google assets upload --sync

Image sync ​

download, upload --replace (directory trees), and upload --sync write a .appitool-manifest.json into each <locale>/<type>/ folder. For every file it records the SHA-256 of the local file and Google Play's image sha256; remote images are matched by that hash.

Local files are classified the same way as for apple assets upload --sync: unchanged (including renamed with the same content), edited, new, and removed. Because Google Play has no reorder call and appends uploads, each slot is rebuilt from the first position that differs:

  1. Keep the longest leading run of images that are unchanged and already in place.
  2. Delete every remote image after that run.
  3. Upload the remaining local files in file-name order (unchanged files after the first change are re-uploaded from the local file).

Examples: editing the 6th of 8 phone screenshots deletes and uploads 6–8; appending a new last file uploads only that file; editing the 1st file re-uploads the whole slot.

All slots are planned first; any planning error aborts before an edit with changes is opened. All changes are applied in one edit and committed once, so a failure leaves Google Play unchanged. Manifests are rewritten only after a successful commit (not with --validate-only).

RuleBehavior
No manifest, remote slot emptyBootstrap: upload all files in file-name order and write the manifest.
No manifest, remote slot has imagesError: run download first or use --replace.
Manifest for a different slotError: run download again or delete the manifest and use --replace.
Remote image not in the manifest after the first changeError (it cannot be re-uploaded): run download again or use --replace.
LimitsPhone 2–8, other screenshot types up to 8, icon / feature-graphic / tv-banner exactly 1.

A <locale>/<type>/ folder with no images is skipped, so emptying a folder does not clear its slot; use google assets delete for that.

appitool google assets download ​

Downloads store screenshots and graphics from Google Play Console into <output>/<locale>/<type>/01.<ext> (rewriting CDN URLs to =s0 for full original resolution). Opens a short-lived read-only edit session that is deleted before downloading binaries. By default, files are stored per project under ~/.appitool/assets/<package-name>/google/.

Each slot folder also gets a .appitool-manifest.json for upload --sync. Images written by a previous download that are no longer on Google Play are removed; other local images are kept and reported (upload --sync would add them).

Option / FlagDefaultDescription
--locale <bcp47>—Filter by BCP-47 language code (e.g. en-US, tr-TR). Omit to download all listing languages.
-t, --type <type>—Filter by image type (e.g. phone, tablet7, feature-graphic, icon). Omit to download all types.
-o, --output <dir>~/.appitool/assets/<package-name>/google/Custom destination root directory.
--dry-runfalsePreview target local paths and CDN URLs without downloading files.
bash
# Download all Google Play visuals to ~/.appitool/assets/<package-name>/google/
appitool google assets download

# Download only en-US phone screenshots into a custom folder
appitool google assets download --package-name com.example.app --locale en-US -t phone -o ./downloads/android

appitool google assets delete ​

Deletes a specific image by ID or all images of a given type for a locale in Google Play Console (guarded in CI mode).

Option / FlagDefaultDescription
--locale <bcp47>RequiredBCP-47 language code (e.g. en-US, tr-TR).
-t, --type <type>RequiredTarget image type (phone, tablet7, tablet10, tv, wear, icon, feature-graphic, tv-banner).
--id <image-id>—Specific Google Play image ID to delete (mutually exclusive with --all).
--allfalseDelete all images of the specified type for the language (mutually exclusive with --id).
--changes-not-sent-for-reviewfalseCommit changes without automatically sending them for Google Play review.
--dry-runfalsePreview matching image(s) without deleting or committing changes.
bash
# Preview images that would be removed
appitool google assets delete --locale en-US -t phone --all --dry-run

# Delete a single image by ID
appitool google assets delete --locale en-US -t phone --id AO7oq_example_id

appitool google assets types ​

Prints all supported Google Play imageType keys, aliases, API names, and descriptions (no credentials required).

bash
appitool google assets types

appitool google assets specs ​

Shows Google Play Console image specs for store graphics and screenshots (requirement status, dimensions, aspect ratio, formats, maximum file size, alpha rules, and per-locale count limits; no credentials required).

OptionDescription
-t, --type <kind>screenshot, graphic, or one image type (e.g. phone, tablet7, icon, feature-graphic). Omit to show all.
bash
appitool google assets specs
appitool google assets specs -t phone
appitool google assets specs -t graphic

Metadata (appitool google metadata) ​

Manages Google Play store listing text as one plain-text file per field: <root>/<locale>/metadata/<field>.txt, where <root> is $STORE_ASSETS_PATH/google/ or ~/.appitool/assets/<package-name>/google/ (the same folder as google assets; image commands ignore metadata/ folders). Store listings have no versions, so there is one current set of files per language. Release notes ("What's new") belong to track releases on Google Play and are not part of listing metadata. The app category is not exposed by the Google Play Developer API (edits.details and edits.listings have no category field), so it is set in Play Console only.

FileFieldLimit
title.txtTitle30
short_description.txtShort description80
full_description.txtFull description4000
video.txtPromo video URL—

App-level details (one value for the app, edits.details) live in <root>/metadata/<field>.txt: contact_email.txt, contact_phone.txt, contact_website.txt, and default_language.txt (BCP-47, e.g. en-US).

appitool google metadata list ​

Shows the app-level details ([app]) and every listing field per language with its character count and limit (read-only edit, discarded).

OptionDescription
--locale <bcp47>Show only this language (app-level details are skipped).

appitool google metadata download ​

Writes each non-empty field to <locale>/metadata/<field>.txt and the app-level details to metadata/<field>.txt. Existing files are overwritten.

Option / FlagDefaultDescription
--locale <bcp47>—Download only this language (app-level details are skipped).
-o, --output <dir>$STORE_ASSETS_PATH/google/ or ~/.appitool/assets/<package-name>/google/Metadata root directory.
--dry-runfalsePreview files without writing them.

appitool google metadata upload ​

Opens a single edit, reads the listings and app details from it, compares them with the local files (surrounding whitespace ignored), and patches only the fields that differ (all languages and the app details) into that same edit, which is committed once. Because the values compared are the ones the patches apply to, changes made elsewhere in the meantime are not missed. Missing and empty files are ignored. Length limits and the format of changed values are checked before anything is patched: contact_email must be an email address, contact_website and video must be http(s) URLs, and default_language must be a BCP-47 code such as en-US (unchanged values are not checked, and contact_phone is free text). Any error aborts the run; when there are no changes, with --dry-run, or on any error, the edit is discarded without being committed. Local languages without a Play listing are skipped with a warning.

Option / Flag / ArgumentDefaultDescription
--locale <bcp47>—Upload only this language (app-level details are skipped).
--validate-onlyfalseValidate the edit (edits.validate) without committing.
--changes-not-sent-for-reviewfalseCommit without automatically sending the changes for review.
--dry-runfalsePrint the per-field changes without patching; the edit is discarded.
-f, --file <dir>$STORE_ASSETS_PATH/google/ or ~/.appitool/assets/<package-name>/google/Metadata root containing <locale>/metadata/ folders.
bash
appitool google metadata download
appitool google metadata upload --dry-run
appitool google metadata upload

Apps ​

appitool google apps list ​

Lists every app the service account can access, using the Play Developer Reporting API apps.search (GET https://playdeveloperreporting.googleapis.com/v1beta1/apps:search, all pages). Useful for finding package names (GOOGLE_PACKAGE_NAME) and checking that a key works. It does not return Play Console account IDs; no Google Play API exposes those (see GOOGLE_PLAY_ACCOUNT_ID).

Requires the Google Play Developer Reporting API to be enabled in the service account's Google Cloud project (HTTP 403 otherwise) and access to the apps in Play Console. The title is the one set in Play Console and may not be live yet.

OptionDescription
-g, --google-key <key>Service account key (GOOGLE_KEY).
-n, --name <text>Filter by app title (case-insensitive substring).
-l, --limit <count>Maximum number of apps to show.
bash
appitool google apps list
appitool google apps list -n kokono

appitool google signing-certs list ​

Shows the SHA-1 and SHA-256 fingerprints of the certificates Play App Signing uses, e.g. for Firebase, Google Sign-In, or assetlinks.json. Play Console's certificate download can contain three certificates: deployment_cert.der (app signing, RSA), hybrid_classical_cert.der (RSA), and hybrid_pqc_cert.der (post-quantum ML-DSA); all are covered.

From the API (default):

  1. Reads the Play-generated APKs of a version code (GET applications/{package}/generatedApks/{versionCode}), grouped by signing key; the API reports each key's certificate SHA-256.
  2. Downloads the smallest Play-generated APK per signing key (a config split of a few KB when available, otherwise a standalone or universal APK; held in memory only) and reads every certificate from its APK Signing Block — v2, v3, v3.1, the hybrid block (0x70E1C89F, Play's classical + post-quantum certificates; not in Android's public docs, identified from Play-generated APKs), and other unknown blocks (shown as block 0x…) — then prints SHA-1, SHA-256, and the algorithm (RSA, ECDSA, ML-DSA-44/65/87) of each and whether it matches the API's SHA-256.

Generated APKs exist for app bundles (AAB) uploaded with Play App Signing, so the API mode needs at least one uploaded AAB: with no release on any track the command exits with an explanation (pass --version-code for a bundle uploaded but not yet in a release). The service account needs release access to the app (HTTP 403 otherwise). The upload key certificate is not available through the API; it is your own keystore's certificate (appitool match android).

From local files (-f): fingerprints certificate files directly (DER .der/.cer/.crt or PEM .pem; folders are expanded), without any API call — for example the folder Play Console's certificate download creates. A fingerprint is the hash of the DER bytes, so this also works for post-quantum certificates that older tools such as openssl cannot parse.

Option / FlagDefaultDescription
--package-name <name>GOOGLE_PACKAGE_NAME / projectApp to inspect (API mode).
--version-code <code>Highest version code on your tracksVersion code whose generated APKs are read.
--sha256-onlyfalseOnly print the API's SHA-256 values (no APK download, no SHA-1).
-f, --file <path>—Certificate file or folder to fingerprint locally (repeatable). Skips the API.
-g, --google-key <key>GOOGLE_KEYService account key (API mode).
bash
# Fingerprints from Play (latest version code)
appitool google signing-certs list

# Fingerprints of the certificates downloaded from Play Console
appitool google signing-certs list -f ~/Downloads/certificates

Users & Invitations ​

Manages Play Console users of the developer account through the Play Developer API users and grants resources. A user has account-wide permissions (developerAccountPermissions) and per-app grants (appLevelPermissions). Google has no separate invitation object: an invited user has accessState INVITED (or INVITATION_EXPIRED) until they accept.

All user commands accept -g, --google-key (GOOGLE_KEY) and --account-id <id> (GOOGLE_PLAY_ACCOUNT_ID): your Play Console account ID, the number in play.google.com/console/developers/<id> (not the Google Cloud project, service account, or package name). The service account needs the Manage users and permissions (admin) permission in Play Console; API errors are shown with a likely cause (e.g. 403 → missing permission or wrong account ID).

Permission values are comma-separated and case-insensitive, written as can-see-all-apps or CAN_SEE_ALL_APPS:

  • Account-wide (--permissions on users invite / users update; the _GLOBAL suffix is optional): can-see-all-apps, can-view-financial-data, can-manage-permissions, can-edit-games, can-publish-games, can-reply-to-reviews, can-manage-public-apks, can-manage-track-apks, can-manage-track-users, can-manage-public-listing, can-manage-draft-apps, can-create-managed-play-apps, can-change-managed-play-setting, can-manage-orders, can-manage-app-content, can-view-non-financial-data, can-view-app-quality, can-manage-deeplinks, can-view-connected-apps, can-edit-connected-apps.
  • Per app (--app-permissions on users invite, --permissions on users grant): can-access-app, can-view-financial-data, can-manage-permissions, can-reply-to-reviews, can-manage-public-apks, can-manage-track-apks, can-manage-track-users, can-manage-public-listing, can-manage-draft-apps, can-manage-orders, can-manage-app-content, can-view-non-financial-data, can-view-app-quality, can-manage-deeplinks.

Some of these values are returned by the live API but missing from Google's API spec; they are accepted as well.

CommandOptionsNotes
users list-e, --email, -l, --limitUsers who accepted (state ACCESS_GRANTED / ACCESS_EXPIRED), with account permissions, expiration, and per-app grants.
invitations list-e, --email, -l, --limitUsers in INVITED / INVITATION_EXPIRED state.
users invite-e, --email (required), --permissions, --package-name + --app-permissions, --expiration <iso8601>At least one of --permissions or --app-permissions is required; --package-name and --app-permissions go together. The app grant is created right after the invitation.
users update-e, --email (required), --permissions, --expiration <iso8601>Replaces the account-wide permissions and/or sets a new (future) expiration. Per-app permissions use users grant / users revoke.
users delete-e, --email (required)Removes the user. Destructive (CI-guarded).
invitations cancel-e, --email (required)Only for users who have not accepted yet; otherwise use users delete. Destructive (CI-guarded).
users grant-e, --email (required), --package-name (GOOGLE_PACKAGE_NAME / project), --permissions (required)Creates the app grant, or replaces its permissions if the user already has one. The user must exist (invite first).
users revoke-e, --email (required), --package-nameRemoves the user's grant for that app. Destructive (CI-guarded).
bash
appitool google users list
appitool google users invite -e dev@example.com --package-name com.example.app --app-permissions can-access-app,can-manage-track-apks
appitool google users grant -e dev@example.com --permissions can-access-app,can-reply-to-reviews
appitool google users update -e dev@example.com --expiration 2027-01-01T00:00:00Z
appitool google invitations cancel -e dev@example.com

Released under the MIT License.