Sur la page Applications, cliquez sur Créer une application.
Sur la page Créer une application, sous Recommandations de contenus multimédias, cliquez sur Créer.
Dans le champ Nom de l'application, saisissez le nom de votre application. L'ID de votre application, également appelé ID du moteur, s'affiche sous le champ.
Facultatif : Cliquez sur Modifier pour modifier l'ID de votre application.
Sélectionnez un type de recommandation. Pour en savoir plus, consultez Types de recommandations.
(Uniquement pour "Recommandé pour vous") Sélectionnez un type d'événement de contexte. Pour en savoir plus, consultez Recommandations pour vous.
(Uniquement pour "Les plus populaires") Saisissez une période dans le champ Jours si vous avez sélectionné le type de recommandation Les plus populaires.
Cliquez sur Continuer.
Sélectionnez un data store média que vous avez créé précédemment.
Seuls les datastores média peuvent être sélectionnés.
Facultatif : Pour afficher la liste des data stores indisponibles, cliquez sur En savoir plus.
Un tableau s'affiche avec la liste des data stores et la raison pour laquelle ils ne sont pas disponibles.
Sur la page Data stores, cliquez sur Créer. Votre nouvelle application est créée et associée au data store que vous avez sélectionné. La page d'informations de votre data store s'affiche.
Vérifiez la qualité des données dans votre data store :
Cliquez sur Qualité des données. Si le message Exigences relatives aux données non respectées s'affiche, vous devez importer davantage de données, généralement sous la forme d'événements utilisateur plus récents.
Pour en savoir plus sur l'importation d'événements utilisateur, consultez À propos des événements utilisateur média, Importer un historique d'événements utilisateur et Enregistrer des événements utilisateur en temps réel. Une fois les données importées, il peut s'écouler un certain temps avant que l'état de l'onglet Conditions ne soit mis à jour.
Sur la page Applications, cliquez sur Créer une application.
Sur la page Créer une application, sous Recherche de contenus multimédias, cliquez sur Créer.
Dans le champ Nom de l'application, saisissez le nom de votre application. L'ID de votre application, également appelé ID du moteur, s'affiche sous le champ.
Facultatif : Cliquez sur Modifier pour modifier l'ID de votre application.
Cliquez sur Continuer.
Sélectionnez un data store média que vous avez créé précédemment.
Seuls les datastores média peuvent être sélectionnés.
Facultatif : Pour afficher la liste des data stores indisponibles, cliquez sur En savoir plus.
Un tableau s'affiche avec la liste des data stores et la raison pour laquelle ils ne sont pas disponibles.
Sur la page Data stores, cliquez sur Créer. Votre nouvelle application est créée et associée au data store que vous avez sélectionné. La page d'informations de votre data store s'affiche.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/05 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/05 (UTC)."],[[["\u003cp\u003eThis guide details the steps for creating both media recommendation apps and media search apps, highlighting that both types use similar processes and can share the same media data stores.\u003c/p\u003e\n"],["\u003cp\u003eCreating a media recommendation app requires selecting a recommendation type and a business objective, along with connecting to a pre-existing media data store.\u003c/p\u003e\n"],["\u003cp\u003eCreating a media search app involves naming the app and connecting it to an existing media data store, after which it is created and ready to use.\u003c/p\u003e\n"],["\u003cp\u003eBefore creating either type of app, it is necessary to have already set up a media data store.\u003c/p\u003e\n"],["\u003cp\u003eOnce a media recommendation app is created, it may require two to five days to train before it can be used for queries, and it is possible to review and improve the quality of the data.\u003c/p\u003e\n"]]],[],null,["# Create media apps\n\nThis page describes how to create media recommendation apps and media search\napps.\n\nThe processes for [creating media recommendations apps](#recs) and [creating\nmedia search apps](#search) are similar. Both apps can use the same media data\nstores---although when you create a media recommendations app, you must choose a\nrecommendations type and a business objective for your app.\n\nBefore you begin\n----------------\n\nMake sure that you have created your media data store.\n\nFor information about\ncreating a media data store, see [Create a media data\nstore](/generative-ai-app-builder/docs/create-data-store-media).\n\nCreate a media recommendations app\n----------------------------------\n\nTo use the Google Cloud console to create a media recommendations app, follow these\nsteps: \n\n### Console\n\n1. In the Google Cloud console, go to the **AI Applications** page.\n\n [AI Applications](https://console.cloud.google.com/gen-app-builder/engines)\n2. On the **Apps** page, click **Create app**.\n\n3. On the **Create app** page, under **Media recommendations** , click\n **Create**.\n\n4. In the **App name** field, enter a name for your app. Your app ID,\n also called the engine ID, appears under the field.\n\n5. Optional: Click **Edit** to edit your app ID.\n\n6. Select a recommendations type. For more information, see\n [Recommendations types](/generative-ai-app-builder/docs/about-media-recommendations-types).\n\n7. Select a business objective. For more information, see\n [Optimization for business objectives](/generative-ai-app-builder/docs/about-media-recommendations-types#opt-obj).\n\n8. (Only for Recommended for you) Select a context event type. For more\n information, see [Recommended for you](/generative-ai-app-builder/docs/about-media-recommendations-types#recommended-for-you).\n\n9. (Only for Most popular) Enter a time window in the **Days** field if you\n selected the **Most popular** recommendations type.\n\n10. Click **Continue**.\n\n11. Select a media data store that you previously created.\n Only media data stores are displayed for selection.\n\n12. Optional: To see a list of unavailable data stores, click **Learn why**.\n\n A table is displayed with a list of data stores and the reason why they are\n unavailable.\n13. On the **Data Stores** page, click **Create**. Your new app is created and\n connected to the data store that you selected. The information page for your\n data store appears.\n\n14. Check the quality of the data in your data store:\n\n 1. Click **Data quality** . If you see the message **Data requirements not met** ,\n you have to import more data, usually in the form of more recent user events.\n For information about importing user events, see [About media user\n events](/generative-ai-app-builder/docs/media-user-events) and [Import historical user events](/generative-ai-app-builder/docs/import-user-events),\n and [Record real-time user events](/generative-ai-app-builder/docs/record-user-events). After importing\n data, it can take some time for the **Requirements** tab to update its\n status.\n\n 2. To review additional quality metrics about your data, click\n **Optimization** . For more information, see [Check data quality\n for media recommendations](/generative-ai-app-builder/docs/check-media-data-quality).\n\n\n\u003cbr /\u003e\n\n| **Note:** It can take two to five days for your app to train and be ready for queries.\n\nCreate a media search app\n-------------------------\n\nTo use the Google Cloud console to create a media search app, follow these\nsteps: \n\n### Console\n\n1. In the Google Cloud console, go to the **AI Applications** page.\n\n [AI Applications](https://console.cloud.google.com/gen-app-builder/engines)\n2. On the **Apps** page, click **Create app**.\n\n3. On the **Create App** page, under **Media search** , click\n **Create**.\n\n4. In the **App name** field, enter a name for your app. Your app ID,\n also called the engine ID, appears under the field.\n\n5. Optional: Click **Edit** to edit your app ID.\n\n6. Click **Continue**.\n\n7. Select a media data store that you previously created.\n Only media data stores are displayed for selection.\n\n8. Optional: To see a list of unavailable data stores, click **Learn why**.\n\n A table is displayed with a list of data stores and the reason why they are\n unavailable.\n9. On the **Data Stores** page, click **Create**. Your new app is created and\n connected to the data store that you selected. The information page for your\n data store appears.\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- For search apps: [Configure search results for structured\n data](/generative-ai-app-builder/docs/configure-widget-attributes#configure_search_structured)\n\n- For recommendations apps: [Get media recommendations](/generative-ai-app-builder/docs/preview-recommendations#get-media-recommendations)"]]