Stay organized with collections Save and categorize content based on your preferences.
Download the following tools to complete the remaining steps of this tutorial.
The Google Cloud CLI
The Google Ads API uses OAuth 2.0 as the authorization mechanism. This tutorial uses the Google Cloud CLI as a way to perform various OAuth 2.0 authorization steps. Follow the instructions to install gcloud CLI.
The instructions for the rest of this guide were verified to work with the following version of the gcloud tool and might not work with previous versions due to differences in application behavior or command-line options.
[[["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-06-04 UTC."],[[["This guide requires downloading and installing `oauth2l` or `gcloud CLI` for authorization using OAuth 2.0 to obtain access and refresh tokens."],["Ensure your `oauth2l` version is v1.3.0 and `gcloud CLI` version is 492.0.0 for compatibility with the instructions."],["You will need to utilize either a Google Ads API client library or an HTTP client like `curl` to interact with the API."]]],[]]