Registry / ecommerce / google-shopping-type

google-shopping-type

JSON →
library1.5.0pypypiunverified

Google Shopping Type is a Python library for interacting with Google Shopping product types and attributes. Current version 1.5.0 requires Python >=3.10. Released as part of googleapis/google-cloud-python monorepo.

pip install google-shopping-type
INSTALL
IMPORT
SIG · GOOGLE-SHOPPING-TY
G
google-shopping-type
ecommercepythonv1.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MerchantApi
✓ from google.shopping.type import MerchantApi
✗ from google.shopping.type import MerchantApi

Initialize the MerchantApi client (requires Application Default Credentials).

import os from google.shopping.type import MerchantApi client = MerchantApi() # Use client to fetch product types # (authentication via ADC or service account) print('Merchant API client created')
Debug
Known issues
gotchaLibrary uses proto-plus messages; fields may have different types than plain Python objects.
fix
Access fields via dot notation or use proto-plus serialization/deserialization.
affects: all
deprecatedSome older field names may be deprecated in favor of new naming conventions (e.g., 'productType' vs 'product_type').
fix
Always refer to the latest official docs for field names.
affects: >=1.0.0
breakingChanged from Python 2 compatible to Python >=3.10 only; older scripts break.
fix
Upgrade Python to 3.10+ and use newer library version.
affects: >=1.0.0
Upgrade
Version history
1.5.0latest on PyPI · released Jun 3, 2026
Audit
Dependencies
google-api-corerequiredgRPC and auth support
proto-plusrequiredprotobuf message handling
Agent activity
39 hits · last 30 days
node
36
Resources
google-shopping-type — pip install google-shopping-type · libregistry