I'm using this Maven Dependency File Configuration <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <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> <dependency> <groupId>com.google.http-client</groupId> <artifactId>google-http-client-jackson2</artifactId> <version>1.11.0-beta</version> </dependency> <dependency> <groupId>com.google.api-ads</groupId> <artifactId>dfa-axis</artifactId> <version>RELEASE</version> </dependency> <dependency> <groupId>com.google.api-ads</groupId> <artifactId>dfp-axis</artifactId> <version>RELEASE</version> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.6</version> </dependency> <!-- Adds the log4j framework --> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.16</version> </dependency> <!-- Make SLF4J use log4j as the logging framework --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.6.2</version> </dependency> </dependencies>
Em terça-feira, 7 de maio de 2013 11h20min59s UTC-3, Paulo Fernandes escreveu: > > Hi > > I'm receiving this message when I tryed do download the Adhoc Report. > > Exception in thread "main" java.lang.NoSuchMethodError: >>> com.google.api.client.http.HttpHeaders.setAuthorization(Ljava/lang/String;)Lcom/google/api/client/http/HttpHeaders; >> >> at >>> com.google.api.ads.adwords.lib.utils.ReportRequestFactoryHelper.createHeaders(ReportRequestFactoryHelper.java:123) >> >> at >>> com.google.api.ads.adwords.lib.utils.ReportRequestFactoryHelper.getHttpRequestFactory(ReportRequestFactoryHelper.java:103) >> >> at >>> com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelper.downloadReport(AdHocReportDownloadHelper.java:98) >> >> at >>> com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelper.downloadReport(AdHocReportDownloadHelper.java:68) >> >> at >>> com.google.api.ads.adwords.lib.utils.v201302.ReportDownloader.downloadReport(ReportDownloader.java:93) >> >> > My code is here https://gist.github.com/paulofernandesjr/5532908 > > Thanks > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.