google-adwords-php-lib "Unmarshalling Error"

39 views
Skip to first unread message

Hasan Genc

unread,
Sep 17, 2018, 5:15:23 AM9/17/18
to AdWords API and Google Ads API Forum

I get this error when I call the google adwords api and I did not solve the
My servers run to AppDynamics and error is relative with it. Could someone help me?
 Unmarshalling Error: unexpected element (uri:"http://appdynamics.com", local:"singularityheader"). 
   Expected elements are <{https://adwords.google.com/api/adwords/mcm/v201710}ApiExceptionFault>,
   <{https://adwords.google.com/api/adwords/mcm/v201710}RequestHeader>,
   <{https://adwords.google.com/api/adwords/mcm/v201710}ResponseHeader>,
   <{https://adwords.google.com/api/adwords/mcm/v201710}getCustomers>,
   <{https://adwords.google.com/api/adwords/mcm/v201710}getCustomersResponse>,
   <{https://adwords.google.com/api/adwords/mcm/v201710}getServiceLinks>,
   <{https://adwords.google.com/api/adwords/mcm/v201710}getServiceLinksResponse>,
   <{https://adwords.google.com/api/adwords/mcm/v201710}mutate>,
   <{https://adwords.google.com/api/adwords/mcm/v201710}mutateResponse>,
   <{https://adwords.google.com/api/adwords/mcm/v201710}mutateServiceLinks>,
   <{https://adwords.google.com/api/adwords/mcm/v201710}mutateServiceLinksResponse>

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Google.Api.Ads.AdWords.v201710.CustomerServiceInterface.getCustomers(getCustomersRequest request)
   at Google.Api.Ads.AdWords.v201710.CustomerService.Google.Api.Ads.AdWords.v201710.CustomerServiceInterface.getCustomers(getCustomersRequest request)
   at Google.Api.Ads.AdWords.v201710.CustomerService.getCustomers()

Teja Makani

unread,
Sep 17, 2018, 1:55:15 PM9/17/18
to AdWords API and Google Ads API Forum
Hello Hasan,

Looks like the version of API you are pointing in the headers is sunset. Could you please upgrade to the v201806 version of API and make sure you are abiding by the changes shown in the migration guide. You could also follow the instructions shown in this READMED.md file to install the latest PHP client library. Please give it a try and if you are still facing issues, please share the complete error logs. You could use reply privately to the author option while sharing the details. 

Regards,
Sai Teja, AdWords API Team.

Hasan Genc

unread,
Sep 18, 2018, 2:52:17 AM9/18/18
to AdWords API and Google Ads API Forum

Teja Makani

unread,
Sep 18, 2018, 2:45:52 PM9/18/18
to AdWords API and Google Ads API Forum
Hello Hasan, Looks like the concern is related to PHP client libraries. I would recommend you to post your concern on the PHP client library issue tracker here. Regards, Sai Teja, AdWords API Team.

Teja Makani

unread,
Sep 18, 2018, 2:47:57 PM9/18/18
to AdWords API and Google Ads API Forum
Hello Hasan, Looks like the concern is related to PHP client libraries. I would recommend you to post your concern on the PHP client library issue tracker here. Regards, Sai Teja, AdWords API Team.

Hasan Genc

unread,
Sep 19, 2018, 3:21:29 AM9/19/18
to AdWords API and Google Ads API Forum
Hello Teja,

I posted the issue here. Thanks for your support.
Reply all
Reply to author
Forward
0 new messages