Reporting Metric ConversionValue is returning readable Number Fomats(comma's in between)

2015-06-01 Thread edduenasnordstrom
Hi, we are trying to pull Reports(URL Performance), as per documentation ConversionValue field type is double, so I am trying insert this value directly into Teradata DB, but we are facing NumberFormat Exception. This due to value for ConversionValue is retrieved as 1*,*228.02 instead of

Re: Logging in Java-Ads lib for Report Downloader api

2015-02-24 Thread edduenasnordstrom
Hi Josh, Thanks for the clarification. we have found the issue, issue is that we were having multiple implementations of log4j(1.2 and 2.x), so the log appenders were not getting resolved to any implementation. it worked after I removed one of the log4j version jar. Thanks. On Monday,

Logging in Java-Ads lib for Report Downloader api

2015-02-23 Thread edduenasnordstrom
Hi, we are using java client library(ads-lib-1.36 supported version for v201409) to make api calls to download adwords reports. For debugging purpose we are asked to provide request xml by Google suuport team. I have tried different options of having a log4j jar and making logging mode as

Re: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

2014-12-31 Thread edduenasnordstrom
Hi Josh, we earlier looked at stackoverflow, we are facing this issue when we use axis implementation of google adwords webservice, instead when we use jaxws implementation it is working fine. I am not sure this is the issue with axis implementation (some where I read that axis overwrites

Re: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

2014-12-23 Thread edduenasnordstrom
Hi, We tried setting the properties on the command line by passing JVM arguments, but still we are getting the same ssl exception as below. Exception in thread main AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString:

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

2014-12-16 Thread edduenasnordstrom
Hi, We tried to run the code provided in the following link https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201409/accountmanagement/GetAccountHierarchy.java But we are getting the following error Exception in thread main AxisFault

Re: TokenResponseException while connectiong to Google adwords API using service account

2014-12-15 Thread edduenasnordstrom
Thanks Danial, we tried accessing OAuth for API through Installed Application credentials and it worked, but what is the suggested/best way to make calls from offline java batch jobs to adwords api? we figured that service accounts are best as they won't need any user interaction (server to

TokenResponseException while connectiong to Google adwords API using service account

2014-11-27 Thread edduenasnordstrom
We tried to create a code to obtain Google Adwords API connection using service account but we are getting the following errors. Caused by: *com.google.api.client.auth.oauth2.TokenResponseException*: 400 Bad Request { error : invalid_grant } at