diff --git a/google-ads-stubs-lib/src/main/java/com/google/ads/googleads/lib/utils/AbstractErrorUtils.java b/google-ads-stubs-lib/src/main/java/com/google/ads/googleads/lib/utils/AbstractErrorUtils.java index 66ed48cf0a..2ce5bf29c9 100644 --- a/google-ads-stubs-lib/src/main/java/com/google/ads/googleads/lib/utils/AbstractErrorUtils.java +++ b/google-ads-stubs-lib/src/main/java/com/google/ads/googleads/lib/utils/AbstractErrorUtils.java @@ -115,7 +115,7 @@ public List getGoogleAdsErrors( && path.getIndex().get() == operationIndex) { GoogleAdsErrorT error = path.getError(); if (!result.contains(error)) { - result.add(path.getError()); + result.add(error); } } }