[Premium]{class="badge positive" title="See what's included in Target Premium."}

Recommendations FAQ recommendations-faq

On this page: Find answers to frequently asked questions about Adobe Target Recommendations activities.

Data and APIs data-and-apis

Do Recommendations objects created through the API display in the Target UI?
Yes. Recommendations objects (Criteria, Designs, Collections, and Exclusions) created through the API are available in the UI, and can be edited through the API or the Target UI.
Can visual offers created in the Target UI be managed with the Target APIs?
No. Recommendations activities with visual offers created in the Target UI cannot be managed with the Target APIs. These activities display in the Activities list, but they cannot be read or updated (with GET or PUT).
What is the size limit of an API call to insert or update products? Can 50,000 products be updated in one call instead of a feed?

Target imposes a 50-MB post limit at the application level, but only when the application/x-www-form-urlencoded content type header is passed.

A single call with 50,000 products can be attempted. If the call fails, it can be split into batches. Adobe recommends batches of 5,000 or 10,000 products to decrease the likelihood of a timeout due to system load.

What is the maximum size of a CSV file for a feed upload?

There is no hard limit on the number of rows or on the file size for a feed CSV file upload. As a best practice, Adobe recommends limiting the CSV file to 1 GB to avoid failures during the upload. A file that exceeds 1 GB can ideally be split into multiple feed files.

The maximum number of custom attribute columns is 100, and custom attributes are limited to 4096 characters. Other limits on the length of required columns are available on the Target Limitations page.

Why does Catalog Search not show the correct results when searching on a custom attribute with a numeric value?

When a catalog search is performed on a custom attribute with a numeric value, the results treat the attribute as a string instead of a numeric value.

No functionality is currently available that allows customers to change the type of an attribute. To make a change, open a customer issue that references the attributes whose type must change from string to numeric.

Update timing update-timing

How long does it take for updates to items in the catalog to be reflected on the site?

The time frame and results vary, depending on how the items are updated.

table 0-row-3 1-row-3 2-row-3 3-row-3 4-row-3 5-row-3
Update Recommendations Catalog Search
Item attributes updated through an mbox or the API Within 15 minutes After the catalog index (3-8 hours)
Item attributes updated through a feed After the feed ingest (2-8 hours) After the feed ingest (2-8 hours) and the subsequent catalog index (3-8 hours), within 5-16 hours in total
Item deleted from the catalog through the Target UI or API Within 15 minutes After the catalog index (3-8 hours)
Item added to the catalog through an mbox or the API After the next algorithm run. Algorithm runs are scheduled every 12 hours for 1-2 day algorithms and every 24 hours for 7+ day algorithms After the catalog index (3-8 hours)
Item added to the catalog through a feed After the feed ingest (2-8 hours) and the subsequent algorithm runs, which are scheduled every 12 hours for 1-2 day algorithms and every 24 hours for 7+ day algorithms, within 2-32 hours in total After the feed ingest (2-8 hours) and the catalog index (3-8 hours), within 5-16 hours in total

Until the updates are available, the following content is shown:

  • For updated or deleted items, the existing recommendations and item attributes are shown.
  • For an added item, the existing recommendations are shown if the added item is not a requested key. Backup recommendations are shown if the added item is a requested key.

After a feed file is imported, or after entity updates are received through the API or an mbox, the following changes are reflected in under 60 minutes:

  • If an item was previously excluded but should now be included, the item is included on the next algorithm run (12-24 hours).

    This situation occurs because Target applies exclusions both online and offline. When an item is newly excluded, the online exclusion applies quickly. When an item is newly included, the online exclusion goes away quickly, but the offline exclusion does not go away until the next algorithm run.

  • If an item was previously included but should now be excluded, the item is excluded according to the time lines in the table, depending on the source: 15 minutes through an mbox or the API, or 12-24 hours through a feed.

The following changes are not reflected until the next algorithm run occurs (within 12-24 hours):

  • Item attributes used in the collection rules of the activity.
  • Item attributes used in a promotion that is based on an attribute or on a collection associated with the activity.
  • The item category in which the item appears for a “Current Category” or “Favorite Category” in the Top Sellers or Most Viewed algorithm.
  • The ranking of recommended items, when the changed attribute is a custom attribute that is used as the custom key for an algorithm.
  • The ranking of recommended items based on one or more changed attributes, when the recommendation logic is “Items with similar attributes”, or when “Content Similarity” or “Attribute Weighting” factors are used.
note
NOTE
A feed file is considered imported when its status changes from “Importing Items” to “Preparing Search Index Updates”. Updates can take more than 60 minutes to be reflected in the Catalog Search user interface. Catalog Search is up to date when the feed status changes to “Updates Completed”. Even if Catalog Search is not yet up to date, the site reflects the updates within the time frames listed above. The most recent Catalog Search index update time is displayed on the Catalog Search page.
How long does it take for a change to the configuration of a Recommendations activity, offer, promotions, or criteria settings to be reflected on the site?
  • A change to the promotion settings can take up to five hours to be reflected on the site.

  • A change to other criteria settings might not be reflected until the next algorithm run:

    • Some criteria settings, for example the addition of a dynamic inclusion rule, are reflected instantly.
    • Other criteria settings, for example the removal of a dynamic inclusion rule or a change of the lookback window, cannot be incorporated until the next algorithm run.
    • These changes trigger an algorithm run, which can take up to 24 hours to complete. Algorithms also run on a schedule, every 12-24 hours.
How long does it take for the behavior of a user (for example, clicking product A and buying product B) to be reflected in the recommendations that same user receives?
  • The product or content currently viewed or purchased influences the recommendations that the user receives on the same page view or Target content request.
  • Historical user behavior, such as “last viewed product”, “most viewed product”, and the overall viewing and purchasing history, is updated with that request. It influences the recommendations that the user receives on the next page view or content request. For example, the Recently Viewed Items and Recommended For You algorithms update with each product view or purchase, and the update is reflected on the subsequent content request.
How long does it take for the behavior of a user to be reflected in the recommendations that other users receive?
The behavior of users in aggregate is incorporated into the offline algorithm processing. This processing occurs with every algorithm run, every 12-24 hours.
Do recommendations based on recently viewed items persist across multiple devices for a single visitor?

When a visitor initiates a session, the session ID is tied to a single edge machine, and a temporary profile cache is stored on this machine. Subsequent requests from the same session read this profile cache, including the recently viewed items.

When the session ends (generally when it expires after 30 minutes of no activity), the session state, including the recently viewed items, is persisted to a more permanent profile storage in the same geographic edge. Subsequent sessions from different devices can then access these recently viewed items, as long as the new session is linked to the customer profile through the same Marketing Cloud ID (MCID), Experience Cloud ID (ECID), or CustomerID or mbox3rdPartyId.

If a visitor has two active sessions at the same time, the recently viewed items on one device do not update the recently viewed items on the other device, unless the devices are forced to share the session ID. A potential workaround exists, but Target does not directly support sharing a session ID across multiple devices. The customer must manage this ID sharing.

This behavior also occurs when a visitor is active on one device and becomes active on the other device a few minutes later. The session of the first device does not expire for 30 minutes, and up to five minutes of delay can occur before the profile state is written to the permanent state and processed. When testing this behavior, allow 35 minutes for the session to expire and the profile to be stored.

If the visitor does not have two active sessions at the same time, the recently viewed items on one device update the recently viewed items on the other device, as long as the session has ended. When testing this behavior, allow 35 minutes for the session to expire.

Criteria, designs, and promotions criteria-designs-promotions

Why are not all criteria, including custom criteria, available for selection when creating a Recommendations activity?

The available criteria depend on the current category. When recommendations offers are created, the algorithm picker displays criteria based on the category ID. If the location where the criteria is applied does not contain the category ID, certain criteria are not available in the algorithm picker. If a location where the category ID is present in the mbox is used, the criteria picker contains all applicable criteria.

Target has a Filter Incompatible Criteria setting that controls the intelligent filtering of the algorithm picker. To access the Filter Incompatible Criteria setting, click Administration > Recommendations.

Recommendations Settings page with the Filter Incompatible Criteria option highlighted

  • If the Filter Incompatible Criteria setting is not enabled, Target does not filter the algorithms in the algorithm picker, and all algorithms are displayed.

  • If the setting is enabled, in Visual Experience Composer (VEC) activities, Target reads the entityId and the category ID from the selected location. It then displays algorithms based on currentItem|currentCategory, if the respective values are present on that location. As a result, only the algorithms that are compatible with the selected location are shown in the algorithm picker by default. The non-compatible algorithms can still be viewed by clearing the Compatible check box while selecting criteria.

    Select Criteria screen with the Compatible check box highlighted

Target does not display the Compatible check box in the following special cases:

  • Both the entityId and the category ID are present on the location, so nothing is filtered.
  • mbox.js version 55 or earlier is used.
  • No mbox call is fired from the page (!config.isAutoCreateGlobalMbox && !config.isRegionalMbox).
  • Target parameters are not defined.
note
NOTE
The Filter Incompatible Criteria setting applies to activities created in the Visual Experience Composer (VEC) only. This setting does not apply to activities created in the Form-Based Experience Composer, because Target does not have location context.
What is the difference between general attribute weighting and content similarity-specific attribute weighting?

Attribute weighting exists in two forms: “standard attribute weighting” and “content similarity attribute weighting”.

  • “Standard attribute weighting” applies to most criteria types, not only Content Similarity. This type of weighting gives more weight to certain attribute values. In the following example, Nike products get a bump in the output recommendations.

    Attribute Weighting section with the brand attribute set to start with Nike and the slider at 25%

  • “Content similarity attribute weighting” applies to Content Similarity criteria only. This type of weighting is more dynamic, and is based on the current “recommendation key” (the currently viewed item). In the following example (brand x 16), a visitor who views Nike sneakers is more likely to be recommended other Nike products (not necessarily only sneakers) than competitors’ sneakers. A visitor who views Adidas sneakers is more likely to be recommended Adidas products.

    Content Similarity section with the brand attribute and the weighting slider at 16x

Must the mbox name be specified when creating Recommendations criteria, promotions, or template testing rules?

When a Recommendations criteria, promotion, or template testing rule is created based on an mbox parameter, mboxParameter no longer prompts for mboxName. The mbox name is now optional. This change allows the use of parameters from multiple mboxes, or a reference to a parameter that has not yet been recorded on the edge.

To select the desired parameter, use one of the following methods:

  • While creating a criteria, promotion, or template testing rule, select a parameter name from the list. Start typing the first characters of the parameter name, or type the full name.
  • If the mbox name is known but the parameter name is not, use the check box to filter on a known mbox that passes the desired parameter.

With either method, there is no link between the mbox and the parameter. The criteria, promotion, or template testing rule works based on the parameter across all mboxes that pass that parameter.

When an existing criteria, promotion, or template testing rule is edited, the filtering displays the mbox name that was supplied during creation.

What can be done when special characters break an array?

Use escaped values in JavaScript. Quotation marks ( " ) can break the array. The following code snippet is an example of escaped values:

code language-none
#set($String='')
#set($escaper=$String.class.forName('org.apache.commons.lang.StringEscapeUtils'))
<script type="text/javascript">
console.log("$escaper.escapeJavaScript($entity1.name)")
console.log("$escaper.escapeJavaScript($entity2.name)")
console.log('$escaper.escapeJavaScript($entity3.name)')
names.push("$escaper.escapeJavaScript($entity4.name)")
</script>
Can an entity be dynamically excluded?

Yes. Entity IDs for the entities to exclude from the recommendations can be passed in the query string. For example, items that are already in the shopping cart can be excluded.

To enable the exclusion functionality, use the excludedIds mbox parameter. This parameter points to a list of comma-separated entity IDs, for example mboxCreate(..., "excludedIds=1,2,3,4,5"). The value is sent when the recommendations are requested.

The exclusion is performed for the current Target call only. Items are not excluded on subsequent Target calls unless the excludedIds value is passed again. To exclude the items in the cart from the recommendations on every page, continue to pass the excludedIds value on every page.

To exclude entityIds, append the &excludes=${mbox.excludedIds} token to the offer content URL. When the content URL is extracted, the required parameters are substituted with the current mbox request parameters.

By default, this feature is enabled for newly created recommendations. Existing recommendations must be saved to support dynamically excluded entities.

note
NOTE
If too many entities are excluded, recommendations behave as if there are not enough entities to fill the recommendation template.
Why can a legacy Recommendations activity not be saved after a new audience is defined?
Ensure that the audience has a unique name. If the audience has the same name as an existing audience, the legacy Recommendations activity (a Recommendations activity created before October 2016) cannot be saved.
Can an algorithm created in Adobe Recommendations Classic be used in Recommendations Premium?
An algorithm created in Recommendations Classic is not supported in Recommendations Premium. The legacy algorithm might be usable in Target Premium, but it can create sync issues when the activity is deactivated or deleted in the Target Premium UI. For more information about the differences between the two solutions, see Recommendations Classic versus Recommendations activities in Target Premium.
How can only new articles or videos be recommended?

Customers in media and publishing often want the recommended items to include only the newest articles or videos. For example, a Target customer used the following approach to recommend articles that are fewer than 60 days old:

  1. Pass the article publish date, in YYYYMMDD format, as a custom entity attribute. For example:

    table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2
    Entity attribute Example
    issueDate 2021218
    lastViewDate 2021701
    parentCategory commentary
    publishDate 20210113
    publishDateDisplay Jan 13, 2021
  2. Create a profile script that returns today’s date minus 60 days, also in YYYYMMDD format.

    Profile script named priorDate60, described as today's date minus 60 days in YYYYMMDD format, with the script that calculates the date

  3. Use a dynamic inclusion rule in the criteria so that publish date > today's date minus 60 days.

    Inclusion Rules section with a Profile Attribute Matching rule that compares publishDate with the value stored in user.priorDate60

This example could also be accomplished with parameter matching, by passing the priorDate60 value as an mbox parameter.

Troubleshooting troubleshooting

Why is Target sometimes unable to show recommendations?

Target sometimes cannot show recommendations because of the low number of available recommendations.

The number of values generated for each criteria is three times the number of entities specified in the design. Runtime filtering (for example, inventory or mbox attribute matching) is applied after the 3x values are generated, so fewer than 3x values can remain at delivery time. To mitigate this situation, increase the number of entities in the design by hiding other entities.

The following JavaScript can be used at the beginning of the design to increase the number of requested entities. In this example, the requested entity count is 30 (3x10).

code language-none
#foreach($entity in $entities)
 #if( $foreach.count > 10 )
  #break
 #end
 #set ($foo = $entity.id)
#end
What does the NO<>CONTENT response that is sometimes returned in the Recommendations content trace mean?

NO_CONTENT is returned when recommendations are unavailable for the requested algorithm and key combination. This situation generally occurs when backups are disabled for the algorithm and one or more of the following conditions is also true:

  • Results are not yet ready.

    This situation typically occurs when a newly created activity is first saved, or after configuration changes are made to the collection, criteria, or promotions used in the activity.

  • Results are ready, but not yet cached at the nearest edge server for the requested algorithm and key combination.

    The request initiates a caching operation, so this issue resolves after a few page reloads or after a few minutes.

  • Results are ready, but not available for the provided key value.

    This situation typically occurs when recommendations are requested for an item that was added to the catalog after the most recent algorithm run. It resolves after the next algorithm run.

  • Partial template rendering is disabled and not enough results are available to fill the template.

    This situation typically occurs with a dynamic inclusion rule that aggressively filters many items from the possible results. To avoid this situation, enable backups and do not apply the inclusion rule to backups, or use the criteria in sequence with a less aggressively filtered criteria.

What should be done when a collection in Recommendations goes to zero (0)?

Consider the following when a collection that previously was not at zero goes to zero:

  • Resave the collection and check whether the number updates. Resaving reruns all algorithms that use that collection.

  • Check that the right environment is displayed. Click Administration > Recommendations, then check the Default Host Group setting in the Product Catalog section.

    Recommendations page of the Administration tab with the Default Host Group drop-down highlighted in the Product Catalog section

  • Check that the index is up to date. Click Recommendations > Catalog Search and check how many hours old the index is (for example, “Indexed 3 hours ago”). The index can be refreshed as needed.

  • Check whether something changed in the feed or the data layer that resulted in the entities no longer matching the collection rules. Make sure the case matches (the rules are case-sensitive).

  • Check whether the feed ran successfully, or whether someone changed the FTP directory, the password, and so forth.

  • Target updates the delivery (on the customer page or app) as quickly as possible, and it also has to provide a representation in the UI for the marketer. Target does not delay delivery updates to wait for the UI updates to be in sync. Use mboxTrace to see what is in the system at the time a request comes in.

Why does the Download data action fail in a Recommendations activity?

When Download data is clicked on the Activity Overview page of a Recommendations activity, the Target user interface might display the error Error while fetching recommendation data file.

This error typically occurs when the activity has a very large result set. The generated CSV exceeds the response size that can be returned through the user interface in a single download. The recommendation data itself is intact. Only the in-browser download path cannot deliver a file of that size.

Known issues known-issues

The following are known issues with Recommendations activities:

  • When Target returns a JSON offer with getOffer(), it returns a type of JSON. A JSON Recommendations design, however, returns a type of HTML.
  • Expired entities are correctly expired after 60 days of receiving no updates through a feed or the API. However, the expired entities are not removed from the Catalog Search index after expiration. Entities deleted through a feed or the API are also not currently removed from the Catalog Search index. (IRI-857)
  • Recommendations offers in A/B and Experience Targeting activities do not show a visual preview of the Recommendations tray. (TGT-33426)
  • The Custom Criteria feed status displayed in the criteria list (card) view is refreshed every ten minutes, and might be more than ten minutes out of date in rare circumstances. The status displayed in the Custom Criteria edit view is fetched in real time and is always up to date. (TGT-35896, TGT-36173)
AI Knowledge Reference

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: This page answers frequently asked questions about Adobe Target Recommendations activities: data and APIs, update timing, criteria, designs and promotions, troubleshooting, and known issues.

Intents:

  • Find out whether Recommendations objects and visual offers can be managed through the Target APIs.
  • Find the size limits and recommendations for API calls that insert or update products and for feed CSV file uploads.
  • Find how long item, configuration and user behavior updates take to be reflected on the site.
  • Understand why some criteria are not available for selection in the algorithm picker and what the Filter Incompatible Criteria setting does.
  • Troubleshoot recommendations that are not shown, the NO_CONTENT response, a collection that goes to zero (0), and a failed Download data action.

Glossary:

  • Recommendations objects (product-specific): Criteria, Designs, Collections, and Exclusions.
  • Standard attribute weighting (product-specific): applies to most criteria types, not only Content Similarity, and gives more weight to certain attribute values.
  • Content similarity attribute weighting (product-specific): applies to Content Similarity criteria only; this weighting is more dynamic and is based on the current “recommendation key” (the currently viewed item).
  • Filter Incompatible Criteria (product-specific): a setting, available under Administration > Recommendations, that controls the intelligent filtering of the algorithm picker.
  • Legacy Recommendations activity (product-specific): a Recommendations activity created before October 2016.
  • Imported feed file (product-specific): a feed file is considered imported when its status changes from “Importing Items” to “Preparing Search Index Updates”. Catalog Search is up to date when the feed status changes to “Updates Completed”.

Guardrails:

  • Target imposes a 50-MB post limit at the application level, but only when the application/x-www-form-urlencoded content type header is passed.
  • For a feed CSV file upload, there is no hard limit on the number of rows or on the file size.
  • The maximum number of custom attribute columns is 100, and custom attributes are limited to 4096 characters.
  • Recommendations activities with visual offers created in the Target UI cannot be managed with the Target APIs. These activities display in the Activities list, but they cannot be read or updated (with GET or PUT).

Applicability:

  • The Filter Incompatible Criteria setting applies to activities created in the Visual Experience Composer (VEC) only. It does not apply to activities created in the Form-Based Experience Composer, because Target does not have location context.
  • An algorithm created in Recommendations Classic is not supported in Recommendations Premium.

Terminology:

  • Canonical name: Adobe Target Recommendations
  • Variants: “Adobe Recommendations Classic” = “Recommendations Classic”
  • Acronym: VEC (Visual Experience Composer)
  • Acronym: MCID (Marketing Cloud ID)
  • Acronym: ECID (Experience Cloud ID)
  • Do not confuse: “standard attribute weighting” ≠ “content similarity attribute weighting”

FAQ:

  • Do Recommendations objects created through the API display in the Target UI? Yes. Recommendations objects (Criteria, Designs, Collections, and Exclusions) created through the API are available in the UI, and can be edited through the API or the Target UI.
  • Can 50,000 products be updated in one call to insert or update products instead of a feed? A single call with 50,000 products can be attempted. If the call fails, it can be split into batches.
  • How long does it take for updates to items in the catalog to be reflected on the site? The time frame and results vary, depending on how the items are updated. For example, item attributes updated through an mbox or the API are reflected in Recommendations within 15 minutes and in Catalog Search after the catalog index (3-8 hours), while item attributes updated through a feed are reflected in Recommendations after the feed ingest (2-8 hours). Changes to item attributes used in the collection rules of the activity are not reflected until the next algorithm run (within 12-24 hours). A change to the promotion settings can take up to five hours to be reflected on the site, and a change to other criteria settings might not be reflected until the next algorithm run.
  • Do recommendations based on recently viewed items persist across multiple devices for a single visitor? When the session ends (generally when it expires after 30 minutes of no activity), the session state, including the recently viewed items, is persisted to a more permanent profile storage in the same geographic edge. Subsequent sessions from different devices can then access these recently viewed items, as long as the new session is linked to the customer profile through the same MCID, ECID, or CustomerID or mbox3rdPartyId. If a visitor has two active sessions at the same time, the recently viewed items on one device do not update the recently viewed items on the other device, unless the devices are forced to share the session ID.
  • Can an entity be dynamically excluded? Yes. Entity IDs for the entities to exclude from the recommendations can be passed in the query string, and the excludedIds mbox parameter enables the exclusion functionality. The exclusion is performed for the current Target call only.
  • Must the mbox name be specified when creating Recommendations criteria, promotions, or template testing rules? No. When a criteria, promotion, or template testing rule is created based on an mbox parameter, mboxParameter no longer prompts for mboxName, so the mbox name is now optional.

Troubleshooting:

  • Catalog Search does not show the correct results when searching on a custom attribute with a numeric value: the results treat the attribute as a string instead of a numeric value. No functionality is currently available that allows customers to change the type of an attribute. To make a change, open a customer issue that references the attributes whose type must change from string to numeric.

  • Not all criteria, including custom criteria, are available for selection when creating a Recommendations activity: the available criteria depend on the current category. If the location where the criteria is applied does not contain the category ID, certain criteria are not available in the algorithm picker. If a location where the category ID is present in the mbox is used, the criteria picker contains all applicable criteria. If the Filter Incompatible Criteria setting is not enabled, Target does not filter the algorithms in the algorithm picker, and all algorithms are displayed. If the setting is enabled, in VEC activities, Target displays algorithms based on currentItem|currentCategory, if the respective values are present on that location, and the non-compatible algorithms can still be viewed by clearing the Compatible check box while selecting criteria. Target does not display the Compatible check box when both the entityId and the category ID are present on the location, when mbox.js version 55 or earlier is used, when no mbox call is fired from the page, or when Target parameters are not defined.

  • Special characters break an array: use escaped values in JavaScript. Quotation marks ( " ) can break the array.

  • A legacy Recommendations activity cannot be saved after a new audience is defined: ensure that the audience has a unique name. If the audience has the same name as an existing audience, the legacy Recommendations activity cannot be saved.

  • Target is sometimes unable to show recommendations: this happens because of the low number of available recommendations. Runtime filtering (for example, inventory or mbox attribute matching) is applied after the 3x values are generated, so fewer than 3x values can remain at delivery time. To mitigate this situation, increase the number of entities in the design by hiding other entities. JavaScript can be used at the beginning of the design to increase the number of requested entities (in the page example, the requested entity count is 30 (3x10)).

  • The NO_CONTENT response is sometimes returned in the Recommendations content trace: NO_CONTENT is returned when recommendations are unavailable for the requested algorithm and key combination. This situation generally occurs when backups are disabled for the algorithm and one or more of the following conditions is also true.

    • Results are not yet ready. This situation typically occurs when a newly created activity is first saved, or after configuration changes are made to the collection, criteria, or promotions used in the activity.
    • Results are ready, but not yet cached at the nearest edge server for the requested algorithm and key combination. The request initiates a caching operation, so this issue resolves after a few page reloads or after a few minutes.
    • Results are ready, but not available for the provided key value. This situation typically occurs when recommendations are requested for an item that was added to the catalog after the most recent algorithm run. It resolves after the next algorithm run.
    • Partial template rendering is disabled and not enough results are available to fill the template. This situation typically occurs with a dynamic inclusion rule that aggressively filters many items from the possible results. To avoid this situation, enable backups and do not apply the inclusion rule to backups, or use the criteria in sequence with a less aggressively filtered criteria.
  • A collection in Recommendations goes to zero (0): consider the following when a collection that previously was not at zero goes to zero. Resave the collection and check whether the number updates (resaving reruns all algorithms that use that collection). Check that the right environment is displayed in the Default Host Group setting in the Product Catalog section under Administration > Recommendations. Check that the index is up to date under Recommendations > Catalog Search; the index can be refreshed as needed. Check whether something changed in the feed or the data layer that resulted in the entities no longer matching the collection rules, and make sure the case matches (the rules are case-sensitive). Check whether the feed ran successfully, or whether someone changed the FTP directory, the password, and so forth. Target does not delay delivery updates to wait for the UI updates to be in sync.

  • The Download data action fails in a Recommendations activity, and the Target user interface might display the error Error while fetching recommendation data file.: this error typically occurs when the activity has a very large result set. The generated CSV exceeds the response size that can be returned through the user interface in a single download. The recommendation data itself is intact. Only the in-browser download path cannot deliver a file of that size.

  • Known issue: when Target returns a JSON offer with getOffer(), it returns a type of JSON, while a JSON Recommendations design returns a type of HTML.

  • Known issue: expired entities are correctly expired after 60 days of receiving no updates through a feed or the API, but they are not removed from the Catalog Search index after expiration. Entities deleted through a feed or the API are also not currently removed from the Catalog Search index. (IRI-857)

  • Known issue: Recommendations offers in A/B and Experience Targeting activities do not show a visual preview of the Recommendations tray. (TGT-33426)

  • Known issue: the Custom Criteria feed status displayed in the criteria list (card) view is refreshed every ten minutes, and might be more than ten minutes out of date in rare circumstances. The status displayed in the Custom Criteria edit view is fetched in real time and is always up to date. (TGT-35896, TGT-36173)

Examples:

  • Standard attribute weighting: in the page example, Nike products get a bump in the output recommendations.
  • Content similarity attribute weighting: in the page example (brand x 16), a visitor who views Nike sneakers is more likely to be recommended other Nike products (not necessarily only sneakers) than competitors’ sneakers, and a visitor who views Adidas sneakers is more likely to be recommended Adidas products.
  • Recommending only new articles or videos (for example, articles that are fewer than 60 days old): pass the article publish date, in YYYYMMDD format, as a custom entity attribute; create a profile script that returns today’s date minus 60 days, also in YYYYMMDD format; use a dynamic inclusion rule in the criteria so that publish date > today's date minus 60 days. This example could also be accomplished with parameter matching, by passing the priorDate60 value as an mbox parameter.

Best practices:

  • For an API call that inserts or updates products, Adobe recommends batches of 5,000 or 10,000 products to decrease the likelihood of a timeout due to system load.
  • For a feed CSV file upload, as a best practice, Adobe recommends limiting the CSV file to 1 GB to avoid failures during the upload. A file that exceeds 1 GB can ideally be split into multiple feed files.

Related pages:

  • For other limits on the length of required columns for a feed CSV file upload: Target Limitations page (r-troubleshooting-target/target-limits.md)
  • For more information about the differences between Recommendations Classic and Recommendations Premium: Recommendations Classic versus Recommendations activities in Target Premium (c-recommendations/c-recommendations-faq/recommendations-classic-versus-recommendations-activities-target-premium.md)
  • To see what is in the system at the time a request comes in when a collection goes to zero (0): mboxTrace (c-activities/c-troubleshooting-activities/content-trouble.md)

Personas:

  • marketer: Can view the non-compatible algorithms in the algorithm picker by clearing the Compatible check box while selecting criteria. When the Filter Incompatible Criteria setting is enabled in Visual Experience Composer (VEC) activities, Target displays algorithms based on currentItem|currentCategory, if the respective values are present on the selected location, so only the compatible algorithms are shown by default. Target does not display the Compatible check box in these cases: both the entityId and the category ID are present on the location; mbox.js version 55 or earlier is used; no mbox call is fired from the page; Target parameters are not defined. Can control the intelligent filtering of the algorithm picker with the Filter Incompatible Criteria setting under Administration > Recommendations. The page states that the Filter Incompatible Criteria setting applies to activities created in the Visual Experience Composer (VEC) only. Where: “Criteria, designs, and promotions”.
  • developer: Can pass the entity IDs to exclude from the recommendations with the excludedIds mbox parameter, a list of comma-separated entity IDs. Can append the &excludes=${mbox.excludedIds} token to the offer content URL. The page states that the exclusion is performed for the current Target call only. Where: “Criteria, designs, and promotions”.

Onboarding:

  • Level: Intermediate
  • First minimal step: Resave the collection and check whether the number updates when a collection in Recommendations that previously was not at zero goes to zero.
recommendation-more-help
target-help-main