CustomAttribute
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 allow you to add specific details to your products with a maximum of 2500 attributes per merchant and a total size limit of 102.4kB."],["Each custom attribute requires either a single value or a group of sub-attributes, but not both, and must not exceed 10240 characters."],["Attributes are defined by a name and value or groupValues represented in JSON format, with underscores in names converted to spaces."]]],["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"]]