something wrong in reportDefinition?

150 views
Skip to first unread message

Michael Ladewig

unread,
Jun 22, 2017, 10:01:22 AM6/22/17
to AdWords API Forum
Hi guys,

im triying to Update to the new PHP client and get one error after another. 

But at the moment, i don't know, what is missing. I am trying to download a GEO_PERFORMANCE_REPORT and get this error:

Fatal error: Uncaught exception 'GuzzleHttp\Exception\RequestException' with message 'cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)' in C:\Users\ladewig\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:187 Stack trace: #0 C:\Users\ladewig\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 C:\Users\ladewig\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 C:\Users\ladewig\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #3 C:\Users\ladewig\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php(28): Gu in C:\Users\ladewig\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 187

I've found on several pages that the file cacert.pem is missing. So i downloaded it and set the curl.cainfo in php.ini to 

curl.cainfo = "C:\Internet\xampp\php\extras\ssl\cacert.pem"

and restarted the Webserver but that didn't work.

What else can i do?

Michael

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Jun 22, 2017, 2:39:45 PM6/22/17
to AdWords API Forum
Hi Michael, 

This error indicates that you may have an issue with your Curl installation and its certificates. Please check these threads about the same issue on the library repository. Could you check if the suggestions provided on those threads resolve your issue? If not, please log a new issue here so that the library owner can take a look at it.

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