Stay organized with collections
Save and categorize content based on your preferences.
Download the following tools to complete the remaining steps of this
tutorial.
oauth2l
The Google Ads API uses OAuth 2.0 as the authorization mechanism. This tutorial uses
oauth2l, a command-line tool for working with Google OAuth 2.0 to fetch and
print the access and refresh tokens. You can download and install the
pre-compiled binaries from
the GitHub repository.
The instructions for the rest of this guide were verified to work with version
v1.3.0 of the oauth2l tool and might not work with previous versions due to
differences in application behavior or command line options.
Client library or HTTP client
You can choose to either download a client library or an HTTP client depending
on how you'd like to make API calls.