説明
競合する更新は、review
または merchant
に内容が異なる複数の更新(同じ review
または merchant
ID のエントリ)があり、last_update_timestamp
が同一の場合に発生します。これらのエントリの last_update_timestamp
が同じであるため、どちらの更新が新しいかを特定できません。
修正方法
最新のコンテンツと更新された last_update_timestamp
を含む review
または merchant
を配信します。
タイムスタンプの作成の競合
create_timestamp
の値が異なるために 2 つの更新が競合するケースでは、最初に送信された作成時間と一致する作成時間で review
または merchant
を再度配信する必要があります。作成時間が元の作成時間と一致しない場合は、追加のデータの問題が発生します。
create_timestamp
の値が異なるために 2 つの更新が競合し、新しい create_timestamp
が正しいと思われる場合は、新しいデータの問題を生成せずに review
または merchant
の新しい作成時間を設定する手順に沿って操作します。
- 目的の
create_timestamp
と更新された last_update_timestamp を使用して、review
またはmerchant
を再度配信します。 - 新しい作成時間を使用する予定であることをサポートチームに伝え、新しい作成時間のエントリを含むファイル名を伝えます。サポートチームは、新しい作成時間が使用され、新しいデータの問題が生成されないようにします。
XML 形式の変更の競合
XML ファイルの形式の変更(フォーマットの変更など)の結果として競合が発生し、基盤となるデータが変更されていない場合は、更新時間を変更しても意味がありません。このような場合は、以下の手順に沿って操作します。
last_update_timestamp
の更新が妥当でない理由をサポートチームに伝えます。- 最新のコンテンツを含むファイルを生成します(この場合、
last_update_timestamp
を更新する必要はありません)。 - 最新のコンテンツのファイル名をサポートチームに提供します。サポートチームは、最新のコンテンツが使用されるようにします。
例
3 月 1 日に、フィード ファイル「2017_03_01.xml」をエンドポイントにアップロードします。ファイルには次の内容が含まれています。
<review id="156368" mid="2739"> <reviewer_name>Ada</reviewer_name> <create_timestamp>2017-02-25T03:02:23Z</create_timestamp> <last_update_timestamp>2017-02-25T03:02:23Z</last_update_timestamp> <country_code>US</country_code> <title>Great prices</title> <content>My order arrived on time and I got a great price.</content> <ratings> <overall min="1" max="10">9</overall> <customer_service min="1" max="10">10</customer_service> </ratings> <collection_method>after_fulfillment</collection_method> </review>
3 月 5 日に、フィード ファイル「2017_03_05.xml」をエンドポイントにアップロードします。ファイルにはレビューのタイトルに対するユーザーの編集が含まれていますが、このレビュー用に送信された以前のエントリから last_update_timestamp
が変更されていません。
<review id="156368" mid="2739"> <reviewer_name>Ada</reviewer_name> <create_timestamp>2017-02-25T03:02:23Z</create_timestamp> <last_update_timestamp>2017-02-25T03:02:23Z</last_update_timestamp> <country_code>US</country_code> <title>Great prices and customer service!</title> <content>My order arrived on time and I got a great price.</content> <ratings> <overall min="1" max="10"<9>/overall> <customer_service min="1" max="10"<10>/customer_service> </ratings> <collection_method>after_fulfillment</collection_method> </review>
競合する更新データに関する問題が発生したという通知をサポートチームから受け取ったら、「2017_03_10-fix.xml」をエンドポイントにアップロードして問題を解決します。
<review id="156368" mid="2739"> <reviewer_name>Ada</reviewer_name> <create_timestamp>2017-02-25T03:02:23Z</create_timestamp> <last_update_timestamp>2017-03-04T02:01:20Z</last_update_timestamp> <country_code>US</country_code> <title>Great prices and customer service!</title> <content>My order arrived on time and I got a great price.</content> <ratings> <overall min="1" max="10">9</overall> <customer_service min="1" max="10">10</customer_service> </ratings> <collection_method>after_fulfillment</collection_method> </review>