Hi there,
 
We are in the process of supporting the latest Adwords API version. In doing 
so, we replaced our client lib (downloaded source code which supports the 
v200909 api) with the binary of Google.AdWords.dll v12.2.0.0.
 
This broke a lot of things we should be able to fix.
However, our implementation of instantiating an AdWordsUser class throws an 
exception which we don't know how to solve.
 
We use this code:
 
// Init header
Dictionary<string, string> headers = new Dictionary<string, string>();
headers.Add("useragent", xxxx);
headers.Add("developerToken", xxxx); 
headers.Add("applicationToken", xxxx); 
headers.Add("email", xxxx);
headers.Add("password", xxxx);
headers.Add("clientCustomerId", xxxx);
// Create the user
AdWordsUser adWordsUser = new AdWordsUser(headers);
 
The last line throws this exception: 
Message: "AuthToken login failed. See ErrorCode for more details."
Errorcode: Google.Api.Ads.Common.Lib.AuthTokenErrorCode.BadAuthentication
InnerException: {"The remote server returned an error: (403) Forbidden."}
 
When we use this code with the deprecated Google.AdWords.dll v11.3.0 
assembly, this exception is not thrown an we are able to use the AdWordsUser 
instance to access the API's services.
 
Can anyone shed some light on this?
 
We need to remove our dependencies to V13 ReportingServices. So we could use 
this v11.3.0 client lib. But the follwing page seems to tell me that this 
will be sunset soon aswell: 
http://adwordsapi.blogspot.com/2011/05/update-on-adwords-api-v201101-sunset.html
.

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