Pour discuter de nos produits et nous faire part de vos commentaires, rejoignez le canal Discord officiel Google Ads sur le serveur de la communauté Google Advertising and Measurement.
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/08/31 (UTC).
[null,null,["Dernière mise à jour le 2025/08/31 (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."]]