Google Ads API is returning to beta status. Please read our blog post for more details.

Google Ads API Client Library for Java

The client library for Java is hosted on GitHub.

Features

  • Distributed via Maven.
  • Easy management of credentials.
  • Easy creation of Google Ads API service clients.

Requirements

  • Java 1.8+
  • Maven 3.0+

Maven artifacts

<dependency>
  <groupId>com.google.api-ads</groupId>
  <artifactId>google-ads</artifactId>
  <version>3.0.0</version>
</dependency>

Guides

Getting Started
Setup instructions for the library.
Basic usage
Basic design patterns and usage of this library.
OAuth Installed Application Flow
How to get OAuth2 refresh tokens for installed apps.
OAuth Web Application Flow
How to get OAuth2 refresh tokens for web apps.
Logging
Setup instructions for logging.
Field Masks
How to use field masks in update operations.
Resource Names
Form and usage of resource names in the API.

Send feedback about...

Google Ads API Beta
Google Ads API Beta
Need help? Visit our support page.