FeedItemAttributeValue
Stay organized with collections Save and categorize content based on your preferences.
A feed item attribute value.
Fields |
---|
price_value
| Money
Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE. |
integer_values[]
| int64
Repeated int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64_LIST. |
boolean_values[]
| bool
Repeated bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN_LIST. |
string_values[]
| string
Repeated string value. Should be set if feed_attribute_id refers to a feed attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. For STRING_LIST and URL_LIST the total size of the list in bytes may not exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. For STRING_LIST the maximum length of each string element is 1500 characters. For URL_LIST the maximum length is 2076 characters. For DATE_TIME the format of the string must be the same as start and end time for the feed item. |
double_values[]
| double
Repeated double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE_LIST. |
feed_attribute_id
| int64
Id of the feed attribute for which the value is associated with. |
integer_value
| int64
Int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64. |
boolean_value
| bool
Bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN. |
string_value
| string
String value. Should be set if feed_attribute_id refers to a feed attribute of type STRING, URL or DATE_TIME. For STRING the maximum length is 1500 characters. For URL the maximum length is 2076 characters. For DATE_TIME the string must be in the format "YYYYMMDD HHMMSS". |
double_value
| double
Double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE. |
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.
[[["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-02-25 UTC."],[[["FeedItemAttributeValue defines the value of a feed item attribute, supporting various data types like price, integers, booleans, strings, and doubles."],["Values can be single or repeated, depending on the attribute type, with specific limits on length and size for string and list types."],["Each value is associated with a `feed_attribute_id` indicating the corresponding feed attribute."],["Data type and format requirements are specified for each attribute type, such as date and time formats or maximum string lengths."],["`string_values` can be used for STRING_LIST, URL_LIST, or DATE_TIME_LIST attribute types, but with limitations on total size and individual element lengths."]]],["This content describes a feed item attribute value, detailing its various fields and their usage. The `feed_attribute_id` identifies the attribute. Depending on the attribute type, values can be set: `price_value` for PRICE attributes, `integer_value` for INT64, `boolean_value` for BOOLEAN, `string_value` for STRING, URL, or DATE_TIME and `double_value` for DOUBLE. List variations, indicated by `[]` in the name, are for INT64, BOOLEAN, STRING, or DOUBLE. They have size limitations.\n"]]