Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Configura la schermata per il consenso OAuth
Quando utilizzi OAuth 2.0 per l'autorizzazione, Google mostra all'utente una schermata per il consenso
che include un riepilogo del progetto, delle relative policy e degli ambiti di accesso
per l'autorizzazione richiesti. La configurazione della schermata per il consenso OAuth della tua app
definisce cosa viene mostrato agli utenti e ai revisori dell'app e registra la tua
app in modo da poterla pubblicare in un secondo momento.
Segui le istruzioni
per configurare una schermata per il consenso OAuth per la tua applicazione e aggiungi
https://www.googleapis.com/auth/adwords come ambito OAuth.
Crea un ID client e un client secret
Puoi saltare questo passaggio se utilizzi un progetto della console API di Google esistente
che ha già un ID client e un segreto client generati. In caso contrario, crea un ID client
e un segreto client seguendo le
istruzioni.
Puoi scegliere App desktop o Applicazione web come tipo di applicazione. Dopo aver creato il client OAuth 2.0, scarica il file JSON del client facendo prima clic sull'icona Scarica client OAuth e poi sul pulsante SCARICA JSON nella schermata successiva.
[null,null,["Ultimo aggiornamento 2025-09-05 UTC."],[],[],null,["# Configure the Google API Console project\n\n**Note:** The current step of this tutorial depends on the [type of application](/google-ads/api/docs/get-started/choose-application-type) you are building. We strongly recommend using a service account to make API calls. However, the user authentication option is also provided as an alternative. The rest of this tutorial will be customized based on your choice. \nService accounts User authentication\n\nCreate a service account and key\n--------------------------------\n\n| **Note:** If you are already using another Google API and have created an OAuth 2.0 service account and key, you can skip this step and reuse the existing credentials.\n\nStart by [creating a service account and credentials](/google-ads/api/docs/get-started/choose-application-type).\nNext, [create credentials for the service account](/workspace/guides/create-credentials#service-account).\nDownload the service account key in JSON format and note the service account ID\nand email."]]