Fellow backend-ers,
I have a curious problem with using TargetingIdeaService. I am using the normal template that is provided for php and it works. Problem is that sometimes (maybe 1/10) calls ends in crashing my script. I only receive a 500 code in the calling google script and after thoroughly logging I see that it crashes on the line
$page = $targetingService->get($selector);
So, this is with the same arguments all the time, that sometimes it only ends in a black hole. There's no exception, just silence. Has anyone experienced something like this?
The service object and the selector are defined like this:
// create and setup service
$adWordsServices = new AdWordsServices();
$targetingService = $adWordsServices->get($session, TargetingIdeaService::class);
...
$selector->setIdeaType('KEYWORD');
$selector->setRequestType('STATS');
$selector->setRequestedAttributeTypes(array('KEYWORD_TEXT', 'SEARCH_VOLUME'));
As for logs I don't have too much to show. the soap request looks normally like this:
[2018-09-26 15:32:35] AW_SOAP.INFO: clientCustomerId=574-260-3578 operations=1 service=TargetingIdeaService method=get responseTime=149 requestId=000576c6414f81880a56e5054f00160b server=adwords.google.com isFault=0 faultMessage=