lib/google/ads/google_ads/v6/services/feed_service/credentials.rb in google-ads-googleads-8.1.0 vs lib/google/ads/google_ads/v6/services/feed_service/credentials.rb in google-ads-googleads-9.0.0

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true -# Copyright 2020 Google LLC +# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # @@ -24,9 +24,12 @@ module V6 module Services module FeedService # Credentials for the FeedService API. class Credentials < ::Google::Auth::Credentials + self.scope = [ + "https://www.googleapis.com/auth/adwords" + ] self.env_vars = [ "GOOGLEADS_CREDENTIALS", "GOOGLEADS_KEYFILE", "GOOGLEADS_CREDENTIALS_JSON", "GOOGLEADS_KEYFILE_JSON"