Hello,

 If that is actually the headers that you're using then your issue is
likely caused by the mismatch between the email address and the
developerToken: your email is "t...@yaho.com" (note the yaho.com) and
your developerToken is "t...@yahoo.com++usd". I'm assuming you don't
actually have the t...@yahoo.com email address, but do double check to
make sure that you have the correct domain listed in both your email
and developerToken.

Cheers,
-Jeff Posnick, AdWords API Team


On Apr 16, 11:50 pm, lucky <lakshmi.ya...@yahoo.com> wrote:
> I am trying to use sandbox for google adwords api in c#  version v13
> This is the first time i am using sandbox
>
> this is config file  i am using
>
> <adwordsHeaders>
>     <add key="email" value="t...@yaho.com"/>
>     <add key="password" value="xxx"/>
>     <add key="useragent" value="aaa"/>
>     <add key="developerToken" value="t...@yahoo.com++usd"/>
>
>     <!-- Use alternateUrl to make calls against Sandbox (optional) -->
>     <add key="alternateUrl" value="https://sandbox.google.com/"/>
>       </adwordsHeaders>
>
> This is the  c# code i am using
>
> Hashtable headers = (Hashtable)
> System.Configuration.ConfigurationManager.GetSection
> ("adwordsHeaders");
>
>         AccountService service = new AccountService();
>         email h1=new email();
>          h1.Text = new string[] { headers["email"].ToString() };
>
>         password h2 = new password();
>         h2.Text = new string[] { headers["password"].ToString() };
>
>         useragent h3 = new useragent();
>         h3.Text = new string[] { headers["useragent"].ToString() };
>
>         developerToken h4 = new developerToken();
>         h4.Text = new string[] { headers["developerToken"].ToString
> () };
>
>         service.emailValue = h1;
>         service.passwordValue = h2;
>         service.useragentValue = h3;
>         service.developerTokenValue = h4;
>
>             String[] loginEmails = service.getClientAccounts();
>
> I am getting an error saying "Developer Token is invalid"
--~--~---------~--~----~------------~-------~--~----~
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