Hi David,

I believe the problem is with the namespace used in your header.  The 
<RequestHeader> element is correctly set to the o/ namespace, since the 
request is to an o/ service.  However, the object it holds is of the 
type SoapHeader, which is in the cm/ namespace.  This means that all the 
elements under <RequestHeader> should be in the cm/ namespace as well.  For 
example:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:o="https://adwords.google.com/api/adwords/o/v201101"; 
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201101"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   <soapenv:Header>
      <o:RequestHeader>
         <cm:authToken>...</cm:authToken>
         <cm:developerToken>...</cm:developerToken>

You'll also run into the same problem with the <keyword> element you are 
including later in the request.  In general we recommend that developers use 
a SOAP library (or one of our client 
libraries<http://code.google.com/apis/adwords/docs/clientlibraries.html>) 
as they handle this namespacing automatically.

Best,
- Eric Koleda, AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to