Download tools and client libraries

Download the following tools to complete the remaining steps of this tutorial.


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.

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.

Use a client library

Download and install a client library of your choice.

Use HTTP client (REST)

Download and install curl, the command line tool for transferring data through a URL.