On this page: Learn how feeds import entities into Adobe Target Recommendations, which source types are available, and how to create and monitor a feed.
Use feeds to get entities imported into Adobe Target Recommendations. Entities can be sent using CSV files, the Google Product Search feed format, and Adobe Analytics product classifications.
Feeds overview concept_D1E9C7347C5D4583AA69B02E79607890
Feeds let you pass entities or augment your mbox data with information that is either unavailable on the page or is unsafe to send directly from the page. For example, margin, Cost of Goods Sold (COGS), and so on. Feeds also let you pass detailed item information into Recommendations, such as product ID, category, name, message, and other attributes.
You can select which columns from your Target product classifications file or Google Product Search file you want to send to the Recommendations server.
These pieces of data about each item can then be used to:
- Display values in designs
- Define criteria inclusion rules
- Sort items into different collections
- Apply exclusions to recommendations
Item descriptions can be passed into Target using feeds or mboxes. If Target collects data using both an entity feed and an mbox, the most recent data wins. Usually, the most recent data comes from an mbox, because it is viewed more often. In the rare event that entity feed data and mbox data hit at the same time, the mbox data is used.
Uploaded entities and entity attributes expire after 61 days. This means:
-
Your feed should run at least monthly to ensure that your catalog contents do not expire.
-
Removing an item from your feed file does not remove that item from your catalog. To remove the item from the catalog, manually delete the item via the Target UI or API. Or, modify the item attributes (such as inventory) to ensure that the item is excluded from consideration.
-
Upload your feed file at least every 60 days to avoid a disruption to your recommendations activities. If an item is not included in a feed file (or other entity update method) at least once every 60 days, Target infers the item is no longer relevant and removes it from the catalog.
Feeds list
The Feeds list (Recommendations > Feeds) provides information about any feeds that you have created. It contains the following columns:
- Click the Customize Table icon (
) to select or deselect columns that you want to display. - Click the Information icon (
) to display a card that displays the last upload date and the feed’s URL. - Click the More Actions icon (
) to access the following actions: Deactivate, Edit, Copy, and Delete.
Source types source-types
The following sections describe the source types that you can use to send entities.
CSV section_65CC1148C7DD448FB213FDF499D35FCA
You can create a .csv file using the Adobe proprietary CSV upload format. The file contains display information about the reserved and custom attributes for your products. To upload attributes specific to your implementation, replace CustomN in the header row with the name of the attribute you want to use. In the example below, entity.Custom1 has been replaced by: entity.availability. You can then bulk upload the file to the Recommendations server.
Using the .csv format has the following advantages over the Google feed format:
- The .csv format does not require field mappings.
- The .csv format supports multi-value attributes (see example below).
- The .csv format supports up to 100 custom attributes. If you need more than 100 custom attributes, you can create a second feed file with a different set of custom attributes specified.
Use the bulk upload method to send display information if you do not have mboxes on your page, or if you want to supplement your display information with items that are not available on your site. For example, you might want to send inventory information that might not be published on your site.
Any data uploaded using the .csv file, Google Product Feed, or Analytics Product classification feed overwrites the existing entity attribute value in the database. If you send price information via mbox requests and then send different price values in the file, the values in the file overwrite the values set with the mbox request. An exception to this is the categoryId entity attribute where the category values are appended instead of being overwritten up to the 250-character limit.
For example, the following syntax is incorrect:
"Apples "Bananas" Grapes"",
The following syntax is correct:
"Apples ""Bananas"" Grapes""",
Note that you cannot overwrite an existing value with a blank value. Pass another value in its place to overwrite the existing value. In the case of a sale price, a common solution is to either pass in an actual “NULL” or some other message. You can then write a template rule to exclude items with that value.
The product is available in the admin interface approximately two hours after successfully uploading its entity.
| code language-none |
|---|
|
Google section_8EFA98B5BC064140B3F74534AA93AFFF
The Google Product Search feed type uses the Google format rather than the Adobe proprietary CSV format. You can reuse an existing Google Product Feed to import product data into Recommendations.
Recommendations accepts .xml, .txt, and .tsv files that follow the Google feed specification and use the attributes defined by Google. Specify the feed’s URL or FTP location so the Recommendations server can retrieve the file and build your catalog.
Note that the server hosting the Google feed must allow the POST method.
Keep the following requirements and limitations in mind:
- A product page mbox is still required to display recommendations on that page or track product views for view-based algorithms.
- Google feeds do not support multiple values for a custom attribute.
The feed runs when you save and activate it, then daily one hour later than the initial run time.
| code language-xml |
|---|
|
| code language-none |
|---|
|
Analytics product classifications section_79E430D2C75443BEBC9AA0916A337E0A
The Adobe Analytics Product classification is the only classification available for recommendations. For more information about this classification file, see About classifications in the Analytics Components guide. It is possible that not all the information you need for recommendations is available in your current implementation, so follow this user guide if you want to add to your classifications file.
- Updates to entity attributes incur an additional delay of up to 24 hours.
- Target supports Product Classifications only. The Analytics product SKU must map to the same level as the Recommendations
entity.id. Custom Analytics Classifications can be engineered using Adobe Consulting Services. Contact your Account Manager with questions.
Create a feed steps
Create a feed to insert information about your products or services into Recommendations.
The source determines where Recommendations retrieves the entity data that builds your catalog.
-
From within the Target interface, click Recommendations > Feeds > Create Feed.
-
Specify a descriptive name for your feed.
-
Select a Source Type.
- CSV
- Google Product Feed
- Analytics Classifications
For information about the CSV and Google Product Feed feed types, see Source types. You can also download a model CSV guide to help you format the feed correctly.
-
(Conditional) If you selected CSV or Google Product Feed, specify the location where the feed can be accessed.
-
FTP: If you selected FTP, provide the FTP server information, the login credentials, the filename, and the FTP directory. You can use FTP with SSL (FTPS) for more secure uploads.
accordion Supported FTP server settings - FTP and FTPS must be set to use Passive FTP.
- For FTPS, configure the server to accept Explicit FTPS connections.
- You can manually specify a port on which to initiate the connection (for example,
ftp://ftp.yoursite.com:2121). If you do not specify a port, the default FTP or FTPS port is used.
-
SFTP: Enter your SFTP server’s host name or IP address, port (default: 22), username, directory, and filename. For authentication, provide a password, an SSH private key, or both.
accordion Supported SFTP server settings and limitations - Authentication uses a password, an SSH private key, or both. At least one is required.
- The customer generates and owns the key pair. Install the public key in the SFTP user’s
authorized_keysfile, then paste the private key into Target as PEM text. Accepted key types are RSA, Ed25519, and ECDSA, in PEM (-----BEGIN RSA PRIVATE KEY-----), PKCS#8 (-----BEGIN PRIVATE KEY-----), or OpenSSH (-----BEGIN OPENSSH PRIVATE KEY-----) format. - Passphrase-protected private keys are not supported, a feed cannot be saved with one.
- Target stores the private key encrypted and does not display it again. To rotate it, edit the feed and enter the new key.
- Enter a bare host name or IP address, without an
sftp://prefix, port, or path. Use the Port field for a non-default port. - The server host key is accepted on first connection, no fingerprint exchange with Adobe is needed.
- SFTP is available in the Target Interface and Recommendations API, but not in the legacy Recommendations Classic admin interface. Adobe does not host an SFTP endpoint, use a customer-hosted server.
- The SFTP server must be reachable from the internet and allow inbound connections from Adobe Target’s download addresses.
-
URL: If you select URL, specify the URL.
-
-
(Conditional) If you selected Analytics Classifications, choose the report suite from the drop-down list.
-
Click the Next arrow to display the Schedule options and select an update option:
- Daily
- Weekly
- Every 2 Weeks
- Never: Do not schedule an update. Choose this if you do not want this feed to run.
-
Specify the time that you want your feed to run.
This option is based on the time zone used in your browser. If you want to use a time in a different time zone, you must calculate that time according to your time zone.
-
Click the Next arrow to display the Mapping options, then specify how you want to map your data to Target definitions.
-
(Optional) If you want the feed to belong to an environment (host group), select the host group.
By default the feed belongs to all host groups. This ensures that items in this feed are available in any environment. For more information, see Hosts.
-
Click Save.
After you create or edit a feed, it runs immediately, then updates according to your settings. The feed must sync, process, and index before its data is available. Processing continues even if you close Target, and you can follow the progress in the Feeds list with the feed status.
During indexing, products and feed headers appear before individual values, so you can already search for products and create collections, exclusions, designs, and activities.
The “Success” status means that the file was found and parsed correctly. Its data is available only after indexing, which takes longer for larger files. A failure can result from an incorrect URL or FTP information, a missing file, or a parsing error.
Feed statuses and indicators concept_E475986720D1400999868B3DFD14A7A0
This section describes the possible feed statuses and their indicators.
Feed statuses status
The following are possible statuses for a feed:
Target has imported the feed file into its content delivery system. Changes to item attributes have been made in the content delivery system and will soon be reflected in delivered recommendations. If you do not see the expected changes, try again and refresh the page containing recommendations.
Notes:
- If changes to an item’s attributes result in an item being excluded from recommendations, the exclusion is immediately reflected. If an item is newly added, or changes to attributes result in an item being no longer excluded from recommendations, it is not reflected until the next algorithm update, which occurs within 24 hours.
- When this status is displayed, updates might not yet be reflected in the Catalog Search UI. A separate status is listed in Catalog Search indicating the last time that the searchable catalog was updated.
Partial import failed partial-import-failed
Previously, when not all rows were uploaded, the feed was still marked as success. This gave the false impression that all rows had been uploaded. The message now states what happened: the feed is marked as partial import failed instead of success.
The following scenario shows why a partial feed import can occur:
- You uploaded a feed file for the production environment, for example 100 rows.
- The feed ran and uploaded 80 out of those rows and dropped 20 rows due to incorrect formatting, field exceeded characters, and so forth.
- The feed was marked as success in the UI, giving you the impression that all 100 rows were uploaded.
- You are expecting some of those 20 products in the delivery of an activity but it is not happening.
- The feed that you uploaded has the product details for the products in question, but you do not see them in the back end when you query via the Entity API, which shows that they are not in the back end.
To update a feed (for example, to make changes to your feed configuration or feed file), open the feed, make any desired changes, and click Save. Uploaded entities expire after 61 days. See the note in Feeds overview for the upload frequency.
Feed status indicators section_3C8A236C5CB84C769A9E9E36B8BFABA4
The following feed status indicators display in the Status column:
Consider the following examples:
Example 1:
- Day one: daily feed processes at 9:00 a.m. PST.
- Day two: it is 3:30 p.m. and the feed has not run since yesterday at 9:00 a.m.
The status should be yellow because the index should have run roughly 6.5 hours ago. 6.5 hours +24 is 127% of the feed window.
Example 2:
- January 1: monthly feed processes at 9:00 a.m. PST.
- February 3: it is 10:00 a.m. and the feed has not run for one month, one day, and one hour ago.
The status should be yellow because the index should have run roughly one day and one hour ago. Although this is only (31+(1/25))/30 = 1.03% of frequency setting, it surpassed the maximum of one-day delay.
Training videos
The following videos contain more information about the concepts discussed in this article.
This video contains the following information:
- Understand the purpose of feeds
- Understand the value of feeds
| embed |
|---|
| https://video.tv.adobe.com/v/27695?learn=on |
This video contains the following information:
- Set up a feed
- Know which type of feed to use
| embed |
|---|
| https://video.tv.adobe.com/v/27696?learn=on |