WOW - That's really helpful. Thanks.

It worked. Now I see my trial accounts.

This should be on your "Getting Started" instructions.

The part about the clientEmail header is nowhere to be found (unless I
missed it).



On Jan 6, 11:14 am, AdWords API Advisor <[email protected]>
wrote:
> Hello,
>
>  Here's the full process:
>
> 1. Create a new GMail account (or use an existing GMail account, but
> it's nice to keep things separate)
> 2. Make a getClientAccounts() call to the Sandbox with the following
> headers set:
>   email: address of the GMail account
>   password: password of the GMail account
>   useragent: set to any identifying string
>   developerToken: set to the value for email, with the string '+
> +USD' (or the currency code of your choice) appended
>   applicationToken: ignored, and could be set to anything or left out
>   clientEmail: should be set either to the empty string or left out
> 2a. Making this call is what creates the 5 client accounts in the
> Sandbox's datastore. The accounts are named client_1+[email] through
> client_5+[email].
> 3. For all future Sandbox calls, set the headers as mentioned in step
> 2, with one change: include a clientEmail header with the value set to
> client_n+[email], e.g. '[email protected]'.
>
>  Whenever the Sandbox's datastore is refreshed, the client accounts
> are wiped out and you'd need to start from step 2 to recreate them.
> Sandbox refreshes happen about once a month.
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Jan 5, 6:41 pm, purdue512 <[email protected]> wrote:
>
> > I also found the following posted elsewhere. This doesn't exactly
> > clear it up for me. Will the 5 sub-accounts be emailed to me or is
> > there a call to see them? I can't find any reference to this
> > anywhere..
>
> > Many thanks.
>
> > Patrick Chanezon Aug 17, 2006
>
> > I'm sorry about all the issues you encountered.
>
> > There is one missing warning in the documentation: the client_1 to 5
> > subaccounts are created in the sandbox only after your first
> > successful
> > call.
> > So if you first call contains a clientEmail header it fails.
> > But after you made a successful first call (for example getting the
> > amount
> > of free quota), the accounts have been created and then you can make
> > calls
> > using clientEmail headers.
>
> > I just tried it out and it works fine.
> > I guess the reason it worked last week was that you had made a first
> > call
> > without this header.
> > These accounts are cleaned up from the sandbox regularly.
>
> > P@
>
> > On Jan 5, 6:25 pm, purdue512 <[email protected]> wrote:
>
> > > Your instructions for getting an Adwords account up and running in the
> > > sandbox say:
>
> > > "When you first access a web service in the sandbox, five sandbox
> > > client accounts are automatically created for you. You can work with
> > > these client accounts by setting the clientEmail header
> > > appropriately."
>
> > > I seem to be accessing the sandbox just fine as my request for
> > > accounts comes back with an empty array. When I try to build a
> > > campaign using CampaignService.addCampaign, yoru web service says:
>
> > > faultString: Client managers cannot have campaigns of their own.
>
> > > I'm assuming that I need to be using one of the 5 sandbox client
> > > accounts that are automatically created for me when I first access the
> > > sandbox. Where are those? How do I get to that information?
>
> > > Thx
>
> > > p.s. Someone else said something about getting a sandbox account
> > > "approved". I did not see anything related to that process in your
> > > sandbox instructions. It only says you need to have an active Google
> > > account...
--~--~---------~--~----~------------~-------~--~----~
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