Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
格式
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本節說明動態饋給檔案使用的資料格式。
NonEmptyString
NonEmptyString 類型的元素或屬性包含 xs:string 類型的字元資料,但字元資料必須至少有一個非空白字元。
ID
Id 類型的元素或屬性包含 xs:string 類型的字元資料,但字元資料必須短於 256 個字元,且不得包含任何空白字元。
注意:我們允許 CharMatcher.javaLetterOrDigit() 和「-._」,因此凡是其他內容都會導致動態消息失敗。
CollectionMethodType
CollectionMethodType 類型的元素必須為 xs:string 類型,且只能是下列其中一個值:「unsolicited」、「point_of_sale」或「after_fulfillment」。
國家/地區代碼
CountryCode 類型的元素必須為 xs:string 類型,且必須是 ISO 3166-1 alpha-2 格式的有效國家/地區代碼。
DateTimeWithTimeZone
值必須為 xs:dateTime 類型,格式則須符合 ISO 8601 的 W3C 設定檔。時間後方必須加上時區指定符。時區指定元可以是「Z」,表示世界標準時間,也可以是「+hh:mm」或「-hh:mm」格式,表示與世界標準時間的時差。
範例
2016-04-03T18:37:32Z
2016-05-30T09:30:10-06:00
RatingRange
說明
RatingRange 類型的元素必須包含單一評分。這項評分不應由多個評分匯總而來。請勿使用「0」或其他值來指定「無評分」。如果沒有評分,動態饋給中就不應顯示該評分元素。
評分應採用 xs:decimal 格式,且為必填欄位。
屬性
RatingRange 類型的元素有下列兩個屬性。
範例
<overall min="1" max="10">9</overall>
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-02-18 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-02-18 (世界標準時間)。"],[],["The feed file utilizes specific data formats: `NonEmptyString` requires at least one non-whitespace character. `Id` must be under 256 characters and contain no whitespace, allowing letters, digits, and \"-._\". `CollectionMethodType` accepts \"unsolicited,\" \"point_of_sale,\" or \"after_fulfillment\". `CountryCode` must follow ISO 3166-1 alpha-2. `DateTimeWithTimeZone` adheres to the W3C ISO 8601 profile, needing a time zone designator. `RatingRange` requires an `xs:decimal` rating, with `min` and `max` attributes defining the scale.\n"]]