- 資源:CssProduct
- 屬性
- 價格
- ProductDetail
- ProductWeight
- ProductDimension
- 認證
- HeadlineOfferInstallment
- HeadlineOfferSubscriptionCost
- SubscriptionPeriod
- CustomAttribute
- CssProductStatus
- DestinationStatus
- ItemLevelIssue
- 方法
資源:CssProduct
處理後的 CSS 產品。
| JSON 表示法 |
|---|
{ "name": string, "rawProvidedId": string, "contentLanguage": string, "feedLabel": string, "attributes": { object ( |
| 欄位 | |
|---|---|
name |
購物比較服務產品的名稱。格式: |
rawProvidedId |
僅供輸出。產品的專屬原始 ID。 |
contentLanguage |
僅供輸出。產品的雙字母 ISO 639-1 語言代碼。 |
feedLabel |
僅供輸出。產品的動態饋給標籤。 |
attributes |
僅供輸出。產品屬性清單。 |
customAttributes[] |
僅供輸出。自訂 (CSS 提供) 屬性清單。你也可以使用這個方法,以一般形式提交動態饋給規格的任何屬性 (例如 |
cssProductStatus |
僅供輸出。產品狀態、資料驗證問題,也就是非同步計算的產品相關資訊。 |
屬性
CSS 產品的屬性。
| JSON 表示法 |
|---|
{ "lowPrice": { object ( |
| 欄位 | |
|---|---|
lowPrice |
CSS 產品的最低價格。 |
highPrice |
CSS 產品價格偏高。 |
headlineOfferPrice |
CSS 產品的主打價格。 |
headlineOfferShippingPrice |
CSS 產品的主打價格。 |
additionalImageLinks[] |
商品圖片的其他網址。 |
productTypes[] |
商品類別 (格式如產品資料規格)。 |
sizeTypes[] |
商品切法。可用於表示服飾商品的組合尺寸類型。最多可提供兩種尺寸類型 (請參閱尺寸類型)。 |
productDetails[] |
技術規格或其他產品詳細資料。 |
productWeight |
產品重量,以提供的單位表示。值必須介於 0 (不含) 和 2000 (含) 之間。 |
productLength |
產品長度,以提供的單位為準。這個值必須介於 0 至 3000 之間 (大於 0,且不超過上限值)。 |
productWidth |
產品寬度,單位為所提供的單位。這個值必須介於 0 至 3000 之間 (大於 0,且不超過上限值)。 |
productHeight |
產品高度,以提供的單位表示。這個值必須介於 0 至 3000 之間 (大於 0,且不超過上限值)。 |
productHighlights[] |
條列式說明產品最相關的亮點。 |
certifications[] |
購物比較服務為指定產品聲明的認證清單。 |
expirationDate |
商品到期的日期 (於插播時指定),採用 ISO 8601 格式。實際到期日會以 |
includedDestinations[] |
要為此目標加入的目的地清單 (對應 Merchant Center 中勾選的核取方塊)。除非 |
excludedDestinations[] |
要為此目標排除的目的地清單 (對應 Merchant Center 中未勾選的核取方塊)。 |
headlineOfferInstallment |
商品應付期數和金額。 |
headlineOfferSubscriptionCost |
與訂閱合約相關聯的項目期數 (月或年) 和每期付款金額。 |
cppLink |
直接連結至 CSS 產品詳細資料頁面的網址。 |
cppMobileLink |
CSS 產品詳細資料頁面針對行動裝置最佳化版本的網址。 |
cppAdsRedirect |
廣告主可以在產品廣告的環境中顯示產品時,覆寫項目網址。 |
numberOfOffers |
CSS 產品數量。 |
headlineOfferCondition |
主打商品的狀況。 |
headlineOfferLink |
主打商品連結。 |
headlineOfferMobileLink |
主打商品的行動連結。 |
title |
項目的名稱。 |
imageLink |
商品圖片的網址。 |
description |
商品說明。 |
brand |
產品相關屬性。[14-36] 商品品牌。 |
mpn |
商品的製造商零件編號 (MPN)。 |
gtin |
商品的全球交易品項識別碼 (GTIN)。 |
googleProductCategory |
商品的 Google 類別 (請參閱 Google 產品分類)。查詢產品時,這個欄位會包含使用者提供的值。目前無法透過 API 取得自動指派的 Google 產品類別。 |
adult |
如果是成人面向的商品,則設為 true。 |
multipack |
商家定義組合包中同款產品的數量。 |
isBundle |
商品是否為商家定義的套裝組合。套裝組合是指商家自訂的不同產品組合,並以單一價格出售。 |
ageGroup |
商品的目標年齡層。 |
color |
商品顏色。 |
gender |
商品的目標客群性別。 |
material |
商品製造原料。 |
pattern |
商品的圖案 (例如波爾卡點)。 |
size |
商品尺寸。只能輸入一個值。如果子類有不同尺寸,請為每個尺寸插入個別產品,並使用相同的 |
sizeSystem |
指定尺寸的系統。建議用於服飾商品。 |
itemGroupId |
同一產品所有子類的共用 ID。 |
pause |
這項商品將暫時停止發布。 |
customLabel0 |
購物廣告活動中商品自訂分組的自訂標籤 0。 |
customLabel1 |
購物廣告活動中商品自訂分組的自訂標籤 1。 |
customLabel2 |
購物廣告活動中商品自訂分組的自訂標籤 2。 |
customLabel3 |
購物廣告活動中商品自訂分組的自訂標籤 3。 |
customLabel4 |
購物廣告活動中商品自訂分組的自訂標籤 4。 |
reviewCount |
產品的評論數量。如果提供 |
minRating |
產品的最低評分。如果提供 |
maxRating |
產品的最高評分。如果提供 |
rating |
產品的平均評分。值必須介於 [ |
價格
以數字和幣別表示的價格。
| JSON 表示法 |
|---|
{ "amountMicros": string, "currencyCode": string } |
| 欄位 | |
|---|---|
amountMicros |
以微量單位表示的價格 (100 萬微量單位等於一個貨幣標準單位,例如 1 美元 = 100 萬微量單位)。 |
currencyCode |
價格的幣別,採用 ISO 4217 規定的三個英文字母縮寫。 |
ProductDetail
產品詳細資料。
| JSON 表示法 |
|---|
{ "sectionName": string, "attributeName": string, "attributeValue": string } |
| 欄位 | |
|---|---|
sectionName |
用於將一組產品詳細資料分組的區段標題。 |
attributeName |
產品詳細資料的名稱。 |
attributeValue |
產品詳細資料的值。 |
ProductWeight
產品重量。
| JSON 表示法 |
|---|
{ "value": number, "unit": string } |
| 欄位 | |
|---|---|
value |
必填。以數字表示的權重。重量最多可精確至小數點後四位。 |
unit |
必填。重量單位。可接受的值包括: *「 |
ProductDimension
產品尺寸。
| JSON 表示法 |
|---|
{ "value": number, "unit": string } |
| 欄位 | |
|---|---|
value |
必填。以數字表示的維度值。值的小數點後最多可有四位數。 |
unit |
必填。維度單位。可接受的值包括: *「 |
認證
產品認證。使用這項屬性說明產品相關認證,例如能源效率等級。
| JSON 表示法 |
|---|
{ "name": string, "authority": string, "code": string } |
| 欄位 | |
|---|---|
name |
認證名稱。目前最常見的值是「EPREL」,這個值代表歐盟歐洲能源標籤註冊資料庫 (EPREL) 的能源效率認證。 |
authority |
負責核發認證的發證機構或認證機構。目前最常見的值是「EC」或「European_Commission」,代表歐盟能源標章。 |
code |
認證代碼。舉例來說,如果 EPREL 認證連結為 https://eprel.ec.europa.eu/screen/product/dishwashers2019/123456,認證號碼則為 123456。如使用歐洲能源標章,必須提供認證號碼。 |
HeadlineOfferInstallment
代表分期的訊息。
| JSON 表示法 |
|---|
{ "months": string, "amount": { object ( |
| 欄位 | |
|---|---|
months |
買家須支付款項的期數。 |
amount |
買家每月須支付的金額。 |
downpayment |
買家須支付的頭期款金額。 |
HeadlineOfferSubscriptionCost
產品的 SubscriptionCost。
| JSON 表示法 |
|---|
{ "period": enum ( |
| 欄位 | |
|---|---|
period |
訂閱週期類型。支援的值包括: *「 |
periodLength |
買家須支付費用的訂閱週期總數。 |
amount |
買家在每個訂閱週期須支付的金額。 |
SubscriptionPeriod
產品的訂閱週期。
| 列舉 | |
|---|---|
SUBSCRIPTION_PERIOD_UNSPECIFIED |
表示未指定訂閱期。 |
MONTH |
表示訂閱週期為一個月。 |
YEAR |
表示訂閱週期為一年。 |
CustomAttribute
代表自訂屬性的訊息。value 或 groupValues 必須有一個不為空。
| JSON 表示法 |
|---|
{
"groupValues": [
{
object ( |
| 欄位 | |
|---|---|
groupValues[] |
這個屬性群組中的子屬性。如果 |
name |
屬性名稱。 |
value |
屬性的值。如果 |
CssProductStatus
Css 產品的狀態、資料驗證問題,也就是非同步計算的 Css 產品相關資訊。
| JSON 表示法 |
|---|
{ "destinationStatuses": [ { object ( |
| 欄位 | |
|---|---|
destinationStatuses[] |
產品的預定目的地。 |
itemLevelIssues[] |
與產品相關的所有問題清單。 |
creationDate |
項目建立日期,採用 ISO 8601 格式。 |
lastUpdateDate |
商品上次更新的日期,採用 ISO 8601 格式。 |
googleExpirationDate |
商品到期日,採用 ISO 8601 格式。 |
DestinationStatus
產品狀態的目的地狀態。
| JSON 表示法 |
|---|
{ "destination": string, "approvedCountries": [ string ], "pendingCountries": [ string ], "disapprovedCountries": [ string ] } |
| 欄位 | |
|---|---|
destination |
目的地名稱 |
approvedCountries[] |
CSS 產品獲得核准的國家/地區代碼清單 (ISO 3166-1 alpha-2)。 |
pendingCountries[] |
CSS 產品待核准的國家/地區代碼清單 (ISO 3166-1 alpha-2)。 |
disapprovedCountries[] |
CSS 產品遭拒登的國家/地區代碼清單 (ISO 3166-1 alpha-2)。 |
ItemLevelIssue
產品狀態的項目層級問題。
| JSON 表示法 |
|---|
{ "code": string, "servability": string, "resolution": string, "attribute": string, "destination": string, "description": string, "detail": string, "documentation": string, "applicableCountries": [ string ] } |
| 欄位 | |
|---|---|
code |
問題的錯誤代碼。 |
servability |
這個問題對 CSS 產品放送的影響程度。 |
resolution |
商家是否可解決這個問題。 |
attribute |
屬性名稱 (如果問題是因單一屬性造成)。 |
destination |
問題適用的目的地。 |
description |
問題的簡短英文說明。 |
detail |
問題的詳細英文說明。 |
documentation |
協助解決問題的說明網頁網址。 |
applicableCountries[] |
問題適用的 CSS 產品國家/地區代碼清單 (ISO 3166-1 alpha-2)。 |
方法 |
|
|---|---|
|
從 CSS Center 帳戶擷取已處理的 CSS 產品。 |
|
列出 CSS Center 帳戶中已處理的 CSS 產品。 |