rocket
Meet
Merchant API
- the official successor to Content API for Shopping.
update
Get the latest
on new Merchant API features, bug fixes, and updates.
add_alert
Note: Content API for Shopping will be sunset on August 18, 2026.
CustomAttribute
Stay organized with collections
Save and categorize content based on your preferences.
A message that represents custom attributes. Exactly one of value
or groupValues
must be provided. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per merchant, with total size of 102.4kB.
JSON representation |
{
"name": string,
"value": string,
"groupValues": [
{
object (CustomAttribute )
}
]
} |
Fields |
name |
string
The name of the attribute. Underscores will be replaced by spaces upon insertion.
|
value |
string
The value of the attribute.
|
groupValues[] |
object (CustomAttribute )
Subattributes within this attribute group. Exactly one of value or groupValues must be provided.
|
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."],[],["Custom attributes, defined by a `name` and either a `value` or `groupValues`, allow for merchant customization. Underscores in the `name` are replaced with spaces. The `groupValues` field holds subattributes. Each attribute has a maximum character limit of 10240. Merchants can set up to 2500 custom attributes, with a total size limit of 102.4kB. Exactly one of `value` or `groupValues` must be specified per attribute.\n"],null,[]]