mcpField
G
gpd-ppp-pricing

gpd-ppp-pricing

github.com/dl-alexandreMarketing & growth139 installsUpdated 4w ago
Repository

About gpd-ppp-pricing

A skill for setting regional prices for Google Play subscriptions and one-time products. It covers base plan price migrations, batch operations, offers, and pricing verification using `gpd`.

Key features

  1. 01Migrate base plan prices by region
  2. 02Batch regional price migrations
  3. 03Create and update one-time products
  4. 04Manage subscription offers
  5. 05Verify subscription and pricing state

Use cases

  1. 01Adjust subscription prices for target regions
  2. 02Apply price changes across multiple plans
  3. 03Set one-time product prices
  4. 04Review current subscription pricing

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dl-alexandre/skills --skill gpd-ppp-pricing

After installing, type/gpd-ppp-pricingin Claude Code to confirm it loaded.

Details

From the project README

PPP Pricing (Per-Region Pricing)

Use this skill to set different prices per region for subscriptions and one-time products.

Preconditions

  • Ensure credentials are set (GPD_SERVICE_ACCOUNT_KEY).
  • Use --package explicitly.
  • Know target region codes and price micros.

Subscription base plan pricing

Migrate prices for a base plan
gpd monetization baseplans migrate-prices --package com.example.app sub123 plan456 --region-code US --price-micros 9990000
Batch migrate prices
gpd monetization baseplans batch-migrate-prices --package com.example.app sub123 --file migrate.json

Example migrate.json:

{
  "requests": [
    {
      "basePlanId": "plan456",
      "regionalPriceMigrations": [
        {
          "regionCode": "US",
          "priceMicros": 9990000
        }
      ]
    }
  ],
  "regionsVersion": {
    "version": "2024-01-01"
  }
}

One-time products pricing

gpd monetization onetimeproducts create --package com.example.app --product-id sku123 --type consumable
gpd monetization onetimeproducts update --package com.example.app sku123 --default-price 1990000

Offers and regional variants

gpd monetization offers list --package com.example.app sub123 plan456
gpd monetization offers create --package com.example.app sub123 plan456 --offer-id offer789 --file offer.json
gpd monetization offers batchUpdate --package com.example.app sub123 plan456 --file offers.json

Verify current pricing

gpd monetization subscriptions get sub123 --package com.example.app
gpd monetization baseplans batch-update-states --package com.example.app sub123 --file states.json

Notes

  • Use priceMicros values to avoid rounding errors.
  • Keep region codes consistent (for example: US, GB, IN, BR).
  • Use batch files for large region sets to avoid partial updates.

Comments

Markdown supported