Google has introduced a new Bill of Materials (BOM) for the Google Ads API Java client, starting with version 40.0.0. The google-ads-bom helps developers streamline dependency management by ensuring compatibility across all related libraries, including Guava, GAX, and gRPC.

Instead of specifying versions individually, you can now import the BOM into your Maven or Gradle project and omit version numbers from dependencies like google-ads. This reduces the risk of conflicts and simplifies updates.
Read the official announcement here: Introducing the google-ads-bom to the Google Ads API client library for Java.