ローカル在庫広告の Merchant Center アカウントを設定し、適切な商品データと在庫データを追加すると、提供された商品と在庫情報が在庫確認プロセスを通じて正確であることを確認します。オンボーディング プロセスの開始時に在庫確認用の連絡先を設定してください。在庫確認をリクエストする準備ができたら、このガイドの手順をすべて完了した後で確認が行われます。
在庫確認用の連絡先を追加する
在庫確認プロセスの連絡先情報を追加するには、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 のページ URL と同様に、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
に変わったら、ローカル在庫広告のオンボーディング プロセスは完了です。