Hi,

The clientId for a production account doesn't work in sandbox and vice 
versa. To use the sandbox, you need to

- Comment out clientId and run GetCampaigns code example. This initializes 
the sandbox and creates 5 test accounts.
- Comment out clientId and run GetAccountHierarchy code example. This will 
give you the clientIds for the 5 accounts you created in (1).
- Use one of these clientIds in your adwords.properties files to make calls 
to rest of the services.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, 20 June 2012 04:11:06 UTC+5:30, nachomac wrote:
>
> Hello,
> I'm going crazy trying to get a sandbox AdWordsUser in Java. This is my 
> adwords.properties:
> [email protected]
> password=mypassword
> clientId=9xx-xxx-xxx
> userAgent=Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)
> [email protected]++USD
> alternateUrl=https://adwords-sandbox.google.com
>
> What am I doing wrong? What email should I use? Does it have to be an 
> adwords account? Please clarify.
> Thanks a lot
>
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to