Confirmed also by me. I have the exact same problem. Now I will try only 
with OAuth 2.0.

On Wednesday, October 31, 2012 9:14:01 PM UTC+1, Perry wrote:
>
> I have searched for answers to the this question all over the 
> documentation and web and was unable to find anything helpful. I am using 
> the Adwords API and migrating to version V201209, using the Java libraries.
>
> When I setup an AdWordsSession like so:
>
> String clientLoginToken = new 
> ClientLoginTokens.Builder().forApi(ClientLoginTokens.Api.ADWORDS).withEmailAndPassword(sEmail,
>  
> sPassword).build().requestToken()
> AdWordsSession session = new 
> AdWordsSession.Builder().withClientCustomerId(sClientId).withUserAgent("Custom").withClientLoginToken(clientLoginToken).withDeveloperToken(sDevToken).withEnvironment(AdWordsSession.Environment.PRODUCTION).build()
>
>
> And then try to access my account like so:
> InfoServiceInterface infoServiceInterface = new 
> AdWordsServices().get(session, InfoServiceInterface.class)
>
> I get a list of nasty errors with no explanation, including:
> com.google.api.ads.common.lib.exception.ServiceException: Unexpected 
> Exception.
> ...
> Caused by: java.lang.reflect.InvocationTargetException
> ...
> Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for 
> javax.xml.parsers.DocumentBuilderFactory cannot be found
>
>
> According to the documentation this should be possible, so I am not sure 
> why it continues to error against me. I have even tried filling in a 
> properties file and using the identical calls as in 
> https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201209/accountmanagement/GetClientCustomerId.javabut
>  it still refuses to work. Any help at all would be appreciated.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en



Reply via email to