diff --git a/lib/google/ads/google_ads/google_ads_client.rb b/lib/google/ads/google_ads/google_ads_client.rb index 6c94a9f65..5641d4050 100644 --- a/lib/google/ads/google_ads/google_ads_client.rb +++ b/lib/google/ads/google_ads/google_ads_client.rb @@ -225,7 +225,6 @@ def get_updater_proc # Provides a Google::Auth::Credentials initialized with a keyfile # specified in the config. def get_service_account_credentials - raise 'config.impersonate required if keyfile specified' unless @config.impersonate keyfile = File.read(@config.keyfile) keyfile = JSON.parse(keyfile) Signet::OAuth2::Client.new(