This page describes how to create media recommendation apps and media search apps.
The processes for creating media recommendations apps and creating media search apps are similar. Both apps can use the same media data stores—although for recommendations the data store must contain user events while for search, user events are recommended but not required.
Before you begin
Make sure that you have created your media data store.
For information about creating a media data store, see Create a media data store.
Create a media recommendations app
To use the Google Cloud console to create a media recommendations app, follow these steps:
Console
In the Google Cloud console, go to the Agent Builder page.
On the Apps page, click Create app.
On the Create app page, select Recommendations.
In the App name field, enter a name for your app. Your app ID, also called the engine ID, appears under the field.
Optional: Click Edit to edit your app ID.
Under Content, click Media. Media content options appear.
Select a recommendations type. For more information, see Recommendations types.
Select a business objective. For more information, see Optimization for business objectives.
(Only for Recommended for you) Select a context event type. For more information, see Recommended for you.
(Only for Most popular) Enter a time window in the Days field if you selected the Most popular recommendations type.
Click Continue.
Select a media data store that you previously created. Only media data stores are displayed for selection.
Optional: To see a list of unavailable data stores, click Learn why.
A table is displayed with a list of data stores and the reason why they are unavailable.
On the Data Stores page, click Create. Your new app is created and connected to the data store that you selected. The information page for your data store appears.
If you see the message Data requirements not met, you have to import more data, usually in the form of more recent user events. For information about importing user events, see About user events and Import historical user events, and Record real-time user events.
Create a media search app
To use the Google Cloud console to create a media search app, follow these steps:
Console
In the Google Cloud console, go to the Agent Builder page.
On the Apps page, click Create app.
On the Create App page, under Media catalog search, click Create.
In the App name field, enter a name for your app. Your app ID, also called the engine ID, appears under the field.
Optional: Click Edit to edit your app ID.
Click Continue.
Select a media data store that you previously created. Only media data stores are displayed for selection.
Optional: To see a list of unavailable data stores, click Learn why.
A table is displayed with a list of data stores and the reason why they are unavailable.
On the Data Stores page, click Create. Your new app is created and connected to the data store that you selected. The information page for your data store appears.
What's next
For search apps: Configure search results for structured data
For recommendations apps: Get media recommendations