Can someone please help me out here. I am sending in the correct
AuthToken still I'm getting an error message mentioning that AuthToken
is missing. Any help is appreciated.

Thanks,
J



On Jun 16, 4:30 pm, J <jatinder.k...@gmail.com> wrote:
> Hello,
>
> I am trying to make a call to CampaignCriterionService using
> production URL for a given campaign. I keep getting error that
> authToken is not passed. Below is the SOAP request that is being
> generated at our end:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/";>
>   <S:Header>
>     <ns2:RequestHeader xmlns:ns2="https://adwords.google.com/api/
> adwords/cm/v200909">
>       <authToken>ValidAuthToken</authToken>
>       <clientEmail>someem...@gmail.com</clientEmail>
>       <developerToken>ValidDevToken</developerToken>
>       <userAgent>AdWords API Java</userAgent>
>       <validateOnly>false</validateOnly>
>     </ns2:RequestHeader>
>   </S:Header>
>   <S:Body>
>     <ns2:get xmlns:ns2="https://adwords.google.com/api/adwords/cm/
> v200909">
>       <ns2:selector>
>         <idFilters>
>           <campaignId>39690205</campaignId>
>         </idFilters>
>       </ns2:selector>
>     </ns2:get>
>   </S:Body>
> </S:Envelope>
>
> From the request, we are clearly see that the AuthToken is part of
> Request. However, following is the response that I am getting back:
>
> <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.campaignmgmt.criterion.campaigncriterion.v20090 
> 9.jaxbgen.CampaignCriterionPage
> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v20090 
> 9.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services 
> .campaignmgmt.criterion.campaigncriterion.v200909.jaxbgen.CampaignCriterion 
> Selector)
> throws
> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v20090 
> 9.jaxbgen.ApiException_Exception
> with params
> [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v2009 
> 09.jaxbgen.campaigncriterionselec...@174bf5c].</
> faultstring>
>     </soap:Fault>
>   </soap:Body>
> </soap:Envelope>
>
> Can someone please help me out there -- what is it that I am missing.
>
> Thanks,
> J

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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