jerry_sjtu
jerry_sjtu

Reputation: 5456

Where can I find some examples about google adwords?

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?

Upvotes: 1

Views: 953

Answers (1)

kwinter
kwinter

Reputation: 26

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.

Upvotes: 1

Related Questions