I think I got it working, changing around the XML.  Here's what SEEMS
like working XML:
   <soapenv:Body xmlns:o="https://adwords.google.com/api/adwords/o/
v201003">
                <ns1:get xmlns:o="https://adwords.google.com/api/adwords/o/
v201003">

         <ns1:selector>
            <ns1:campaignEstimateRequests>
               <ns1:adGroupEstimateRequests>
                  <ns1:keywordEstimateRequests>
                     <ns1:keyword xmlns:cm="https://adwords.google.com/
api/adwords/cm/v201003" xsi:type="ns2:Keyword">
                        <ns2:text>digital camera</ns2:text>
                        <ns2:matchType>EXACT</ns2:matchType>
                     </ns1:keyword>
                  </ns1:keywordEstimateRequests>
                  <ns1:maxCpc>
                     <ns2:microAmount>1000000</ns2:microAmount>
                  </ns1:maxCpc>
               </ns1:adGroupEstimateRequests>
               <ns1:targets xsi:type="ns2:CountryTarget">
                  <ns2:countryCode>US</ns2:countryCode>
               </ns1:targets>
               <ns1:targets xsi:type="ns2:LanguageTarget">
                  <ns2:languageCode>en</ns2:languageCode>
               </ns1:targets>
            </ns1:campaignEstimateRequests>
         </ns1:selector>
      </ns1:get>
   </soapenv:Body>
</soapenv:Envelope>

Hope that helps someone else.  If that looks like it may get me
inaccurate results, please let me know... but it seems ok to me at
least.

-Bill

On Jan 25, 12:23 pm, Bill <> wrote:
> I am using the following sample posted by Eric Koleda with the
> following 
> endpoint:https://adwords.google.com/api/adwords/o/v201008/TrafficEstimatorService
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:o="https://adwords.google.com/api/adwords/o/v201008";
> xmlns:cm="https://adwords.google.com/api/adwords/cm/v201008";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>    <soapenv:Header>
>       <o:RequestHeader>
>                 <cm:clientEmail>...</cm:clientEmail>
>                 <cm:email>...</cm:email>
>                 <cm:developerToken>...</cm:developerToken>
>                 <cm:useragent>My App</cm:useragent>
>       </o:RequestHeader>
>    </soapenv:Header>
>    <soapenv:Body>
>       <o:get>
>          <o:selector>
>             <o:campaignEstimateRequests>
>                <o:adGroupEstimateRequests>
>                   <o:keywordEstimateRequests>
>                      <o:keyword>
>                         <cm:text>digital camera</cm:text>
>                         <cm:matchType>EXACT</cm:matchType>
>                      </o:keyword>
>                   </o:keywordEstimateRequests>
>                   <o:maxCpc>
>                      <cm:microAmount>1000000</cm:microAmount>
>                   </o:maxCpc>
>                </o:adGroupEstimateRequests>
>                <o:targets xsi:type="cm:CountryTarget">
>                   <cm:countryCode>US</cm:countryCode>
>                </o:targets>
>                <o:targets xsi:type="cm:LanguageTarget">
>                   <cm:languageCode>en</cm:languageCode>
>                </o:targets>
>             </o:campaignEstimateRequests>
>          </o:selector>
>       </o:get>
>    </soapenv:Body>
> </soapenv:Envelope>
>
> I am getting a VersionMismatch/INVALID_VERSION error.
>
> Any thoughts?
>
> Thanks.

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

Reply via email to