My first thought was that v3 has went live, so I changed things to
access v3 ... same problem ... nothing works! I've checked the blogs
and the forums and there is nothing posted about any changes. Maybe
the API is down?
Below is just one of the request/response that is occurring. I really
hope someone from Google can respond soon with some advice.
---------------------------------Request
<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:XS="http://www.w3.org/2001/XMLSchema"
xmlns:XI="http://www.w3.org/2001/XMLSchema-instance"
xmlns:a="https://adwords.google.com/api/adwords/v2/AccountService"><S:Header><email
XI:type="XS:string">em...@comp.com</email><password
XI:type="XS:string">mypassword</password><token
XI:type="XS:string">mytoken</token><useragent
XI:type="XS:string">myuseragent</useragent></S:Header><S:Body><a:getClientAccounts></a:getClientAccounts></S:Body></S:Envelope>
---------------------------------Response
<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:XS="http://www.w3.org/2001/XMLSchema"
xmlns:XI="http://www.w3.org/2001/XMLSchema-instance"
xmlns:b="https://adwords.google.com/api/adwords/v2"
xmlns:a="https://adwords.google.com/api/adwords/v2/AccountService"><S:Body><S:Fault
XI:type="S:Fault"><faultcode
XI:type="XS:QName">S:Server.userException</faultcode><faultstring
XI:type="XS:string">The request namespace is invalid for the service
URL.</faultstring><detail><b:code
XI:type="XS:string">89</b:code><b:message XI:type="XS:string">The
request namespace is invalid for the service
URL.</b:message><b:trigger
XI:type="XS:string">https://adwords.google.com/api/adwords/v2/AccountService</b:trigger></detail></S:Fault></S:Body></S:Envelope>
Could someone please advise as to what happened?
Thanks,
hmcclungiii
If this weren't my job, I'd probably find it funny :)
Best regards,
Peer Jakobsen
The versioned codebase now enforces stric namespace checking, so https://adwords.google.com/api/adwords/v2/AccountService that you use in your payload is now considered invalid. You should use https://adwords.google.com/api/adwords/v2
It is happening for ALL Methods of ALL Services. Is it working for you
at this very moment?
Not sure how I missed that :)
Thanks,
hmcclungiii
Thank you very much Patrick. Seems to have solved the problem, if
anything else happens regarding this, I'll post back here.
Not sure how I missed that :)
Thanks,
hmcclungiii
<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:XS="http://www.w3.org/2001/XMLSchema"
xmlns:XI="http://www.w3.org/2001/XMLSchema-instance"
xmlns:a="https://adwords.google.com/api/adwords/v2
https://adwords.google.com/api/adwords/v2/AccountService"><S:Header><email
XI:type="XS:string">m...@my.com</email><password
XI:type="XS:string">mypassword</password><token
XI:type="XS:string">mytoken</token><useragent
XI:type="XS:string">myuseragent</useragent></S:Header><S:Body><a:getClientAccounts></a:getClientAccounts></S:Body></S:Envelope>
> ------=_Part_20475_30626828.1140036000723
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> X-Google-AttachSize: 1073
>
> Great, glad to see that it solved the issue for you.<br><br><div><span class="gmail_quote">On 2/15/06, <b class="gmail_sendername">hmcclungiii</b> <<a href="mailto:mcclun...@adelphia.net">mcclun...@adelphia.net</a>
> > wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Thank you very much Patrick. Seems to have solved the problem, if<br>
> anything else happens regarding this, I'll post back here.<br><br>Not sure how I missed that :)</blockquote><div><br>Nobody's perfect:-)<br><br>P@ <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Thanks,<br>hmcclungiii<br><br></blockquote></div><br><br clear="all"><br>-- <br>Patrick Chanezon, AdWords API evangelist <br><a href="http://blog.chanezon.com/">http://blog.chanezon.com/</a><br><a href="http://www.google.com/apis/adwords/">
> http://www.google.com/apis/adwords/</a>
>
> ------=_Part_20475_30626828.1140036000723--
Gave me the impression that that is what should be used. But I see
now, just plain https://adwords.google.com/api/adwords/v2 without the
name of the service, should be used for all services, and works well.