Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
ProductCategoryConstant
Fields |
resource_name
|
string
Output only. The resource name of the product category. Product category resource names have the form: productCategoryConstants/{level}~{category_id}
|
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.
|
state
|
ProductCategoryState
Output only. State 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.
|
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-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[[["Product categories are identified by a unique resource name and ID, aligning with Google's product categorization system."],["Each category has a designated level and state, reflecting its position in the hierarchy and current status."],["Categories can have multiple localizations, providing language-specific representations."],["A parent category resource name indicates the hierarchical relationship between categories."]]],["The document describes a product category with several key fields. `resource_name` identifies the category, while `category_id` corresponds to Google's product category ID. `level` and `state` describe the category's hierarchy and status. `localizations` provides language-specific variations. Finally, `product_category_constant_parent` indicates the parent category, enabling the creation of a hierarchical structure. All these fields are read-only outputs.\n"]]