Configure a Client Library for OAuth in the Google Ads API

Once you have the configuration requirements, you are ready to set up a client library to handle Google Ads API calls. Since each client library is configured differently, follow the instructions linked to below for your particular programming language.

Configure client library with OAuth2 credentials

Verify your configuration

You should now be able to make calls to the Google Ads API. We have provided code examples in each client library. Choose a simple example to get up and running quickly, for instance GetCampaigns).

If you encounter issues, please diagnose your OAuth2 credentials with Google Ads Doctor and review the preceding steps. You can also consult the Troubleshooting guide for tips on debugging common issues.

Next steps

If you're building a large or complicated app, proceed to Optimizing Oauth Requests.

Send feedback about...

Google Ads API
Google Ads API
Need help? Visit our support page.