Hi Laid, You need to enter the username and password for an AdWords account into the $username and $password variables of the script; I've updated it to throw a more relevant error if you don't.
The sandbox does require a developer token, username, password, and customer id for the account you want to access; however, you don't need an approved token or real AdWords account to use it: The username and password can be for any Google account (Gmail, YouTube etc), and the developer token is just the account username with a currency code appended to it (for example, "[email protected]++USD"). You also need to make a call to one of the API services in order to initialize the sandbox for your account and obtain a list of dummy customer ids; there's an example script that does that here<https://www.ewanheming.com/2011/12/ppc-software-development/adwords-api/using-the-adwords-api-sandbox> . Regards, Ewan -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
