Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa pagina contiene una panoramica generale che descrive cos'è l'API Data Portability, i suoi casi d'uso con alcuni esempi ipotetici e la procedura per accedere e creare un'app che utilizza l'API Data Portability.
Introduzione
L'API Data Portability ti consente di creare applicazioni che richiedono l'autorizzazione di un utente per spostare una copia dei suoi dati dai servizi Google nella tua applicazione.
Ciò consente la portabilità dei dati e facilita il passaggio da un servizio all'altro.
L'API Data Portability supporta i dati di una serie di prodotti e servizi Google, tra cui contenuti generati dagli utenti e dati sulle attività utente dei prodotti, ad esempio:
Questa sezione illustra alcuni modi in cui puoi utilizzare l'API Data Portability.
Creare un nuovo servizio
Puoi creare un nuovo prodotto o servizio finalizzato all'esportazione dei dati degli utenti Google per semplificare un'esperienza. Ad esempio, potresti creare un'app di consigli sui ristoranti che utilizza i Luoghi contrassegnati su Maps e la Cronologia delle ricerche per suggerire ristoranti nelle vicinanze dell'utente.
Migliorare il servizio attuale
Puoi utilizzare l'API Data Portability per migliorare le funzionalità del tuo prodotto con i dati di Google. Ad esempio, puoi migliorare l'esperienza utente nella tua app per il fitness consentendo agli utenti di trasferire una copia delle loro playlist di YouTube Music, in modo da poter offrire suggerimenti musicali migliori da abbinare a un piano di allenamento.
Consentire agli utenti di eseguire l'onboarding al tuo servizio
Puoi utilizzare l'API Data Portability per semplificare il passaggio degli utenti da un prodotto o servizio Google al tuo prodotto oppure per utilizzare contemporaneamente il tuo prodotto e un prodotto Google. Ad esempio, il porting di una copia dei dati di Maps per consentire l'utilizzo di più servizi di navigazione.
Processo
Per utilizzare l'API Data Portability nel tuo prodotto o servizio, devi svolgere
queste attività:
Verifica la disponibilità: assicurati che l'API Data Portability sia disponibile per la popolazione dei tuoi utenti.
Verifica che l'API Data Portability sia disponibile nella tua
località.
L'API Data Portability non supporta l'accesso tramite gli account degli utenti minori di 18 anni.
Verifica la tua app: le applicazioni che utilizzano l'API Data Portability hanno accesso ai dati degli utenti di Google e, pertanto, sono soggette a una procedura di verifica prima di poter essere pubblicate. Questa procedura generalmente include:
Verifica dell'identità
Fornire una copia delle tue norme sulla privacy
Descrivere come utilizzerai i dati
Creare un video dimostrativo
Se vuoi accedere ad ambiti OAuth con limitazioni, la procedura include anche:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eThe Data Portability API allows developers to build applications that can access and transfer user data from various Google services, like YouTube, Maps, and Search, with user authorization.\u003c/p\u003e\n"],["\u003cp\u003eThis API facilitates creating new services, enhancing existing ones by integrating Google data, and enabling users to easily switch or simultaneously use your service alongside Google products.\u003c/p\u003e\n"],["\u003cp\u003eBefore utilizing the API, developers must ensure its availability in their users' location, set up the API through a Google Developer Account, configure OAuth, develop their application, and undergo a verification process.\u003c/p\u003e\n"],["\u003cp\u003eApplications accessing user data via the Data Portability API require verification, including identity confirmation, privacy policy submission, data usage description, and a demo video; restricted scopes necessitate further security assessments.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers must re-verify their applications annually or after making significant changes to maintain compliance.\u003c/p\u003e\n"]]],[],null,["# Data Portability API Overview\n\nThis page contains a high-level overview that describes what the Data Portability API\nis, its use cases with some hypothetical examples, and the process for accessing\nand creating an app that uses the Data Portability API.\n\nIntroduction\n------------\n\nThe Data Portability API lets you build applications that request authorization from a\nuser to move a copy of their data from Google services into your application.\nThis enables data portability and facilitates switching services.\n\nThe Data Portability API supports data from a variety of Google products and services,\nincluding user generated content and user activity data from products, such as:\n\n- Chrome\n- Maps\n- Play\n- Search\n- Shopping\n- YouTube\n\nFor a full list of what's available, see [Available OAuth scopes](/data-portability/user-guide/scopes).\n\nWhen to use the Data Portability API\n------------------------------------\n\nThis section covers some ways you can use the Data Portability API.\n\n### Build a new service\n\nYou can create a new product or service that is meant to export Google user\ndata to facilitate an experience. For example, you could build a restaurant\nrecommendation app that uses Starred places on Maps and Search history to\nsuggest restaurants near the user.\n\n### Enhance current service\n\nYou can use the Data Portability API to enhance your product's features with Google\ndata. For example, you can enhance the user experience on your fitness app by\nallowing users to port a copy of their YouTube Music playlists so you can make\nbetter music suggestions to go along with a workout plan.\n\n### Enable users to onboard to your service\n\nYou can use the Data Portability API to facilitate users switching from a Google\nproduct or service to your product, or using your product and a Google product\nsimultaneously. For example, porting a copy of Maps data to enable using\nmultiple navigation services.\n\nProcess\n-------\n\nTo use the Data Portability API in your product or service, you'll need to accomplish\nthese tasks:\n\n1. **Check availability** : Ensure the Data Portability API is available to your users' population.\n 1. Verify the Data Portability API is available in your [location](https://support.google.com/accounts/answer/14452558#zippy=%2Ccan-all-users-in-the-countries-listed-above-use-this-feature).\n 2. The Data Portability API does not support access by accounts of users under 18.\n2. **Set up the API** : To begin using the Data Portability API, follow the steps in [Set up the Data Portability API](/data-portability/user-guide/setup), which are:\n 1. Sign up for a Google Developer Account.\n 2. Create your project.\n 3. Enable billing.\n 4. Enable the API.\n3. **Configure OAuth for your application**:\n\n 1. Set up [OAuth](/data-portability/user-guide/configure-oauth).\n 2. Choose applicable Data Portability API [OAuth scopes](/data-portability/user-guide/scopes).\n\n | **Important:** If you select restricted scopes, your product will be subject to an additional security review during verification.\n4. **Develop using the API** : Integrate the Data Portability API into your app\n experience following the steps in [Develop apps using the Data Portability\n API](/data-portability/user-guide/introduction).\n\n5. **Verify your app** : Applications that use the Data Portability API have access to\n Google users' data and therefore are subject to a\n [verification process](https://support.google.com/cloud/answer/13463073) before they can be published. This process\n generally includes:\n\n 1. Verifying your identity\n 2. Providing a copy of your privacy policy\n 3. Describing how you are going to use the data\n 4. Creating a demo video\n\n If you are seeking access to restricted OAuth scopes, the process also\n includes:\n 1. Completing a security assessment.\n\n For more details, see the instructions for\n [submitting your app for verification](https://support.google.com/cloud/answer/13461325) and the full\n [verification requirements](https://support.google.com/cloud/answer/13464321).\n6. **Re-verify your app** : You need to [re-verify](https://support.google.com/cloud/answer/13463073) your application\n annually or if you make changes to the approved app."]]