product_category_constant
Stay organized with collections
Save and categorize content based on your preferences.
A Product Category.
product_category_constant.category_id |
| Field description | 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. |
| Category | ATTRIBUTE |
| Data Type | INT64 |
| Type URL | N/A |
| Filterable | True |
| Selectable | True |
| Sortable | True |
| Repeated | False |
| Selectable with |
The following fields/resources can be selected with this field:
|
|
product_category_constant.level |
| Field description | Output only. Level of the product category. |
| Category | ATTRIBUTE |
| Data Type |
ENUM
LEVEL1
LEVEL2
LEVEL3
LEVEL4
LEVEL5
UNKNOWN
UNSPECIFIED
|
| Type URL | google.ads.googleads.v25.enums.ProductCategoryLevelEnum.ProductCategoryLevel |
| Filterable | True |
| Selectable | True |
| Sortable | True |
| Repeated | False |
| Selectable with |
The following fields/resources can be selected with this field:
|
|
|
|
product_category_constant.product_category_constant_parent |
| Field description | Output only. Resource name of the parent product category. |
| Category | ATTRIBUTE |
| Data Type | RESOURCE_NAME |
| Type URL | N/A |
| Filterable | True |
| Selectable | True |
| Sortable | False |
| Repeated | False |
| Selectable with |
The following fields/resources can be selected with this field:
|
|
product_category_constant.resource_name |
| Field description | Output only. The resource name of the product category.
Product category resource names have the form:
productCategoryConstants/{level}~{category_id}
|
| Category | ATTRIBUTE |
| Data Type | RESOURCE_NAME |
| Type URL | N/A |
| Filterable | True |
| Selectable | True |
| Sortable | False |
| Repeated | False |
| Selectable with |
The following fields/resources can be selected with this field:
|
|
product_category_constant.state |
| Field description | Output only. State of the product category. |
| Category | ATTRIBUTE |
| Data Type |
ENUM
ENABLED
OBSOLETE
UNKNOWN
UNSPECIFIED
|
| Type URL | google.ads.googleads.v25.enums.ProductCategoryStateEnum.ProductCategoryState |
| Filterable | True |
| Selectable | True |
| Sortable | True |
| Repeated | False |
| Selectable with |
The following fields/resources can be selected with this field:
|
|
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 2026-10-14 UTC.
[null,null,["Last updated 2026-10-14 UTC."],[],[]]