2 messages in com.googlegroups.adwords-apiRe: C# - Basics with Adwords API
FromSent OnAttachments
Web Monster14 Nov 2007 08:30 
AdWords API Advisor14 Nov 2007 12:11 
Subject:Re: C# - Basics with Adwords API
From:AdWords API Advisor (adwo@google.com)
Date:11/14/2007 12:11:30 PM
List:com.googlegroups.adwords-api

Hello,

There are two different environments for the AdWords API service-the Sandbox environment (used for experimenting with the API), and the production environment.

Anyone with a Google account can log in to the Sandbox environment and try out the API. When logging in to the Sandbox environment, you must pass in your email address followed by '++' and a currency code instead of a real Developer token. This is likely what you've seen in some sample code. More information about logging in to the Sandbox environment can be found at

http://www.google.com/apis/adwords/developer/adwords_api_sandbox.html

To log into the production environment, you must apply for Developer and Application tokens, and use those specific tokens in the SOAP headers. Please note that it can take several weeks to have your application for tokens fully reviewed, and until they are approved they cannot be used to log in to the production environment. You should receive an automated email once your tokens are approved letting you know that you can start using them.

Cheers, -Jeff Posnick, AdWords API Team

On Nov 14, 8:30 am, Web Monster <m.@webmonsters.biz> wrote:

Hey all, I'm trying to use the C# classes for adwords API. I've downloaded the code from the SVN, tried to change the app.config with my details, but I get all the time the following error: "Exception: The developer token is invalid."

I've also seen that many of the examples put ++USD in the end of the developer token field. I tried to send: <my-token>++USD as the developer key, and then I get the following error: "Exception: Login with this username/password failed."

Can someone direct me how to start using the C# classes with my account? When am I doing wrong?

Thanks alot!