説明
作成時間の変更の問題は、review
または merchant
の作成時間が更新間で異なる場合に発生します。作成時間は不変のフィールドであるため、作成時間を変更するとこの問題が発生します。
修正方法
次のいずれかのオプションを選択して、問題を解決します。
オプション A:
元の作成時間を使用する場合は、元の create_timestamp
と更新された last_update_timestamp
を使用して review
または merchant
を再配信します。
オプション B:
新しい作成時間を使用する場合は、新しい create_timestamp
と更新された last_update_timestamp
を使用して review
または merchant
を再配信します。次に、エントリを含むファイル名をサポートチームに伝えます。この問題の解決については、サポートチームにお問い合わせください。
例
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>
翌日、次のフィード ファイル「2017_03_02.xml」を配信します。これにより、レビュー「156368」の作成時間が更新されます。
<review id="156368" mid="2739> <reviewer_name>Ada</reviewer_name> <create_timestamp>2017-02-26T11:01:42Z</create_timestamp> <last_update_timestamp>2017-02-26T11:01:42Z</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>
レビュー「156368」の 2 番目のエントリは、作成時に競合を作成します。サポートチームから、データに関する問題が発生したことを知らせる通知が届きます。
この問題を解決する方法に関するドキュメントを確認した後、作成時刻を元の状態に戻すためにオプション A を選択します。元の作成時間は「2017-02-25T03:02:23Z」であるため、3 月 10 日に次のフィード ファイル「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-09T02:40: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>