BasicOperation/GetCampaigns

23 views
Skip to first unread message

oeaf...@gmail.com

unread,
Aug 30, 2017, 8:28:14 AM8/30/17
to AdWords API Forum
When i run BasicOperations/GetCampaigns.php in my local machine/ xampp it works ok but when i run same file on linve it throw 500 Error. then i comment all code and only run aoutload.php file 
then it shows this error.

Parse error: syntax error, unexpected '[' in /httpdocs/email/report/costapi/google/vendor/guzzlehttp/psr7/src/functions.php on line 78

do i need to set path when i upload all files to live server? e.g /// set_include_path(get_include_path() . PATH_SEPARATOR . 'pat-to/htdocs/api/google/vendor/googleads/googleads-php-lib/src/');

Bharani Cherukuri (AdWords API Team)

unread,
Aug 30, 2017, 2:58:26 PM8/30/17
to AdWords API Forum
Hello, 

As suggested by my colleague here, your concern is specific to the PHP Client Library, I suggest that you post your concern here

Thanks,
Bharani, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages