Now I am working on a project about google adwords. I try to follow the steps on the tutorial page. I have add the dependencies
<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>
into the pox.xml file and these client libraries are found in the .m2 repository. But when I try the code such as:
AdWordsUser user = new AdWordsUser();
class AdWordsUser cannot be found. Why does this happen since I have followed the guild?
You’re using the new java library, for which the tutorial page doesn’t cover.
The wiki page has more detail, but basically you’ll be constructing an AdWordsSession via a builder.