replace myclient.com with a proper GMAIL account if you don't have one go to gmail and sign up for one. sandbox requires this.
On Fri, Oct 31, 2008 at 3:07 PM, Archi <[EMAIL PROTECTED]> wrote: > > OK, thanks, this is likely to be the issue. The sample code uses the > sandbox. After reviewing the guidelines I changed the AdWords login > information. Now the sample script returns: > > Fault: 1 Code: soapenv:Server.userException String: Login with this > username/password failed. Detail: > > Here is the block of code I'm using that sets the login info: > > $email = '[EMAIL PROTECTED]'; // My Client Center login email > $password = 'xxx'; // My Client Center login password > $client_email = '[EMAIL PROTECTED]<[EMAIL PROTECTED]>'; > // the login email of > one of the clients being managed in My Client Center > $useragent = 'AdWords API PHP Sample Code'; > $developer_token = 'mydevtoken++USD'; > $application_token = 'myapptoken'; > > On Oct 31, 10:32 am, "Jeff Watson" <[EMAIL PROTECTED]> wrote: > > On Fri, Oct 31, 2008 at 10:32 AM, Jeff Watson <[EMAIL PROTECTED]> > wrote: > > > Are you working on the sandbox or on real adwords accounts? check this > page > > > outhttp://code.google.com/apis/adwords/docs/developer/index.htmland be > > > sure to read the sandbox section and proper SOAP headers for the > sandbox / > > > live accounts. > > > > > On Fri, Oct 31, 2008 at 10:28 AM, Archi <[EMAIL PROTECTED]> > wrote: > > > > >> Thanks, this seems to have worked. However, the sample script now > > >> returns: > > > > >> Fault: 1 Code: soapenv:Server.userException String: The developer > > >> token is invalid. Detail: > > > > >> I re-checked the token and copy/pasted it from My Client Center, but > > >> the result is the same. > > > > >> On Oct 31, 10:11 am, "Jeff Watson" <[EMAIL PROTECTED]> wrote: > > >> > I downloaded NuSoap, it doesn't need to be built or included as a > module > > >> or > > >> > anything. if you have ftp access to the server you should be able to > > >> > download nusoap yourself and put it in the root of your project > source > > >> > directory and reference it from there- > > > > >> > -Jeff > > > > >> > On Fri, Oct 31, 2008 at 10:04 AM, Archi <[EMAIL PROTECTED]> > wrote: > > > > >> > > Yes, this is their reply: > > > > >> > > Hi; > > > > >> > > The soap module is compiled with the php and apache. You can see > this > > >> > > below for the verification. Soap is not a binary that needs to be > > >> > > installed separately on the server it is just a module. > > > > >> > > hostname > > >> > > myserver.xxxx.com > > >> > > [EMAIL PROTECTED] [/home]# php -m > > >> > > [PHP Modules] > > >> > > bcmath > > >> > > calendar > > >> > > ctype > > >> > > curl > > >> > > date > > >> > > dba > > >> > > dbase > > >> > > dom > > >> > > exif > > >> > > filter > > >> > > ftp > > >> > > gd > > >> > > gettext > > >> > > hash > > >> > > iconv > > >> > > imap > > >> > > ionCube Loader > > >> > > json > > >> > > libxml > > >> > > mbstring > > >> > > mcrypt > > >> > > mhash > > >> > > mime_magic > > >> > > mysql > > >> > > mysqli > > >> > > openssl > > >> > > pcre > > >> > > pdf > > >> > > PDO > > >> > > pdo_mysql > > >> > > pdo_sqlite > > >> > > posix > > >> > > pspell > > >> > > Reflection > > >> > > session > > >> > > SimpleXML > > >> > > soap > > >> > > sockets > > >> > > SPL > > >> > > SQLite > > >> > > standard > > >> > > tidy > > > > >> > > Feel free to contact us if you need further assistance. > > > > >> > > Given this, is the API sample code functional? > > > > >> > > On Oct 31, 9:33 am, "Jeff Watson" <[EMAIL PROTECTED]> wrote: > > >> > > > I would go over this error with the ISP. It is likely that they > have > > >> some > > >> > > > soap services available, but they don't specifically have nusoap > for > > >> php > > >> > > > installed. > > > > >> > > > --Jeff > > > > >> > > > On Fri, Oct 31, 2008 at 9:29 AM, Archi <[EMAIL PROTECTED]> > > >> wrote: > > > > >> > > > > Hi, > > > > >> > > > > I added my AdWords login information to the sample found at: > > > > >>http://code.google.com/p/adwords-api-php-samples/source/browse/trunk/. > > >> > > .. > > >> > > > > and ran it, which produced the following output: > > > > >> > > > > Warning: require_once(/usr/lib/php/nusoap.php) > [function.require- > > >> > > > > once]: failed to open stream: No such file or directory in > /home/ > > >> > > > > myacct/public_html/mysite/includes/soapclientfactory.php on > line > > >> 25 > > > > >> > > > > Fatal error: require_once() [function.require]: Failed opening > > >> > > > > required '/usr/lib/php/nusoap.php' > > >> (include_path='.:/usr/lib/php:/usr/ > > >> > > > > local/lib/php') in /home/myacct/public_html/mysite/includes/ > > >> > > > > soapclientfactory.php on line 25 > > > > >> > > > > I then contacted my host provider to verify that NuSOAP is > > >> installed. > > >> > > > > They replied: > > > > >> > > > > 'Soap is installed on the server and can be used server wide > by > > >> all > > >> > > > > the users.' > > > > >> > > > > How do I correct this? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---