Hi Owen,

There are still problems with the namespaces you are using.  Please
take another look at the example I sent you:

  
http://groups.google.com/group/adwords-api/browse_thread/thread/82bd7fcdff3afce1/

In your example the RequestHeader field is in the O namespace but the
authToken field is not in the CM namespace like it should be.

Best,
- Eric Koleda, AdWords API Team

On Nov 19, 8:49 pm, Owen <[email protected]> wrote:
> Hello. The full request / response is below it. Thanks.
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:SOAP-ENC="http://
> schemas.xmlsoap.org/soap/encoding/">
>   <soap:Header>
>     <RequestHeader xmlns="https://adwords.google.com/api/adwords/o/
> v200909">
>       <authToken>X</authToken>
>       <useragent>X</useragent>
>       <developerToken>X</developerToken>
>       <applicationToken>X</applicationToken>
>     </RequestHeader>
>   </soap:Header>
>   <soap:Body>
>     <get xmlns="https://adwords.google.com/api/adwords/o/v200909";>
>       <selector>
>         <searchParameters xmlns="https://adwords.google.com/api/
> adwords/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:type="RelatedToKeywordSearchParameter">
>           <keywords>
>             <text>awesome domain</text>
>             <matchType>Broad</matchType>
>           </keywords>
>         </searchParameters>
>         <ideaType>KEYWORD</ideaType>
>         <requestType>IDEAS</requestType>
>         <paging>
>           <startIndex>1</startIndex>
>           <numberResults>200</numberResults>
>         </paging>
>       </selector>
>     </get>
>   </soap:Body>
> </soap:Envelope>
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</
> faultcode><faultstring>authToken is missing in SoapHeader. while
> invoking public abstract
> com.google.ads.api.services.targetingideas.v200909.jaxbgen.TargetingIdeaPag e
> com.google.ads.api.services.targetingideas.v200909.jaxbgen.TargetingIdeaSer 
> viceInterface.get
> (com.google.ads.api.services.targetingideas.v200909.jaxbgen.TargetingIdeaSe 
> lector)
> throws
> com.google.ads.api.services.targetingideas.v200909.jaxbgen.ApiException_Exc 
> eption
> with params
> [com.google.ads.api.services.targetingideas.v200909.jaxbgen.TargetingIdeaSe 
> lec...@132a040].</
> faultstring></soap:Fault></soap:Body></soap:Envelope>

--

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


Reply via email to