API not responding

151 views
Skip to first unread message

Anton Georgiev

unread,
Nov 14, 2017, 4:47:55 PM11/14/17
to AdWords API Forum
Hello,

I'm experiencing failures using AdWords API.

- I have Standard access
- I'm using Google Ads API Client Library for PHP via composer (https://github.com/googleads/googleads-php-lib)
- I tried both v201705 and v201708

The conversion are uploading fine for about 1-2 hours and then I get this error:


I tried this on two separate machines, both are experiencing the same issue after 1-2 hours of uploading conversions.

Just after I got this error, I re-ran my script and everything works fine for the next 1-2 hours. I tried opening https://adwords.google.com/api/adwords/cm/v201708/OfflineConversionFeedService?wsdl with CURL just after I got the error message and it was reachable.

Can you please advice if there are some limitations that I'm not aware of? It seems the API just stops responding (blocking me). Here are some of the failed requests as well:


[2017-11-14 11:22:27] AW_SOAP.WARNING: clientCustomerId=xxx-xxx-xxx operations= service=OfflineConversionFeedService method=mutate responseTime= requestId= server= isFault=1 faultMessage=Could not connect to host  
[2017-11-14 11:22:27] AW_SOAP.NOTICE: 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201708"><SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>xxx-xxx-xxx</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>[company-name] (AwApi-PHP, googleads-php-lib/28.1.0, PHP/7.0.22-0ubuntu0.16.04.1)</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:mutate><ns1:operations><ns1:operator>ADD</ns1:operator><ns1:Operation.Type/><ns1:operand><ns1:googleClickId>CjwKCAiAoqXQBRA8EiwAIIOWsmgagSgIptqOIbvsvc8fLxOt174cQ3YAg1i5uHK9CXEljIA3QSMTWRoCkLwQAvD_BwE</ns1:googleClickId><ns1:conversionName>Offline</ns1:conversionName><ns1:conversionTime>20171113 190808 America/Los_Angeles</ns1:conversionTime><ns1:conversionValue>7.5384</ns1:conversionValue></ns1:operand></ns1:operations></ns1:mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>

[2017-11-14 11:22:27] AW_SOAP.WARNING: clientCustomerId=xxx-xxx-xxx operations= service=OfflineConversionFeedService method=mutate responseTime= requestId= server= isFault=1 faultMessage=Could not connect to host  
[2017-11-14 11:22:27] AW_SOAP.NOTICE: 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201708"><SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>xxx-xxx-xxxx</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>[company-name] (AwApi-PHP, googleads-php-lib/28.1.0, PHP/7.0.22-0ubuntu0.16.04.1)</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:mutate><ns1:operations><ns1:operator>ADD</ns1:operator><ns1:Operation.Type/><ns1:operand><ns1:googleClickId>EAIaIQobChMIucbzy5S91wIVUiOBCh29fA9pEAAYAiAAEgIzLfD_BwE</ns1:googleClickId><ns1:conversionName>Offline</ns1:conversionName><ns1:conversionTime>20171114 084743 America/Los_Angeles</ns1:conversionTime><ns1:conversionValue>1.436</ns1:conversionValue></ns1:operand></ns1:operations></ns1:mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>

[2017-11-14 11:22:27] AW_SOAP.WARNING: clientCustomerId=xxx-xxx-xxx operations= service=OfflineConversionFeedService method=mutate responseTime= requestId= server= isFault=1 faultMessage=Could not connect to host  
[2017-11-14 11:22:27] AW_SOAP.NOTICE: 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201708"><SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>xxx-xxx-xxxx</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>[company-name] (AwApi-PHP, googleads-php-lib/28.1.0, PHP/7.0.22-0ubuntu0.16.04.1)</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:mutate><ns1:operations><ns1:operator>ADD</ns1:operator><ns1:Operation.Type/><ns1:operand><ns1:googleClickId>CjwKCAiAoqXQBRA8EiwAIIOWsuw0O4S5rKs3xXqvB9QT0Ftjdmio565qn_O8_OleEa7GcN_XKWLiRRoCfv8QAvD_BwE</ns1:googleClickId><ns1:conversionName>Offline</ns1:conversionName><ns1:conversionTime>20171114 000022 America/Los_Angeles</ns1:conversionTime><ns1:conversionValue>10.7992</ns1:conversionValue></ns1:operand></ns1:operations></ns1:mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>
Message has been deleted

Anton Georgiev

unread,
Nov 14, 2017, 4:57:59 PM11/14/17
to AdWords API Forum
More data from /tmp/wsdl... cache log:

EntityNotFound.Reason1https://adwords.google.com/api/adwords/cm/v20170829https://adwords.google.com/api/adwords/cm/v201708:IdErrorIdError1https://adwords.google.com/api/adwords/cm/v201708@https://adwords.google.com/api/adwords/cm/v201708:IdError.ReasonIdError.Reason1https://adwords.google.com/api/adwords/cm/v2017083Bhttps://adwords.google.com/api/adwords/cm/v201708:InternalApiError InternalApiError1https://adwords.google.com/api/adwords/cm/v201708 Ihttps://adwords.google.com/api/adwords/cm/v201708:InternalApiError.Reason InternalApiError.Reason1https://adwords.google.com/api/adwords/cm/v2017084Ahttps://adwords.google.com/api/adwords/cm/v201708:ListReturnValueListReturnValue1https://adwords.google.com/api/adwords/cm/v201708 ?https://adwords.google.com/api/adwords/cm/vNotEmptyError1https://adwords.google.com/api/adwords/cm/v201708 Fhttps://adwords.google.com/api/adwords/cm/v201708:NotEmptyError.Reason NotEmptyError.Reason1https://adwords.google.com/api/adwords/cm/v2017085;https://adwords.google.com/api/adwords/cm/v201708:NullError NullError1https://adwords.google.com/api/adwords/cm/v201708 Bhttps://adwords.google.com/api/adwords/cm/v201708:NullError.Reason NullError.Reason1https://adwords.google.com/api/adwords/cm/v2017086Hhttps://adwords.google.com/api/adwords/cm/v201708:OfflineConversionError OfflineConversionError1https://adwords.google.com/api/adwords/cm/v201708 Ohttps://adwords.google.com/api/adwords/cm/v201708:OfflineConversionError.Reason OfflineConversionError.Reason1https://adwords.google.com/api/adwords/cm/v2017087Ghttps://adwords.google.com/api/adwords/cm/v201708:OfflineConversionFeed OfflineConversionFeed1https://adwords.google.com/api/adwords/cm/v201708 Phttps://adwords.google.com/api/adwords/cm/v201708:OfflineConversionFeedOperation OfflineConversionFeedOperation1https://adwords.google.com/api/adwords/cm/v201708 ;https://adwords.google.com/api/adwords/cm/v201708:Operation Operation1https://adwords.google.com/api/adwords/cm/v201708 Rhttps://adwords.google.com/api/adwords/cm/v201708:OfflineConversionFeedReturnValue OfflineConversionFeedReturnValue1https://adwords.google.com/api/adwords/cm/v201708 :https://adwords.google.com/api/adwords/cm/v201708:OperatoOperator1https://adwords.google.com/api/adwords/cm/v2017089Ghttps://adwords.google.com/api/adwords/cm/v201708:OperationAccessDenied OperationAccessDenied1https://adwords.google.com/api/adwords/cm/v201708 Nhttps://adwords.google.com/api/adwords/cm/v201708:OperationAccOperatorError1https://adwords.google.com/api/adwords/cm/v201708 Fhttps://adwords.google.com/api/adwords/cm/v201708:OperatorError.Reason OperatorError.Reason1https://adwords.google.com/api/adwords/cm/v201708:=https://adwords.google.com/api/adwords/cm/v201708:PagingError

Vincent Racaza (AdWords API Team)

unread,
Nov 15, 2017, 1:04:37 AM11/15/17
to AdWords API Forum
Hi Anton,

Could you provide your SOAP request and response logs with your actual clientCustomerId via Reply privately to author so we can further investigate?

Thanks,
Vincent
AdWords API Team

Nadine Sundquist (AdWords API Team)

unread,
Nov 15, 2017, 10:28:56 AM11/15/17
to AdWords API Forum
Hello Anton,

On occasion, there are issues either on the client side or the server side with serving WSDLs especially when they have to be pulled so frequently. I have good news for you! Due to this being a general issue, we released a new PHP client library version yesterday that has all the WSDLs included in the library so it doesn't need to go to the server for them. If you're still using an older version of the PHP client library, then you can change the wsdlCache option to cache all the WSDLs. If you have any further issues after making one of those changes, then please get back to me.

Happy coding,
Nadine, AdWords API Team
Reply all
Reply to author
Forward
0 new messages