Monday, September 23, 2013

Reminder: Old Java library for AdWords and DFP APIs is now deprecated

As previously announced, the old Java library for AdWords and DFP APIs have now been deprecated and support for new API releases won’t be added after the end of 2013.

We’d like to remind you of some important features you will benefit from by migrating to the new Java library.

OAuth2 support
The new Java library supports OAuth2, which is the recommended authentication mechanism at Google. As we mentioned in our previous post, there are many benefits to using OAuth2 and ClientLogin will be eventually sunset.

Maven support
The new Java library is hosted on Maven, which manages jar dependencies through its pom.xml instead of managing a lot of jars manually.
<dependency>
  <groupId>com.google.api-ads</groupId>
  <artifactId>ads-lib</artifactId>
  <version>RELEASE</version>
</dependency>
<dependency>
  <groupId>com.google.api-ads</groupId>
  <artifactId>adwords-axis</artifactId>
  <version>RELEASE</version>
</dependency>
Note: See this pom.xml for AdWords or this pom.xml for DFP for a complete example.

You can check out the QuickStart guide including how you can get started with OAuth2 and Maven with the new Java library and MigrationGuide on how you can migrate from the old library.

If you find any bugs or feature requests, feel free to file an issue on our issue tracker.
As always, please feel free to ask any questions on the AdWords API forum or DFP API forum or our Google+ page.