diff --git a/README.md b/README.md index 1da0b470d..3bef5ea9d 100644 --- a/README.md +++ b/README.md @@ -64,10 +64,7 @@ file: ## Set Up Authentication To authenticate your API calls, you need to specify your client ID, client -secret, refresh token, and developer token to the library. - -1. See the [Developer token guide][] to obtain your developer token, if you - don't already have one. +secret, and refresh token to the library. 1. See the [Authorization guide][] to generate a client ID and client secret, if you don't already have them. @@ -95,12 +92,10 @@ way: config.client_id = 'INSERT_CLIENT_ID_HERE' config.client_secret = 'INSERT_CLIENT_SECRET_HERE' config.refresh_token = 'INSERT_REFRESH_TOKEN_HERE' - config.developer_token = 'INSERT_DEVELOPER_TOKEN_HERE' end Find out more at the [Configuration guide][]. -[Developer token guide]: https://developers.google.com/google-ads/api/docs/first-call/dev-token [Authorization guide]: https://developers.google.com/google-ads/api/docs/oauth/overview [Authentication example]: https://github.com/googleads/google-ads-ruby/blob/main/examples/authentication/generate_user_credentials.rb [google_ads_config.rb]: https://github.com/googleads/google-ads-ruby/blob/main/google_ads_config.rb diff --git a/google_ads_config.rb b/google_ads_config.rb index ae9c6b09b..e1d10e0dd 100644 --- a/google_ads_config.rb +++ b/google_ads_config.rb @@ -14,10 +14,6 @@ # behaviour is to only issue a warning once for each call site in your code. c.warn_on_all_deprecations = false - # The developer token is required to authenticate that you are allowed to - # make API calls. - c.developer_token = 'INSERT_DEVELOPER_TOKEN_HERE' - # Authentication tells the API that you are allowed to make changes to the # specific account you're trying to access. # The default method of authentication is to use a refresh token, client id,