ProductCategoryConstant
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
Product Category resources represent product categories and have a specific resource name format.
The category ID is equivalent to the google_product_category ID used in Google Merchant Center.
The level and state of the product category are provided as output-only fields.
Localizations and the resource name of the parent product category are also included.
Fields
category_id
int64
Output only. The ID of the product category.
This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436 .
level
ProductCategoryLevel
Output only. Level of the product category.
localizations[]
ProductCategoryLocalization
Output only. List of all available localizations of the product category.
product_category_constant_parent
string
Output only. Resource name of the parent product category.
resource_name
string
Output only. The resource name of the product category. Product category resource names have the form:
productCategoryConstants/{level}~{category_id}
state
ProductCategoryState
Output only. State of the product category.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-12 UTC."],[],[]]