在庫を確認する

ローカル在庫広告用の 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 ページの 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

確認プロセスのステータスを確認するには、ローカル在庫広告を取得してください 次の設定を行います。

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 に変わったら、 ローカル在庫広告のオンボーディング プロセスが完了しました。