Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
Configure a Client Library for OAuth in the Google Ads API
After you've obtained the configuration
requirements, you're ready to set up a
client library to handle Google Ads API calls. Since each client library is configured
differently, follow the linked instructions for your particular programming
language.
Verify your configuration
When you've completed setting up OAuth, make a call to the Google Ads API using one of
the provided code examples in the client library. Choose a simple example, like
GetCampaigns
, to verify your setup.
If you encounter issues, consult the troubleshooting
guide for tips on debugging common
issues.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
[null,null,["Last updated 2025-01-28 UTC."],[[["This page provides instructions for setting up a client library to interact with the Google Ads API after completing configuration requirements."],["Client library setup varies depending on the programming language, with links provided for Java, .NET, PHP, Python, Ruby, and Perl."],["Users should verify their setup by making a simple API call, such as GetCampaigns, and refer to the troubleshooting guide if any issues arise."]]],[]]