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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eAll Google Ads API calls require authorization through OAuth2, safeguarding user login information.\u003c/p\u003e\n"],["\u003cp\u003eAuthorizing requests involves configuring a Cloud project and a client library for OAuth in the Google Ads API.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize service accounts, delve into OAuth2 internals, and employ the OAuth Playground for advanced functionalities.\u003c/p\u003e\n"]]],[],null,["# OAuth2 in the Google Ads API\n\nondemand_video\n[Video: Check out the OAuth2 talk from the 2019 workshop](https://www.youtube.com/watch?v=2GWx6jI7Ib4&list=None&start=124)\n\nAll Google Ads API calls must be authorized through [OAuth2](http://oauth.net/2/).\nOAuth2 enables your Google Ads API client app to access a user's Google Ads account\nwithout having to handle or store the user's login info.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThe following steps must be completed to authorize requests to the Google Ads API.\n\n1. [Configure a Cloud project for the Google Ads API](/google-ads/api/docs/oauth/cloud-project)\n\n2. [Configure a client library for OAuth in the Google Ads API](/google-ads/api/docs/oauth/client-library)\n\nSupporting materials are also available for related topics.\n\n- [Using Service Accounts](/google-ads/api/docs/oauth/service-accounts).\n\n- Getting familiar with [OAuth2 internals for the Google Ads API](/google-ads/api/docs/oauth/internals).\n\n- Using the [OAuth Playground](/google-ads/api/docs/oauth/playground) to generate refresh\n and access tokens."]]