Did something change today

1 view
Skip to first unread message

westsider

unread,
Dec 1, 2008, 11:49:21 AM12/1/08
to AdWords API Forum


I've got scripts running on crons that all of a sudden stopped working
today. I get this error messages.


PHP Warning: SoapClient::__construct() expects parameter 2 to be
array, string given in /home1/RD/google_api/
new_google_api_report_daily.php on line 76
PHP Stack trace:
PHP 1. {main}() /home1/RD/google_api/new_google_api_report_daily.php:
0
PHP 2. SoapClient->__construct() /home1/RD/google_api/
new_google_api_report_daily.php:76
PHP Fatal error: SoapClient::__construct(): Invalid parameters in /
home1/RD/google_api/new_google_api_report_daily.php on line 76
PHP Stack trace:
PHP 1. {main}() /home1/RD/google_api/new_google_api_report_daily.php:
0
PHP 2. SoapClient->__construct() /home1/RD/google_api/
new_google_api_report_daily.php:76


[this is line 75] $namespace = 'https://adwords.google.com/api/adwords/
v12';
[this is line 76] $report_service = new soapclient($namespace . '/
ReportService?wsdl', 'wsdl');
[this is line 77] $report_service->setHeaders($headers);

AdWords API Advisor

unread,
Dec 1, 2008, 1:31:08 PM12/1/08
to AdWords API Forum
Hello,

The source of that error looks to be client-side, not something
returned by the AdWords API service. So, did anything change on your
end recently? Did someone upgrade the PHP SOAP library you're using,
or otherwise change your PHP environment?

I'm sorry that I don't have anything more concrete to suggest than
that, but it does look like you're experiencing a local issue.

Cheers,
-Jeff Posnick, AdWords API Team

westsider

unread,
Dec 1, 2008, 1:53:33 PM12/1/08
to AdWords API Forum
possible. I will check with the other developer.

On Dec 1, 1:31 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
Reply all
Reply to author
Forward
0 new messages