Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions google_ads_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading