Update a Recommendations Dataset

You can update a Recommendations dataset via the Data API, using SFTP, or through the Upload Data wizard in the Monetate platform. Note that integrating with the API enables more real-time use cases, such as removing out-of-stock products from the dataset.

You cannot add attributes, also called fields or columns, to a Recommendations dataset. This dataset type can only contain the lookup_key, id, and rank attributes. The platform discards any other attributes and causes the update to fail. To successfully update the dataset, remove the disallowed field(s) and then upload the revised file.

When using the Upload Data wizard to update a Recommendations dataset, you can either drag and drop a file directly into the wizard, or you can input a URL to a dataset file that you store on Amazon S3. Regardless of which of these two upload options you select, the file that you use must be in the CSV or TSV format.

You can access the files on the Update History tab on the dataset's details page in the Monetate platform.

Monetate retains dataset files for 180 days from the date it was uploaded. Once a file is out of this retention period, it still appears on the dataset's Update History tab, but you cannot download it.

The 'Upload History' tab of a Recommendations dataset's details page. Two files are available for download.

If a file is available for download, its filename appears in purple in the Update History table.

Failed Updates

If the platform encounters an error with the update, you see UPDATE FAILED in multiple places within the platform:

  • In the LAST UPDATED column for the dataset's entry on the Recommendations view of the Datasets list page

    Callout of the 'UPDATE FAILED' status for a Recommendations dataset on the Recommendations datasets list page

  • In place of the last update's timeframe on the dataset's details page

    Callout of the 'UPDATE FAILED' status on a Recommendations dataset's details page

In the UPLOAD DATE column of the Update History table, the exact date and time of the failed update appears in red.

Callout of the exact date and time that an update failed that appears in the 'UPLOAD DATE' column of the Update History table on a Recommendations dataset's details page

Click that text to view the File Upload Error modal containing the reason(s) for the failure.

Example of the 'File Upload Error' modal.

Refer to Dataset Specifications in the Recommendations dataset overview to ensure the update file conforms to the criteria for this type of dataset.

Table of Contents