From c6a5fd446992f8dd7ecfd57bf9a90a0e144de7c7 Mon Sep 17 00:00:00 2001 From: Lois Patterson Date: Wed, 4 Nov 2026 23:59:25 +0000 Subject: [PATCH 1/2] Remove sunset stub references in BOM and update README support link - Remove sunset v21 and v22 stub references and duplicate v24 entry in google-ads-bom/build.gradle. - Replace the sunset Google Ads API forum link in README.md with the Google Ads API support page. --- README.md | 4 ++-- google-ads-bom/build.gradle | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1c46cc30b0..896c573956 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,9 @@ Our documentation is available [here](https://developers.google.com/google-ads/a - https://developers.google.com/google-ads/api/docs -### Support forum +### Support -- https://groups.google.com/forum/#!forum/adwords-api +- https://developers.google.com/google-ads/api/support ### Authors diff --git a/google-ads-bom/build.gradle b/google-ads-bom/build.gradle index 1c6e448813..4dc4d7a2db 100644 --- a/google-ads-bom/build.gradle +++ b/google-ads-bom/build.gradle @@ -130,16 +130,13 @@ dependencies { // Add constraints for all of this project's artifacts. constraints { - api "com.google.api-ads:google-ads-stubs-v26:${version}" - api "com.google.api-ads:google-ads-stubs-v25:${version}" - api "com.google.api-ads:google-ads-stubs-v24:${version}" api "com.google.api-ads:google-ads:${version}" api "com.google.api-ads:google-ads-codegen:${version}" api "com.google.api-ads:google-ads-shadowjar:${version}" - api "com.google.api-ads:google-ads-stubs-v21:${version}" - api "com.google.api-ads:google-ads-stubs-v22:${version}" api "com.google.api-ads:google-ads-stubs-v23:${version}" api "com.google.api-ads:google-ads-stubs-v24:${version}" + api "com.google.api-ads:google-ads-stubs-v25:${version}" + api "com.google.api-ads:google-ads-stubs-v26:${version}" } } From f606b918edd76bad49f73e2b9b86939211d3db8c Mon Sep 17 00:00:00 2001 From: pattersonlois Date: Fri, 6 Nov 2026 21:04:46 +0000 Subject: [PATCH 2/2] Derive google-ads-stubs-v* BOM constraints dynamically from subprojects --- google-ads-bom/build.gradle | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/google-ads-bom/build.gradle b/google-ads-bom/build.gradle index 4dc4d7a2db..abd09406b4 100644 --- a/google-ads-bom/build.gradle +++ b/google-ads-bom/build.gradle @@ -130,13 +130,14 @@ dependencies { // Add constraints for all of this project's artifacts. constraints { - api "com.google.api-ads:google-ads:${version}" - api "com.google.api-ads:google-ads-codegen:${version}" + api project(":google-ads") + api project(":google-ads-codegen") + // Uses string coordinates because :google-ads-shadowjar is excluded when -Pfastbuild is set. api "com.google.api-ads:google-ads-shadowjar:${version}" - api "com.google.api-ads:google-ads-stubs-v23:${version}" - api "com.google.api-ads:google-ads-stubs-v24:${version}" - api "com.google.api-ads:google-ads-stubs-v25:${version}" - api "com.google.api-ads:google-ads-stubs-v26:${version}" + rootProject.subprojects + .findAll { it.name.startsWith("google-ads-stubs-v") } + .sort { it.name.replace("google-ads-stubs-v", "") as Integer } + .each { api it } } }