I'm using the php library provided and just trying to run one of the
example scripts without any modifications (beyond setting the paths,
sandbox url and auth details)

It runs for about 2 minutes and then gives this output:

AuthTokenException Object
(
    [error:private] => Empty reply from server
    [url:private] =>
    [captchaToken:private] =>
    [captchaUrl:private] =>
    [message:protected] => Failed to get authToken. Reason: Empty
reply from server
    [string:private] =>
    [code:protected] => 0
    [file:protected] => /home/azuracco/public_html/beta/adwords_api/
Common/Util/AuthToken.php
    [line:protected] => 137
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/azuracco/public_html/beta/
adwords_api/Common/Util/AuthToken.php
                    [line] => 79
                    [function] => Login
                    [class] => AuthToken
                    [type] => ->

                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => /home/azuracco/public_html/beta/
adwords_api/AdWords/Lib/AdWordsUser.php
                    [line] => 503
                    [function] => GetAuthToken
                    [class] => AuthToken
                    [type] => ->

                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /home/azuracco/public_html/beta/
adwords_api/AdWords/Lib/AdWordsUser.php
                    [line] => 141
                    [function] => RegenerateAuthToken
                    [class] => AdWordsUser
                    [type] => ->

                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /home/azuracco/public_html/beta/hazel/
adwords_test.php
                    [line] => 47
                    [function] => __construct
                    [class] => AdWordsUser
                    [type] => ->

                    [args] => Array
                        (
                        )

                )

        )

)

If I comment out the postvars stuff from the curl request I get a
response back instantly saying 'Bad Authentication'

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to