SOAP-ERROR: Encoding: Error calling to_xml callback

121 views
Skip to first unread message

Daniele Salvatore Albano

unread,
Sep 25, 2014, 11:49:03 AM9/25/14
to adwor...@googlegroups.com
Hi to all,

I am facing a strange issue when calling multiple times the TargetingIdeaService::get method.

This error happens ONLY when the code calls multiple times that service, the first time works perfectly.

To avoid possible problems, every time it is called the code re-instantiate all the used search parameters, even if for the most part they are the same.

The error message itself isn't useful because it is related to lib\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php line 232 [ $response = parent::__soapClient(.....); ]

I have tried with different php versions (5.4.17 and 5.4.32)

Josh Radcliff (AdWords API Team)

unread,
Sep 25, 2014, 12:45:55 PM9/25/14
to adwor...@googlegroups.com
Hi,

This sounds like an issue that's specific to the PHP library. If so, could you open an issue on the library's github issues list?

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