--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
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 = "xxxxxx"
applicationToken = "ignored"
developerToken = "x...@gmail.com++USD"
; Uncomment to make requests against a client account.
clientId = "client...@gmail.com"
and settings.ini file like and after this i tried to run the aw_api_php\examples\v200909\GetAllCampaigns.php at command prompt
i got the error like
AuthTokenException Object ( [error:AuthTokenException:private] => BadAuthentication [url:AuthTokenException:private] => [captchaToken:AuthTokenException:private] => [captchaUrl:AuthTokenException:private] => [message:protected] => Failed to get authToken. Reason: BadAuthentication [string:Exception:private] => [code:protected] => 0 [file:protected] => D:\xampp\htdocs\aw_api_php\src\Google\Api\Ads\Common\Util\AuthToken.php [line:protected] => 88 [trace:Exception:private] => Array ( [0] => Array ( [file] => D:\xampp\htdocs\aw_api_php\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php [line] => 503 [function] => GetAuthToken [class] => AuthToken [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => D:\xampp\htdocs\aw_api_php\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php [line] => 141 [function] => RegenerateAuthToken [class] => AdWordsUser [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => D:\xampp\htdocs\aw_api_php\examples\v200909\GetAllCampaigns.php [line] => 46 [function] => __construct [class] => AdWordsUser [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] => )
I am using xampp 1.7.2 for php,apache,windows.
please provide help,i wasted so many days to resolve this type of error.
Thanks and Regards,
Y.Kondalarao.