設定指定國家/地區

你可以使用 liasettings 服務管理店面商品資訊相關設定。

呼叫 liasettings.update,指定你打算放送店面商品目錄廣告的國家/地區。範例如下:

PUT https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890
{
  "accountId" : 67890,
  "countrySettings" : [{
    "country" : "US"
  }]
}

關於頁面

如果您在奧地利、德國或瑞士放送廣告,也必須提交「關於」頁面。舉例來說,您可能會提交下列資訊,以便在美國和德國放送廣告:

PUT https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890
{
  "accountId" : 67890,
  "countrySettings" : [{
    "country" : "US"
  },
  {
    "country" : "DE",
    "about" : {
      "url" : "https://www.example.com/de/about"
    }
  }]
}

您必須先驗證這個網址,才能申請商品目錄驗證。如要查看網址驗證狀態,請透過 liasettings.get 擷取帳戶的 LIA 設定,並檢查相關狀態欄位的值:

GET https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890

Response:
200 OK
{
  "kind": "content#liaSettings",
  "accountId" : 67890,
  "countrySettings" : [{
    "country" : "US"
  },
  {
    "country" : "DE",
    "about" : {
      "url" : "https://www.example.com/de/about",
      "status" : "pending"
    }
  }]
}

網址的狀態變更為 active 後,即表示網址已通過驗證。如果狀態為 inactive,表示「關於」頁面有問題,請務必解決。解決所有問題後,請更新店面商品資訊設定,提供「關於」頁面的位置 (無論是否與先前相同),即可觸發新的審查。

「可訂購的展示商品」和「店內訂購」政策頁面

如要使用可訂購的展示商品 (ODO) 功能,也請為每個國家/地區設定:

PUT https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890
{
  "accountId" : 67890,
  "countrySettings" : [{
    "country" : "US",
    "onDisplayToOrder": {
      "shippingCostPolicyUrl" : "https://www.example.com/inStoreOrderPolicy"
    }
  }]
}

請注意,你為 ODO 提供的網址必須經過驗證,才能申請商品目錄驗證。如有問題,檢查驗證和/或要求再次審查政策網址的程序,與「關於」頁面相同:

GET https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890

Response:
200 OK
{
  "kind": "content#liaSettings",
  "accountId" : 67890,
  "countrySettings" : [{
    "country" : "US",
    "onDisplayToOrder": {
      "shippingCostPolicyUrl" : "https://www.example.com/inStoreOrderPolicy",
      "status" : "pending"
    }
  }]
}