title: Get User's Birthdate & Gender using Google Sign-In Android
body: <p>I've integrated <code>Google Sign-In</code> in my application. I can get user's <code>Email</code> and <code>DisplayName</code>. Now, I want to get user's <code>Birthdate</code> and <code>Gender</code>.</p>
  
  <p><strong>I've added all required <code>requests</code> &amp; <code>Scopes</code> into <code>GoogleApiClient</code> which all are granted by API. here's code.</strong></p>
  
  <pre><code>    // [START configure_signin]
      // Configure sign-in to request the user's ID, email address, and basic
      // profile. ID and basic profile are included in DEFAULT_SIGN_IN.
      GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
              .requestEmail()
              .requestProfile() &lt;- This
              .requestScopes(
                      new Scope(Scopes.PLUS_ME), new Scope(Scopes.PROFILE) &lt;- This
              )
              .build();
      // [END configure_signin]
  
      // [START build_client]
      // Build a GoogleApiClient with access to the Google Sign-In API and the
      // options specified by gso.
      mGoogleApiClient = new GoogleApiClient.Builder(this)
              .enableAutoManage(this /* FragmentActivity */, new GoogleApiClient.OnConnectionFailedListener() {
                  @Override
                  public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {
                      // An unresolvable error has occurred and Google APIs (including Sign-In) will not
                      // be available.
                      Log.d(TAG, "onConnectionFailed:" + connectionResult);
                  }
              } /* OnConnectionFailedListener */)
              .addApi(Auth.GOOGLE_SIGN_IN_API, gso)
              .addScope(new Scope(Scopes.PLUS_ME)) &lt;- This
              .addScope(new Scope(Scopes.PROFILE)) &lt;- This
              .build();
      // [END build_client]
  </code></pre>
  
  <p><strong>Here's the granted Scopes in <code>GoogleSignInAccount</code></strong></p>
  
  <pre><code>private void setupUserData(GoogleSignInAccount acct) {
      if (acct != null) {
          mPrefs.setName(acct.getDisplayName());
          mPrefs.setEmail(acct.getEmail());
          if (acct.getPhotoUrl() != null) {
              mPrefs.setPicURL(acct.getPhotoUrl().toString());
          }
          Set&lt;Scope&gt; scopes = acct.getGrantedScopes(); &lt;- This
          for (Scope scope : scopes) {
              Log.d(TAG, "setupUserData: " + scope.toString()); &lt;- This
          }
      }
  }
  </code></pre>
  
  <p><strong>Here's the log of granted <code>scopes</code></strong></p>
  
  <pre><code>D/SplashActivity: setupUserData: GrantedScopes size 6
  D/SplashActivity: setupUserData: https://www.googleapis.com/auth/plus.me
  D/SplashActivity: setupUserData: https://www.googleapis.com/auth/userinfo.email
  D/SplashActivity: setupUserData: https://www.googleapis.com/auth/userinfo.profile
  D/SplashActivity: setupUserData: email
  D/SplashActivity: setupUserData: profile
  D/SplashActivity: setupUserData: openid
  </code></pre>
  
  <p><strong>Here's my Google Mobile Service's dependency</strong></p>
  
  <pre><code>compile 'com.google.android.gms:play-services-auth:10.2.0'
  compile 'com.google.android.gms:play-services-plus:10.2.0'
  </code></pre>
  
  <p>Now, I don't know how to get access to <code>user's profile information</code>.</p>