My problem was this dependency file <dependency> <groupId>com.google.http-client</groupId> <artifactId>google-http-client-jackson2</artifactId> <version>1.11.0-beta</version> </dependency>
Now everything works. :) 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.