Failed to load response into DOM: DOMDocument::loadXML(): Empty string supplied as input in

154 views
Skip to first unread message

Bappa Sk

unread,
Oct 4, 2016, 3:55:23 AM10/4/16
to AdWords API Forum
Hi,
I am getting error for api version v201603 on my localhost:


Error is:

Notice: Failed to load response into DOM: DOMDocument::loadXML(): Empty string supplied as input in C:\wamp\www\googleads\google-api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 256

Notice: Failed to load response into DOM: DOMDocument::loadXML(): Empty string supplied as input in C:\wamp\www\googleads\google-api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 353

 Notice: Failed to load response into DOM: DOMDocument::loadXML(): Empty string supplied as input in C:\wamp\www\googleads\google-api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 371

Notice: Failed to load response into DOM: DOMDocument::loadXML(): Empty string supplied as input in C:\wamp\www\googleads\google-api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 256

Notice: Failed to load response into DOM: DOMDocument::loadXML(): Empty string supplied as input in C:\wamp\www\googleads\google-api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 353

Notice: Failed to load response into DOM: DOMDocument::loadXML(): Empty string supplied as input in C:\wamp\www\googleads\google-api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 371

Fatal error: Uncaught SoapFault exception: [HTTP] Unsupported Media Type in C:\wamp\www\googleads\google-api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php:183 Stack trace: #0 C:\wamp\www\googleads\google-api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php(183): SoapClient->__doRequest('<?xml version="...', 'https://adwords...', '', 1) #1 C:\wamp\www\googleads\google-api\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 C:\wamp\www\googleads\google-api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php(221): SoapClient->__soapCall('get', Array, NULL, Array, Array) #4 C:\wamp\www\googleads\google-api\src\Google\Api\Ads\AdWords\Lib\AdWordsSoapClient.php(86): AdsSoapClient->__soapCall('get', Array) #5 C:\wamp\www\googleads\google-api\src\Google\Api\Ads\AdWords\v201603\ManagedCustomerService.php(4485): AdWordsSoapClient->__soapCall(' in C:\wamp\www\googleads\google-api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 183

How can I resolve this issue? Please help me.

Joyce Lava

unread,
Oct 4, 2016, 4:41:09 AM10/4/16
to AdWords API Forum
Hi,

Could you please send me the SOAP request and response for me to check the operation you are calling in the AdWords API? Please use reply privately to author when responding.

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