Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Upgrade Analytics OAuth support

Open
#13,833 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

Start by locating the generated Analytics management and reporting API code and its dependency declarations. Read where the old Credential and StoredCredential types are used, then compare the Google Ads authentication setup. Done means Analytics uses UserCredentials and the unnecessary google-oauth-client and google-api-client dependencies are no longer required.

Written by the indexing model from the issue text.

Description

priority: p3 type: feature request

The Google Ads API moved to the google-auth-library-* libraries.
The Analytics API (we are using management and reporting) stayed at the google-oauth-client library.

So when using Google Ads API in conjunction with the Analytics API we have to convert the "old" Credential/StoredCredential to the "new" UserCredentials. Additionally, we have two libs on the classpath we don't need:
com.google.oauth-client:google-oauth-client
com.google.api-client:google-api-client

Please upgrade the Analytics APIs to the "new" UserCredentials.

Dominant language
Java
Stars
725
Forks
394
Avg merge
36m
Merged PRs (30d)
212

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googleapis/google-api-java-client-services

All issues in googleapis/google-api-java-client-services

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.