Skip to content

Commit 335911a

Browse files
Merge pull request #865 from googleads/addADCEnvVar
Add ADC environment variable
2 parents 8981e50 + c40b746 commit 335911a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

google-ads/src/main/java/com/google/ads/googleads/lib/GoogleAdsClient.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,8 +778,11 @@ public enum AdsEnvironmentVariable {
778778
GOOGLE_ADS_LINKED_CUSTOMER_ID(ConfigPropertyKey.LINKED_CUSTOMER_ID),
779779
/** Google Ads API endpoint. Overrides the default endpoint of {@value DEFAULT_ENDPOINT}. */
780780
GOOGLE_ADS_ENDPOINT(ConfigPropertyKey.ENDPOINT),
781-
/** Maximum size of inbound gRPC messages, in bytes */
782-
GOOGLE_ADS_MAX_INBOUND_MESSAGE_BYTES(ConfigPropertyKey.MAX_INBOUND_MESSAGE_BYTES);
781+
/** Maximum size of inbound gRPC messages, in bytes. */
782+
GOOGLE_ADS_MAX_INBOUND_MESSAGE_BYTES(ConfigPropertyKey.MAX_INBOUND_MESSAGE_BYTES),
783+
/** Specifies if application default credentials should be used. */
784+
GOOGLE_ADS_USE_APPLICATION_DEFAULT_CREDENTIALS(
785+
ConfigPropertyKey.USE_APPLICATION_DEFAULT_CREDENTIALS);
783786

784787
/**
785788
* The {@link ConfigPropertyKey} that this environment variable maps to, if such a mapping

0 commit comments

Comments
 (0)