Page Summary
-
Creating and configuring a Google API Console project for Google Ads API access depends on your chosen OAuth 2.0 authorization scenario (service accounts or user authentication).
-
A Google API Console project is necessary to create OAuth 2.0 credentials and enable the Google Ads API, which are needed to generate tokens for API calls.
-
While a single developer token can be used across multiple projects, each project can only use one developer token.
-
To set up for Google Ads API use, you need to select or create a Google API Console project and enable the Google Ads API within it.
-
For service account authorization, you must create a service account and download its key in JSON format.
How you create and configure a Google API Console project depends on your application's OAuth 2.0 authorization scenario. Select an authorization scenario to customize this guide.
You need a Google API Console project for creating OAuth 2.0 credentials and enabling the Google Ads API for your app.
These credentials authenticate and authorize your app or Google Ads users on Google servers and let you generate OAuth tokens to be used in calls to the API.
Select or create a Google API Console project
To set up a new project, follow the guide to create a Google API Console project. Enabling billing for your project is optional. If you have billing enabled, select a billing account for the new project. There is no charge for using the Google Ads API, though Cloud projects are subject to standard project quota limits.
Enable the Google Ads API in your project
To enable the Google Ads API in your project, follow these steps:
Open the API Library in the Google API Console. If prompted, select your project or create a new one. The API Library lists all available APIs, grouped by product family and popularity.
Use search to find the Google Ads API if it isn't visible in the list.
Select the Google Ads API, then click the Enable button.
Apply for API access
Next, visit the Google Ads API Overview page to check your current API access level. If your current API access level is Test, then expand the Upgrade access level section. Follow the instructions to apply for Explorer access level.
Once you complete your application, Google automatically reviews your application and upgrades it to Explorer access in most cases.
Create a service account and key
Create credentials for the service account. Download the service account key in JSON format and note the service account ID and email.