Notice: Failed to load response into DOM... AdsSoapClient.php

38 views
Skip to first unread message

s...@feedonomics.com

unread,
Jul 10, 2017, 5:44:19 PM7/10/17
to AdWords API Forum
Hello,

Our script runs fine through numerous batches of operations, but we eventually and get this error every time. Do you have any idea as to what might be the cause?

Thank you!

Notice: Failed to load response into DOM: DOMDocument::loadXML(): Empty string supplied as input in /var/www/html/adwords_api/googleads_api_v201702_composer/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 251


Notice: Failed to load response into DOM: DOMDocument::loadXML(): Empty string supplied as input in /var/www/html/adwords_api/googleads_api_v201702_composer/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 348


Notice: Failed to load response into DOM: DOMDocument::loadXML(): Empty string supplied as input in /var/www/html/adwords_api/googleads_api_v201702_composer/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 366
An error has occurred: Bad Gateway
string(1540) "#0 /var/www/html/adwords_api/googleads_api_v201702_composer/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php(178): SoapClient->__doRequest('<?xml version="...', 'https://adwords...', '', 1)
#1 /var/www/html/adwords_api/googleads_api_v201702_composer/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/AdWords/Lib/AdWordsSoapClient.php(72): AdsSoapClient->__doRequest('<?xml version="...', 'https://adwords...', '', 1)
#2 [internal function]: AdWordsSoapClient->__doRequest('<?xml version="...', 'https://adwords...', '', 1, 0)
#3 /var/www/html/adwords_api/googleads_api_v201702_composer/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php(216): SoapClient->__soapCall('get', Array, NULL, Array, Array)
#4 /var/www/html/adwords_api/googleads_api_v201702_composer/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/AdWords/Lib/AdWordsSoapClient.php(86): AdsSoapClient->__soapCall('get', Array)
#5 /var/www/html/adwords_api/googleads_api_v201702_composer/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/AdWords/v201702/AdGroupCriterionService.php(10078): AdWordsSoapClient->__soapCall('get', Array)
#6 /var/www/html/adwords_api/adwords_helper_functions.php(862): AdGroupCriterionService->get(Object(Selector))
#7 /var/www/html/adwords_api/supplyframe/adwords_keyword_targeting.php(886): getKeywords(Object(AdWordsUser), '42913419326')
#8 /var/www/html/adwords_api/supplyframe/adwords_keyword_targeting.php(535): get_adgroup_maps(Object(AdWordsUser), Array)
#9 {main}"

Peter Oliquino

unread,
Jul 11, 2017, 1:51:05 AM7/11/17
to AdWords API Forum
Hi Sam,

I could see that the issue you are encountering is more specific to the PHP client library rather than the AdWords API. This said, you may get in touch with the PHP library owners via this link as they are better equipped to assist you.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages