v2009 Sandbox getAuthToken

9 views
Skip to first unread message

Ursula

unread,
Nov 11, 2009, 1:59:41 PM11/11/09
to AdWords API Forum
Hi,

I'm using using the java client api and when trying to get the
campaignService and I'm getting an error. I've traced it into the
AuthToken.getAuthToken method. I'm logging in with one of my sandbox
users. When the postToClientLogin method is called it's throwing and
exception. I can see in the postMethod object the value of the
statusLine property is HTTP/1.1 403 Forbidden. The exception error
is : Could not get ClientLogin token for user.

In v13 this sandbox user's password was null. I tried changing it to
"password" to see if that would make a difference. I also tried
setting it to the same thing as the mcc user's password. I'm not
sure what these user's passwords are supposed to be. How do I find
this info.

Thanks,
Ursula Kellmann

AdWords API Advisor

unread,
Nov 11, 2009, 3:22:04 PM11/11/09
to AdWords API Forum
Hi Ursula,

The email address and password you use when logging into the sandbox
must be the actual values for a Google account. If you are new to the
sandbox I would recommend watching this video first:
http://www.youtube.com/watch?v=cqVtUdB975M.

Best,
- Eric Koleda, AdWords API Team

A...@taygata.com

unread,
Nov 24, 2009, 2:17:20 AM11/24/09
to AdWords API Forum
hi ,


I run the demo"AddCampaignDemo" in adwords-api-6.0.0/examples/
v200909 ,
the adwords.properties:
# clientId and useSandbox are optional and may be commented out.
email=A...@taygata.com
password=****
useragent=****
developerToken=A...@taygata.com++CNY
useSandbox=true

but the result is {http://xml.apache.org/axis/}
stackTrace:java.net.SocketException: Connection reset.

anything wrong in my configuration ? or
is sandbox valid for v200909 api?
if valid , would you tell me the URL

I found V12 sandbox's URL" https://sandbox.google.com/api/adwords/v12/XXXService?wsdl
" is valid ,and
V13 is valid too;
but https://sandbox.google.com/api/adwords/v200909/XXXService?wsdl no
found !



AdWords API Advisor

unread,
Nov 24, 2009, 3:28:20 PM11/24/09
to AdWords API Forum, A...@taygata.com
Hi,

The domain for the v2009 sandbox is "adwords-sandbox.google.com" so
the URL for the CampaignService would be:

https://adwords-sandbox.google.com/api/adwords/cm/v200909/CampaignService?wsdl

Best,
- Eric

A...@taygata.com

unread,
Nov 25, 2009, 12:24:07 AM11/25/09
to AdWords API Forum
thank you very much

On Nov 25, 4:28 am, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hi,
>
> The domain for the v2009 sandbox is "adwords-sandbox.google.com" so
> the URL for the CampaignService would be:
>
>  https://adwords-sandbox.google.com/api/adwords/cm/v200909/CampaignSer...
>
> Best,
> - Eric
>
> On Nov 24, 2:17 am, "huruxing...@sina.com" <A...@taygata.com> wrote:
>
> > hi ,
>
> > I  run the demo"AddCampaignDemo" in adwords-api-6.0.0/examples/
> > v200909 ,
> > the adwords.properties:
> > # clientId and useSandbox are optional and may be commented out.
> > email=...@taygata.com
> > password=****
> > useragent=****
> > developerToken=...@taygata.com++CNY
Reply all
Reply to author
Forward
0 new messages