googleads / googleads/google-ads-java

Can the size of google client library be reduced if only a few apis are being used?

Open
#581 12 comments 4 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

enhancement question
Dominant language
Java
Stars
211
Forks
189
Avg merge
8h 32m
Merged PRs (30d)
3

Description

Can the size of google client library be reduced if only a few apis are being used?
Hello,
I am using implementation 'com.google.api-ads:google-ads:17.0.1' in build.gradle to import libraries required. The total size of google ads apis is approximatgely 100 mb.
I can see even v9 and v8 is present in the jar, which is of 25 mbs each and is not being used.
If I remove them and run the code I am getting error.

Basically, I want to reduce the size of jar. I am only using GetCampaign and campaign_asset apis. I want to remove unnecessary jar files. Please help.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.