Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
OAuth2 in the Google Ads API
ondemand_video
Video: Check out the OAuth2 talk from the 2019 workshop
All Google Ads API calls must be authorized through OAuth2.
OAuth2 enables your Google Ads API client app to access a user's Google Ads account
without having to handle or store the user's login info.
The following steps must be completed to authorize requests to the Google Ads API.
Configure a Cloud project for the Google Ads API
Configure a client library for OAuth in the Google Ads API
Supporting materials are also available for related topics.
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."],[[["All Google Ads API calls require authorization through OAuth2, safeguarding user login information."],["Authorizing requests involves configuring a Cloud project and a client library for OAuth in the Google Ads API."],["Developers can utilize service accounts, delve into OAuth2 internals, and employ the OAuth Playground for advanced functionalities."]]],[]]