The developertoken is invalid , could any body help me ?

3 views
Skip to first unread message

Josndrsn

unread,
Aug 28, 2008, 11:52:19 PM8/28/08
to AdWords API Forum
Hi
I'm using Google Adwords API and I'm using C# to connect to the API.
The problem is that I'm receiving exception: The developertoken is
invalid, despite that I'm sure that this token is the same as the
token that written in my adwords account.

if anyone familiar with this issue please help me.

AdWords API Advisor

unread,
Aug 29, 2008, 11:36:41 AM8/29/08
to AdWords API Forum
Hello,

A common cause of this is that you're using a Production Developer
token when trying to connect to the AdWords API Sandbox environment,
which requires a different set of credentials. Could you check if
you're going against the Sandbox environment in your code? If you're
using one of our code samples, most of them do default to going
against the Sandbox environment for testing purposes.

Cheers,
-Jeff Posnick, AdWords API Team

Josndrsn

unread,
Sep 1, 2008, 10:19:45 PM9/1/08
to AdWords API Forum
Do you mean I should remove the "user.useSandbox(); " line ?



On Aug 29, 11:36 pm, AdWords API Advisor
> > if anyone familiar with this issue please help me.- Hide quoted text -
>
> - Show quoted text -

AdWords API Advisor

unread,
Sep 3, 2008, 11:10:15 AM9/3/08
to AdWords API Forum
Hello,

If you're specifying Production credentials (i.e. a real AdWords
login email and password, and active Developer and Application tokens)
and you want to go against the Production environment then yes, you
should remove the

user.useSandbox()

line from the example code. That will ensure that your requests are
being sent to the Production AdWords API service.

Cheers,
-Jeff Posnick, AdWords API Team


Reply all
Reply to author
Forward
0 new messages