[Premium]{class="badge positive" title="See what's included in Target Premium."}
Upload custom criteria upload-custom-criteria
On this page: Learn how to upload a CSV file of recommendations to create custom criteria in Adobe Target Recommendations.
Custom criteria use a CSV file of recommendations that is uploaded to Target. This allows recommendations that are computed outside Target to be delivered in Recommendations activities. For more information about how custom criteria work, see The science behind Target’s recommendations algorithms.
Custom criteria are created from the Create New Criteria screen. For the ways to reach this screen, see Access the Create New Criteria screen. The following steps start from the Recommendations > Criteria library screen.
-
Click Recommendations > Criteria.
-
Click Create Criteria > Create Criteria.
-
Fill in the information in the Basic Information section.
-
From the Select Algorithm Type drop-down list, select Custom Criteria. From the Algorithm drop-down list, select Custom Algorithm.
-
(Conditional) Fill in the information in the Backup Content and Inclusion Rules sections.
-
In the Upload CSV section, select the Location of the CSV file.
The CSV file must be formatted correctly to upload successfully. To get a correctly formatted CSV file, click Download the CSV template.
The following location options are available:
-
FTP: To upload the CSV file from an FTP server, select FTP, then enter the required information. SSL can be used, which uses the FTPS protocol to transfer the CSV file securely.
-
SFTP: To upload the CSV file from an SFTP server, select SFTP, then enter the host name or IP address, port (default 22), username, a password and/or SSH private key, directory, and filename. For details, see Supported SFTP server settings.
SFTP does not change the custom-criteria CSV format. Use the
# Key,Recommendation_1,...format. A CSV file in the format of a different feed type causes the import to fail. -
URL: To upload the CSV file from a URL, select URL, then enter a feed URL.
-
-
Click Create.
Considerations
-
Custom criteria entities (rows) can contain up to 1,000 recommended items (columns).
-
Custom criteria updates are “cumulative” by default. New key-value pairs in the CSV upload file overwrite existing key-value pairs. Existing key-value pairs whose keys are not in the CSV upload remain available for delivery and expire 31 days after they were last uploaded as part of the CSV file.
To discard the existing results that are not included in the next CSV upload, contact Client Care to enable the corresponding setting. When this setting is enabled, only the keys present in the custom CSV feed file are available for delivery. This setting applies to all custom criteria.
-
Custom criteria feeds update once every 24 hours.
The upload and sync status of each custom criteria upload is displayed on the Recommendations > Criteria page. The status is also displayed in the Edit dialog box when custom criteria are edited.
-
The flow for an error-free upload is Scheduled > Downloading Feed File > Importing > Successful.
-
If Target encounters a problem with the upload, the following error messages are possible:
table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 Error Message Details Unknown Error Indicates an internal technical error. Parsing Error There is likely an issue with the feed file format. Correct the file format and re-save the algorithm, which restarts the file download process. Server Not Found Provide an IP or host name that is visible on the internet. Credentials Error Provide a valid user and password for an active account on the server. Directory Not Found Provide a directory that exists on the server. File Not Found Provide the name of a file that exists on the server in the specified directory.
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: Custom criteria use a CSV file of recommendations uploaded to Target, which allows recommendations computed outside Target to be delivered in Recommendations activities.
Intents:
- Create custom criteria by uploading a CSV file of recommendations in Adobe Target Recommendations.
- Choose the location of the CSV file (FTP, SFTP or URL).
- Get a correctly formatted CSV file by using the CSV template.
- Understand how custom criteria updates work (cumulative updates, 24-hour feed updates).
- Follow the upload and sync status of a custom criteria upload.
- Resolve the error messages that Target can return when an upload has a problem.
Glossary:
- Custom criteria (product-specific): criteria that use a CSV file of recommendations uploaded to Target, so that recommendations computed outside Target can be delivered in Recommendations activities.
- Custom Criteria (Algorithm Type) (product-specific): the option to select in the Select Algorithm Type drop-down list to create custom criteria. The Algorithm drop-down list is then set to Custom Algorithm.
- Cumulative update (product-specific): the default way custom criteria are updated. New key-value pairs in the CSV upload file overwrite existing key-value pairs. Existing key-value pairs whose keys are not in the CSV upload remain available for delivery and expire 31 days after they were last uploaded as part of the CSV file.
- Upload and sync status (product-specific): the status of each custom criteria upload, displayed on the Recommendations > Criteria page and in the Edit dialog box when custom criteria are edited. The flow for an error-free upload is Scheduled > Downloading Feed File > Importing > Successful.
Guardrails:
- Custom criteria entities (rows) can contain up to 1,000 recommended items (columns).
- The CSV file must be formatted correctly to upload successfully. SFTP does not change the custom-criteria CSV format, which is the
# Key,Recommendation_1,...format. A CSV file in the format of a different feed type causes the import to fail. - Custom criteria feeds update once every 24 hours.
- To discard the existing results that are not included in the next CSV upload, contact Client Care to enable the corresponding setting. When this setting is enabled, only the keys present in the custom CSV feed file are available for delivery. This setting applies to all custom criteria.
Terminology:
- Canonical name: Custom criteria
FAQ:
- How are custom criteria created? From the Create New Criteria screen, by selecting Custom Criteria as the Algorithm Type and Custom Algorithm as the Algorithm, then selecting the Location of the CSV file in the Upload CSV section.
- Which location options are available for the CSV file? FTP, SFTP and URL. With FTP, SSL can be used, which uses the FTPS protocol to transfer the CSV file securely.
- How can I get a correctly formatted CSV file? Click Download the CSV template.
- How many recommended items can a custom criteria entity contain? Custom criteria entities (rows) can contain up to 1,000 recommended items (columns).
- How often do custom criteria feeds update? Once every 24 hours.
- What happens to existing key-value pairs that are not in the next CSV upload? By default, they remain available for delivery and expire 31 days after they were last uploaded as part of the CSV file. To discard them, contact Client Care to enable the corresponding setting.
Troubleshooting:
Unknown Error: indicates an internal technical error.Parsing Error: there is likely an issue with the feed file format. Correct the file format and re-save the algorithm, which restarts the file download process.Server Not Found: provide an IP or host name that is visible on the internet.Credentials Error: provide a valid user and password for an active account on the server.Directory Not Found: provide a directory that exists on the server.File Not Found: provide the name of a file that exists on the server in the specified directory.
Related pages:
- For more information about how custom criteria work: The science behind Target’s recommendations algorithms (c-recommendations/c-algorithms/recommendations-algorithms.md)
- For the ways to reach the Create New Criteria screen: Access the Create New Criteria screen (c-recommendations/c-algorithms/create-new-algorithm.md)
- For the information to fill in before selecting the algorithm type: Basic Information (c-recommendations/c-algorithms/create-new-algorithm.md)
- For the Backup Content information to fill in (conditional): Backup Content (c-recommendations/c-algorithms/create-new-algorithm.md)
- For the Inclusion Rules information to fill in (conditional): Inclusion Rules (c-recommendations/c-algorithms/create-new-algorithm.md)
- For the SFTP server settings details: Supported SFTP server settings (c-recommendations/c-products/feeds.md)
Personas:
- marketer: Can create custom criteria by selecting Custom Criteria as the Algorithm Type and Custom Algorithm as the Algorithm, then selecting the Location of the CSV file (FTP, SFTP or URL) in the Upload CSV section. Can get a correctly formatted CSV file by selecting Download the CSV template. Where: “FAQ”.
- developer: Can prepare a custom criteria CSV file with up to 1,000 recommended items (columns) per entity (row). For the SFTP location, the page states that SFTP does not change the custom-criteria CSV format, which is the
# Key,Recommendation_1,...format. It also states that a CSV file in the format of a different feed type causes the import to fail. Where: “Guardrails”.
Onboarding:
- Level: Experienced
- First minimal step: Select Recommendations > Criteria, then select Create Criteria > Create Criteria.
- Success check: The upload and sync status of each custom criteria upload is displayed on the Recommendations > Criteria page. The flow for an error-free upload is Scheduled > Downloading Feed File > Importing > Successful.
- Previous: To reach the Create New Criteria screen: Access the Create New Criteria screen (c-recommendations/c-algorithms/create-new-algorithm.md)
- Next: When the location is SFTP, for the server settings details: Supported SFTP server settings (c-recommendations/c-products/feeds.md)