Hi Alexsandro,

Turn on SOAP logging in your web.config, and post the sanitized SOAP logs 
on this thread. I'll take a look at it and help you figure out what went 
wrong. Also, did you inspect the inner exception to see what the error was? 
 The error message is referring to this: 
http://msdn.microsoft.com/en-us/library/system.exception.innerexception(v=vs.71).aspx
 just 
in case you are new to .NET.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, 7 March 2012 00:11:50 UTC+5:30, Alexsandro Moreira wrote:
>
> Can anyone help me?
>
> My application is with the following error: Failed to get campaigns. 
> Exception says "An API exception has occurred. See ApiException and 
> InnerException fields for more details."
>
> Meu webconfig
>
> <!--<add key="ClientEmail" value="INSERT_YOUR_CLIENT_EMAIL_HERE"/>-->
> <add key="DeveloperToken" value="j...@....com.br++BRL"/>
> <!-- Uncomment this key and comment ClientEmail if you want to specify
>          customer id instead of customer email. -->
> <add key="ClientCustomerId" value="746225XXXX"/> 
> <!-- Application token is now optional and will be ignored by the 
> server.-->
> <!-- <add key="ApplicationToken"
>              value="INSERT_YOUR_APPLICATION_TOKEN_HERE"/> -->
> <!-- Set the Authorization method to be used with the client library. -->
> <!-- To use ClientLogin as authentication mechanism, uncomment the 
> following
>          section and comment the OAuth section below. -->
>     <add key="AuthorizationMethod" value="ClientLogin" />
>     <add key="Email" value="j...@...com.br"/>
>     <add key="Password" value="123...."/>
>     
> <!-- Optional: uncomment this if you want to reuse an authToken multiple
>          times. -->
> <!-- <add key="AuthToken" value="INSERT_YOUR_AUTH_TOKEN_HERE"/> -->
> <!-- To use OAuth as authentication mechanism, uncomment the following
>          section and comment the AuthToken section above. -->
> <!-- Note: For testing purposes, you can use the OAuth consumer key/secret
>          as anonymous/anonymous.-->
> <add key="AuthorizationMethod" value="OAuth"/>
> <add key="OAuthConsumerKey" value="anonymous"/>
> <add key="OAuthConsumerSecret" value="anonymous"/> 
> <!-- Uncomment this key if you want to use v13 sandbox. -->
> <add key="LegacyAdWordsApi.Server" value="https://sandbox.google.com"/> 
> <!-- Uncomment this key if you want to use AdWords API sandbox. -->
> <add key="AdWordsApi.Server" value="https://adwords-sandbox.google.com"/> 
>
>
>
>
> My AdWordsAppConfig:
>
>       authToken = "";
>       email = "lu...@.....com.br";
>       password = "123...";
>       clientEmail = "";
>       clientCustomerId = "746225XXXX";
>       developerToken = "j...@....com.br++BRL";
>       applicationToken = "";
>       userAgent = "";
>       enableGzipCompression = true;
>       shortNameField = "AwApi-DotNet";
>       legacyAdWordsApiServer = "https://sandbox.google.com";;
>       adWordsApiServer = "https://adwords-sandbox.google.com";;
>       oAuthConsumerKey = "anonymous";
>       oAuthConsumerSecret = "anonymous";
>       authorizationMethod = DEFAULT_AUTHORIZATION_METHOD;
>
>
> Help !!!
>
>
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to