Groups
Groups
Sign in
Groups
Groups
(Deprecated) Google Ads API and AdWords API Forum
Conversations
Labels
About
Send feedback
Help
XML_STREAM_EXC on CustomerService
66 views
Skip to first unread message
Ademilson Ferreira
unread,
Apr 20, 2016, 9:02:31 AM
4/20/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
It seems that my XML is malformed, but I can't find where.
My request:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/
" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
" xmlns:tns="
https://adwords
.
google.com/api/adwords/mcm/v201603
" xmlns:jaxb="
http://java.sun.com/xml/ns/jaxb
" xmlns:cm="
https://adwords.google.com/api/adwords/cm/v201603
"><soap:Header><cm:RequestHeader soapenv:actor="http:
//
schemas.xmlsoap.org/soap/actor/next
" soapenv:mustUnderstand="0"><cm:developerToken>MYTOKEN</cm:developerToken><cm:userAgent>DashGoo:0.0.1-dev</cm:userAgent><cm:validateOnly>true
</cm:validateOnly><cm:partialFailure>false</cm:partialFailure></cm:RequestHeader></soap:Header><soap:Body><getCustomers xmlns="
https://adwords.google.com/api/adwords/mcm/v201603
"></getCustomers>
</soap:Body></soap:Envelope>
The response I'm getting is:
<soap:Envelope xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/
"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>XML_STREAM_EXC</faultstring></soap:Fault></soap:Body></soap:Envelope>
Ademilson Ferreira
unread,
Apr 20, 2016, 1:09:00 PM
4/20/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Solved changing namespaces
soapenv:
to
soap:
and
cm:
to
tns:
.
Umesh Dengale
unread,
Apr 20, 2016, 1:53:04 PM
4/20/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hello,
I am glad that you found the fix. Please let us know if you need any other help with AdWords API.
Thanks,
Umesh, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages