Create a media app and a data store

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

  1. In the Google Cloud console, go to the Search and Conversation page.

    Search and Conversation

  2. On the Apps page, click New app.

  3. On the Create app page, select Recommendations.

  4. In the Your app name field, enter a name for your app. Your app ID appears under the engine name.

  5. Optional: Click Edit to edit your app ID.

  6. Under Content, click Media. Media content options appear.

  7. Select a recommendations type. For more information, see Recommendations types.

  8. Select a business objective. For more information, see Optimization for business objectives.

  9. (Only for Recommended for you) Select a context event type. For more information, see Recommended for you.

  10. (Only for Most popular) Enter a time window in the Days field if you selected the Most popular recommendations type.

  11. Click Continue.

  12. 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:

      1. Click Create new data store.
      2. Name your data store and then click Create. Your new data store is created.
      3. Select your new data store.
  13. 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.

To use the Google Cloud console to create a media search app, follow these steps:

Console

  1. In the Google Cloud console, go to the Search and Conversation page.

    Search and Conversation

  2. On the Apps page, click New app.

  3. On the Create app page, select Search.

  4. Under Content, click Media.

  5. In the Your app name field, enter a name for your app. Your app ID appears under the engine name.

  6. Optional: Click Edit to edit your app ID.

  7. Click Continue.

  8. 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:

      1. Click Create new data store.
      2. Name your data store and then click Create. Your new data store is created.
      3. Select your new data store.
  9. 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 recommendations data store.

What's next