Re: BadAuthentication v200909 Sandbox

2010-06-14 Thread kondalarao yarragunta
> Hi, > > > i treid to run php client library for sandbox like > aw_api_php_lib_2.2.0_src.tar and i am setting the accounts in auth.ini file > like > > email = "x...@gmail.com" > password = "xyz" > userAgent = "xx" > applicationToken = "ignored" > developerToken = "x...@gmail.com++usd" > > >

Re: BadAuthentication v200909 Sandbox

2010-06-10 Thread ramonpoli
It doesn't change nothing in my proyect On Jun 10, 4:25 am, Malks wrote: > I put the ini_set just after the require_once in the examples. > > I don't need the ini_set if I am running the examples from the command > line but do if I'm running the examples from a web page under Apache/ > Drupal.  A

Re: BadAuthentication v200909 Sandbox

2010-06-09 Thread Malks
I put the ini_set just after the require_once in the examples. I don't need the ini_set if I am running the examples from the command line but do if I'm running the examples from a web page under Apache/ Drupal. A bit more investigation found a ini_set('arg_separator.output', '&'); in my Drup

Re: BadAuthentication v200909 Sandbox

2010-06-09 Thread ramonpoli
the only thing that my program changes is ini_set('default_socket_timeout', 480); so, I don't think that's the problem On Jun 9, 5:40 pm, ramonpoli wrote: > where do yo have that ini_set Anthony? > > On Jun 9, 1:35 pm, Anthony M wrote: > > > > > Hi, > > > I was getting a similar error and disco

Re: BadAuthentication v200909 Sandbox

2010-06-09 Thread ramonpoli
where do yo have that ini_set Anthony? On Jun 9, 1:35 pm, Anthony M wrote: > Hi, > > I was getting a similar error and discovered that I needed to do the ini_set > below (it was putting encoded & instead of a simple &) even though my > phpinfo() is saying that my separator is the simple &. > >  

Re: BadAuthentication v200909 Sandbox

2010-06-09 Thread Anthony M
Hi, I was getting a similar error and discovered that I needed to do the ini_set below (it was putting encoded & instead of a simple &) even though my phpinfo() is saying that my separator is the simple &. ini_set('arg_separator.output', '&'); Anthony. On Wed, Jun 9, 2010 at 6:16 PM, domJ wr

Re: BadAuthentication v200909 Sandbox

2010-06-09 Thread domJ
I think so. If you activate the soap, curl and openssl extension it should work. WampServer is very small and I think the problem is that Xampp has an extension (or something like) which doesnt agree with the AdwordsPHPClientLibrary On 9 Jun., 12:10, ramonpoli wrote: > al right so, do you think i

Re: BadAuthentication v200909 Sandbox

2010-06-09 Thread ramonpoli
al right so, do you think if I install WampServer as well iis gonna work? On Jun 9, 9:16 am, domJ wrote: > Hi, > > first I thought the problem is WINDOWS but now I think there is > something wrong with XAMPP. I tried WAMPSERVER and now everything runs > correctly. > > On 8 Jun., 22:45, ramonpoli

Re: BadAuthentication v200909 Sandbox

2010-06-09 Thread domJ
Hi, first I thought the problem is WINDOWS but now I think there is something wrong with XAMPP. I tried WAMPSERVER and now everything runs correctly. On 8 Jun., 22:45, ramonpoli wrote: > I have a similar error and nobody replied to me in my other post, I do > everything as is said in the readme

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread ramonpoli
I have a similar error and nobody replied to me in my other post, I do everything as is said in the readme file but I can't make it work! On Jun 8, 8:49 pm, domJ wrote: > Ok. Now I found out that the problem occur only on localhost with > Xampp. On my debian-server everything is fine. > > But I d

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
Ok. Now I found out that the problem occur only on localhost with Xampp. On my debian-server everything is fine. But I dont know why... On 8 Jun., 21:23, domJ wrote: > ok. I ran it. Here the response: > > Fatal error: Uncaught exception 'AuthTokenException' with message > 'Failed to get authToke

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
ok. I ran it. Here the response: Fatal error: Uncaught exception 'AuthTokenException' with message 'Failed to get authToken. Reason: BadAuthentication' in D:\xampp\htdocs \testprojects\adwords\AdWords\src\Google\Api\Ads\Common\Util \AuthToken.php:88 Stack trace: #0 D:\xampp\htdocs\testprojects\adw

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread ramonpoli
yes but apparently before run that example you have to use this initialization: $path = dirname(__FILE__) . '/AdWords/src'; set_include_path(get_include_path() . PATH_SEPARATOR . $path); require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php'; $user = new AdWordsUser(); // Log SOAP XML requ

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread ramonpoli
did u follow the correct steps of the initialization? On Jun 8, 4:39 pm, domJ wrote: > No, that's the Problem. I always get "BadAuthentication". But the > account-information are definitively correct. > > On 8 Jun., 17:37, ramonpoli wrote: > > > > > and do they work? do you get to add the campai

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
No, that's the Problem. I always get "BadAuthentication". But the account-information are definitively correct. On 8 Jun., 17:37, ramonpoli wrote: > and do they work? do you get to add the campaigns and receive them? > > On Jun 8, 4:24 pm, domJ wrote: > > > > > I use the "GetAllCampaigns" and "A

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread ramonpoli
and do they work? do you get to add the campaigns and receive them? On Jun 8, 4:24 pm, domJ wrote: > I use the "GetAllCampaigns" and "AddCampaign" example to test it. > > On 8 Jun., 17:11, ramonpoli wrote: > > > > > yeah, have u tried with the correct initialization?: > > > $path = dirname(__FIL

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
I use the "GetAllCampaigns" and "AddCampaign" example to test it. On 8 Jun., 17:11, ramonpoli wrote: > yeah, have u tried with the correct initialization?: > > $path = dirname(__FILE__) . '/AdWords/src'; > set_include_path(get_include_path() . PATH_SEPARATOR . $path); > > require_once 'Google/Api

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread ramonpoli
yeah, have u tried with the correct initialization?: $path = dirname(__FILE__) . '/AdWords/src'; set_include_path(get_include_path() . PATH_SEPARATOR . $path); require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php'; $user = new AdWordsUser(); // Log SOAP XML request and response. $us

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread domJ
Yes, I think one plus is correct.I tried both for clientId, one and two plus. The result is "BadAuthentication" anymore. On 8 Jun., 16:09, ramonpoli wrote: > yeah, the same happens to me, I initialize everything like domJ except > the clientId: I only put one + symbol instead of two: > client_1+

Re: BadAuthentication v200909 Sandbox

2010-06-08 Thread ramonpoli
yeah, the same happens to me, I initialize everything like domJ except the clientId: I only put one + symbol instead of two: client_1+myacco...@google.com I do not get the error on the AdWordsUser call but I get it when trying to add a campaign. can somebody help us please On Jun 8, 9:36 am, domJ