Re: login the sandbox with the php client

2011-03-15 Thread AdWords API Advisor
Hi Peter, Also, is the library picking up auth.ini? I think the library would load defaults if it cannot find auth.ini and go ahead, so I'd check if the username and password are right on the line where the call fails. Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=

Re: login the sandbox with the php client

2011-03-15 Thread AdWords API Advisor
Hi Peter, What error are you seeing? An error thrown by AuthToken class means there is something wrong with your email/password. At that stage, you haven't got as far as making an API call. You are still generating an authToken to be used with AdWords API later. Cheers, Anash P. Oommen, AdWord

Re: login the sandbox with the php client

2011-03-14 Thread Peter
Hello Anash, thanks for your answer; when trying to connect, then $ch = curl_init($postUrl) in authtoken.php throws an error. my settings.ini ... [SERVER] DEFAULT_VERSION = "v201008" DEFAULT_SERVER = "https://adwords-sandbox.google.com/api/adwords/cm/ v201008/CampaignService" my auth.ini emai

Re: login the sandbox with the php client

2011-03-11 Thread AdWords API Advisor
Hi Peter, You could alternately call CampaignService.get(). http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201008/GetAllCampaigns.php should do the trick. Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also fin

login the sandbox with the php client

2011-03-09 Thread Peter
Hello AdWords users I am new to the AdWords API and I am trying to connect to the sandbox service via php client. To get up to 5 client_emails this forum says "Make a call to v13 AccountService.getClientAccounts", e.g.: $client_accounts = $account_service->call('getClientAccounts'); Can you post