---
title: "Activer les API Développeur dans Google Play Console"
description: "Activez l'API Développeur d'Adapty pour automatiser et simplifier la gestion des abonnements dans votre application."
---

<div style={{
    maxWidth: '560px',
    margin: '0 auto 2rem',
    position: 'relative',
    aspectRatio: '16/9',
    width: '100%'
}}>
    <iframe
        style={{
            position: 'absolute',
            top: 0,
            left: 0,
            width: '100%',
            height: '100%'
        }}
        src="https://www.youtube.com/embed/7dN50n5bcLc?si=c2znttIb--4VcrRO"
        title="YouTube video player"
        frameBorder="0"
        allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
        referrerPolicy="strict-origin-when-cross-origin"
        allowFullScreen
    />
</div>

Si votre application mobile est disponible sur le Play Store, activer les API Développeur est indispensable pour l'intégrer à Adapty. Cette étape garantit une communication fluide entre votre application et notre plateforme, facilitant les processus automatisés et l'analyse des données en temps réel pour optimiser votre modèle d'abonnement. Les API suivantes doivent être activées :

- [Google Play Android Developer API](https://console.cloud.google.com/apis/library/androidpublisher.googleapis.com)
- [Google Play Developer Reporting API](https://console.cloud.google.com/apis/library/playdeveloperreporting.googleapis.com)
- [Cloud Pub/Sub API](https://console.cloud.google.com/marketplace/product/google/pubsub.googleapis.com)

Si votre application n'est pas distribuée via le Play Store, vous pouvez ignorer cette étape. En revanche, si vous vendez bien via le Play Store, vous pouvez la reporter pour l'instant, mais elle reste indispensable au bon fonctionnement d'Adapty. Une fois l'onboarding terminé, vous pourrez configurer les paramètres du store dans la section **App settings**.

Voici comment activer les API Développeur dans Google Play Console :

1. Ouvrez la [Google Cloud Console](https://console.cloud.google.com/). 

2. Dans le coin supérieur gauche de la fenêtre Google Cloud, sélectionnez le projet que vous souhaitez utiliser ou créez-en un nouveau. Assurez-vous d'utiliser le même projet Google Cloud jusqu'à ce que vous ayez téléversé le fichier de clé du compte de service dans Adapty.

   

  <img src="/assets/shared/img/fd66a11-google_cloud_project.webp"
  style={{
    border: '1px solid #727272', /* border width and color */
    width: '700px', /* image width */
    display: 'block', /* for alignment */
    margin: '0 auto' /* center alignment */
  }}
/>

3. Ouvrez la page [**Google Play Android Developer API**](https://console.cloud.google.com/apis/library/androidpublisher.googleapis.com). 

   

  <img src="/assets/shared/img/f754f72-google_play_api.webp"
  style={{
    border: '1px solid #727272', /* border width and color */
    width: '700px', /* image width */
    display: 'block', /* for alignment */
    margin: '0 auto' /* center alignment */
  }}
/>

4. Cliquez sur le bouton **Enable** et attendez que le statut **Enabled** s'affiche. Cela signifie que l'API Google Android Developer est activée.

   

  <img src="/assets/shared/img/d47ed14-google_play_api_create_credentials.webp"
  style={{
    border: '1px solid #727272', /* border width and color */
    width: '700px', /* image width */
    display: 'block', /* for alignment */
    margin: '0 auto' /* center alignment */
  }}
/>

5. Ouvrez la page [**Google Play Developer Reporting API**](https://console.cloud.google.com/apis/library/playdeveloperreporting.googleapis.com).

   

  <img src="/assets/shared/img/966cf73-Google_play_developer_reporting_api.webp"
  style={{
    border: '1px solid #727272', /* border width and color */
    width: '700px', /* image width */
    display: 'block', /* for alignment */
    margin: '0 auto' /* center alignment */
  }}
/>

6. Cliquez sur le bouton **Enable** et attendez que le statut **Enabled** s'affiche.

   

  <img src="/assets/shared/img/e776d77-Google_play_developer_reporting_api_enabled.webp"
  style={{
    border: '1px solid #727272', /* border width and color */
    width: '700px', /* image width */
    display: 'block', /* for alignment */
    margin: '0 auto' /* center alignment */
  }}
/>

7. Ouvrez la page [**Cloud Pub/Sub API**](https://console.cloud.google.com/marketplace/product/google/pubsub.googleapis.com).

   

  <img src="/assets/shared/img/b13f609-enable_Cloud_Pub_Sub_API.webp"
  style={{
    border: '1px solid #727272', /* border width and color */
    width: '700px', /* image width */
    display: 'block', /* for alignment */
    margin: '0 auto' /* center alignment */
  }}
/>

8. Cliquez sur le bouton **Enable** et attendez que le statut **Enabled** s'affiche.

   

  <img src="/assets/shared/img/3f45602-Cloud_Pub_Sub_API_enabled.webp"
  style={{
    border: '1px solid #727272', /* border width and color */
    width: '700px', /* image width */
    display: 'block', /* for alignment */
    margin: '0 auto' /* center alignment */
  }}
/>

Les API Développeur sont activées.

Vous pouvez le vérifier sur la page [**APIs & Services**](https://console.cloud.google.com/apis/dashboard) de la Google Cloud Console. Faites défiler la page vers le bas et vérifiez que le tableau en bas de page contient bien les 3 API :

- Google Play Android Developer API
- Google Play Developer Reporting API
- Cloud Pub/Sub API

  <img src="/assets/shared/img/b81d174-google_enabled_api.webp"
  style={{
    border: '1px solid #727272', /* border width and color */
    width: '700px', /* image width */
    display: 'block', /* for alignment */
    margin: '0 auto' /* center alignment */
  }}
/>

**Étape suivante**

- [Créer un compte de service dans la Google Cloud Console](create-service-account)