為店面商品廣告設定 Merchant Center 帳戶,並新增適當的產品和商品目錄資料後,Google 會透過商品目錄驗證程序,檢查提供的產品和商品目錄資訊是否正確。開始新手上路程序時,請先設定商品目錄驗證聯絡人,這樣一來,當你完成本指南中的所有其他步驟,並準備好申請商品目錄驗證時,系統就會驗證這些聯絡人。
新增商品目錄驗證聯絡人
如要新增商品目錄驗證程序的聯絡資訊,請使用 liasettings.setinventoryverificationcontact
方法:
POST https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890/setinventoryverificationcontact?contactEmail=invcheck@example.com&contactName=Inventory%20Manager&country=US&language=en
與「關於」和 ODO 頁面網址一樣,您可以呼叫 liasettings.get
方法,檢查聯絡人是否已通過驗證:
GET https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890
Response:
200 OK
{
"kind": "content#liaSettings",
"accountId" : 67890,
"countrySettings" : [{
"country" : "US",
"inventory" : {
"inventoryVerificationContactName" : "Inventory Manager",
"inventoryVerificationContactEmail" : "invcheck@example.com",
"inventoryVerificationContactStatus" : "pending"
}
}]
}
申請商品目錄驗證
除了 countrySettings[].inventory.status
以外,所有狀態欄位都顯示為 active
後,即可申請進行初始商品目錄驗證檢查。如要延長,請呼叫 liasettings.requestinventoryverification
方法:
POST https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890/requestinventoryverification/US
如要查看驗證程序的狀態,請擷取帳戶的 LIA 設定:
GET https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890
Response:
200 OK
{
"kind": "content#liaSettings",
"accountId" : 67890,
"countrySettings" : [{
"country" : "US",
"inventory": {
"inventoryVerificationContactName" : "Inventory Manager",
"inventoryVerificationContactEmail" : "invcheck@example.com",
"inventoryVerificationContactStatus" : "active",
"status" : "pending"
}
}]
}
status
欄位的值變更為 active
後,恭喜你,LIA 上線程序已完成!