GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

Recommendations data source

Use the Recommendations data source type to return For you (viewer-specific) or Trending (global) feeds. It's available for Moments and Stories.

Pick one type per data source. For you and Trending are separate feeds: For you ranks content for the individual viewer, and Trending returns a shared feed ranked by overall engagement. The type you pick determines which feed the SDK requests.

For how Trending, explicit personalization, and implicit For you fit together in Concepts, see Content recommendations.

To put another data source (for example, Labels) ahead of Trending or For you in one feed, use Composite data source.

Platform API reference

Recommendation types

TypeDescription
forYouViewer-specific recommendations (personalized)
trendingGlobal content across the platform

Parameters

ParameterTypeMandatoryDescription
anyLabelFilterarray of stringsnoFilters recommended content by these labels
coldStartLabelsarray of stringsnoFilters cold start content by these labels, for For you only

The coldStartLabels parameter applies to the For you recommendation type only, not Trending. See Cold start for For you.

Personalized filtering options

MethodTypeMandatoryRequirements
idsarray of stringsyesRequires one or more entity keys, for example, players and teams, to filter by content type
labelsstring / objectyesRequires labelExpression. Can optionally include labelsFilter and labelsPriority

See Ordering and item limits for item count settings.


Did this page help you?