This page describes how to create media recommendation apps, media search apps, and media data stores.
The process for creating media data stores is different from creating generic data stores because media data stores can't be created directly from the Data store page of the Google Cloud console. Instead, media data stores must be created as part of the media app creation workflow.
The processes for creating media recommendations apps and creating media search apps are similar. Both apps can use the same data stores—although for recommendations the data store must contain user events while for search, user events are recommended but not required.
Create a media recommendations app and data store
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 Your app name field, enter a name for your app. Your app ID appears under the engine name.
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.
To connect to a data store, on the Data Stores page, select a data store that you previously created or create a new data store. Only media data stores are displayed for selection. Do one of the following:
Select an existing data store, if one is available.
Create a new data store and then select it:
- Click Create data store.
- Name your data store and then click Create. Your new data store is created.
- Select your new data store.
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 created a new data store, you have no data in your data store at this point. The document and user event requirements for your data store are listed under Data requirements not met. For information about importing documents and user events to meet your data requirements, see Import data into a media data store.
Create a media search app and data store
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, select Search.
Under Content, click Media.
In the Your app name field, enter a name for your app. Your app ID appears under the engine name.
Optional: Click Edit to edit your app ID.
Click Continue.
Select a data store to connect your app to. You can select a media data store that you previously created or create a new media data store and select it. Only media data stores are displayed for selection. Do one of the following before proceeding to the next step:
Select an existing data store, if one is available.
Create a new data store and then select it:
- Click Create data store.
- Name your data store and then click Create. Your new data store is created.
- Select your new data store.
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 created a new data store, you have no data in your data store at this point. The document requirements for your data store are listed under Data requirements not met. For information about importing documents to meet your data requirements, see Import data into a media data store.
What's next
For search apps: Configure search results for structured data
For recommendations apps: Get media recommendations