when i am generation token its not showing token

14 views
Skip to first unread message

Dinesh Kumawat

unread,
Nov 19, 2019, 2:37:44 AM11/19/19
to AdWords API and Google Ads API Forum


hello guys,

 please help regarding to generation refresh token...i just added client id and secret code but when i am generation refresh token its showing this above error


[19-Nov-2019 07:12:47 UTC] PHP Fatal error:  Namespace declaration statement has to be the very first statement in the script in /home/marketpl/catalogue.bajaao.org/adwords-dk/lib/examples/Auth/GetRefreshToken.php on line 20
[19-Nov-2019 07:12:51 UTC] PHP Fatal error:  Namespace declaration statement has to be the very first statement in the script in /home/marketpl/catalogue.bajaao.org/adwords-dk/lib/examples/Auth/GetRefreshToken.php on line 20
[19-Nov-2019 07:13:48 UTC] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/marketpl/catalogue.bajaao.org/adwords-dk/lib/examples/Auth/GetRefreshToken.php on line 87
[19-Nov-2019 07:29:04 UTC] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/marketpl/catalogue.bajaao.org/adwords-dk/lib/examples/Auth/GetRefreshToken.php on line 88




Screenshot from 2019-11-19 12-58-33.png

Google Ads API Forum Advisor Prod

unread,
Nov 19, 2019, 1:42:24 PM11/19/19
to dinesh....@bajaao.com, adwor...@googlegroups.com
Hello Dinesh,

Our PHP client library is meant to run form the command line instead. Could you please try this from the command line and let me know if you are still facing any errors? Please use reply privately to the author option while sharing the information requested in-case the problem persists.

Regards,
Sai Teja, Google Ads API Team

ref:_00D1U1174p._5001UOCZxn:ref
Reply all
Reply to author
Forward
0 new messages