Hi Neil, Micro amount values in the API are always specified in the currency of the account. It appears that this is a US account, so your maxCpc of 10000000 is $10 instead of 10£. If you use the US version of the Traffic Estimator UI you will see the number match.
Best, - Eric Koleda, AdWords API Team On Oct 22, 4:10 am, neilpaterson <npater...@clickthrough- marketing.com> wrote: > Anyone got any ideas on this? Is the SOAP request correct for what I'm > after? > > On Oct 20, 12:09 pm, neilpaterson <npater...@clickthrough- > > > > > > > > marketing.com> wrote: > > Hello > > > I'm using the API to grab estimated avg CPC for exact keywords. > > However, the UIs (Keyword Tool / Traffic Estimator) give me different > > CPCs to the API. > > > For example, the CPC for the exact keyword [gym] in the UK (English), > > with a max CPC of £50 is £0.93 via the UIs. However, the API gives me > > the range 1303123 - 1628904, which is about £1.46 when averaged. > > > Here's the XML as logged: > > > [Oct 20 2010 10:02:00.000000 - INFO] POST /api/adwords/o/v201008/ > > TrafficEstimatorService HTTP/1.1 > > Host: adwords.google.com > > Connection: Keep-Alive > > User-Agent: PHP-SOAP/5.3.0, gzip > > Accept-Encoding: gzip, deflate > > Content-Encoding: gzip > > Content-Type: text/xml; charset=utf-8 > > SOAPAction: "" > > Content-Length: 721 > > > <?xml version="1.0" encoding="UTF-8"?> > > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/ > > envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/ > > v201008" xmlns:ns2="https://adwords.google.com/api/adwords/o/v201008" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > <SOAP-ENV:Header> > > <ns2:RequestHeader xsi:type="ns1:RequestHeader"> > > <ns1:authToken>*****</ns1:authToken> > > <ns1:developerToken>(removed)</ns1:developerToken> > > <ns1:userAgent>AwApi-PHP-2.3.0-Test</ns1:userAgent> > > </ns2:RequestHeader> > > </SOAP-ENV:Header> > > <SOAP-ENV:Body> > > <ns2:get> > > <ns2:selector> > > <ns2:campaignEstimateRequests> > > <ns2:adGroupEstimateRequests> > > <ns2:keywordEstimateRequests> > > <ns2:keyword> > > <ns1:text>gym</ns1:text> > > <ns1:matchType>EXACT</ns1:matchType> > > </ns2:keyword> > > </ns2:keywordEstimateRequests> > > <ns2:keywordEstimateRequests> > > <ns2:keyword> > > <ns1:text>health spa</ns1:text> > > <ns1:matchType>EXACT</ns1:matchType> > > </ns2:keyword> > > </ns2:keywordEstimateRequests> > > <ns2:keywordEstimateRequests> > > <ns2:keyword> > > <ns1:text>gym birmingham</ns1:text> > > <ns1:matchType>EXACT</ns1:matchType> > > </ns2:keyword> > > </ns2:keywordEstimateRequests> > > <ns2:maxCpc> > > <ns1:microAmount>10000000</ns1:microAmount> > > </ns2:maxCpc> > > </ns2:adGroupEstimateRequests> > > <ns2:targets xmlns:ns1="https://adwords.google.com/api/ > > adwords/cm/v201008" xsi:type="ns1:CountryTarget"> > > <ns1:countryCode>GB</ns1:countryCode> > > </ns2:targets> > > <ns2:targets xmlns:ns1="https://adwords.google.com/api/ > > adwords/cm/v201008" xsi:type="ns1:LanguageTarget"> > > <ns1:languageCode>en</ns1:languageCode> > > </ns2:targets> > > </ns2:campaignEstimateRequests> > > </ns2:selector> > > </ns2:get> > > </SOAP-ENV:Body> > > </SOAP-ENV:Envelope> > > > HTTP/1.1 200 OK > > Content-Type: text/xml; charset=UTF-8 > > SOAPAction: "" > > Content-Encoding: gzip > > Transfer-Encoding: chunked > > Date: Wed, 20 Oct 2010 10:02:00 GMT > > Expires: Wed, 20 Oct 2010 10:02:00 GMT > > Cache-Control: private, max-age=0 > > X-Content-Type-Options: nosniff > > X-Frame-Options: SAMEORIGIN > > X-XSS-Protection: 1; mode=block > > Server: GSE > > > <?xml version="1.0"?> > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > > <soap:Header> > > <ResponseHeader xmlns:ns2="https://adwords.google.com/api/adwords/ > > cm/v201008" xmlns="https://adwords.google.com/api/adwords/o/v201008"> > > <ns2:requestId>9c6f7cd573e21dedc320a168572fbe8f</ns2:requestId> > > <ns2:operations>3</ns2:operations> > > <ns2:responseTime>641</ns2:responseTime> > > <ns2:units>45</ns2:units> > > </ResponseHeader> > > </soap:Header> > > <soap:Body> > > <getResponse xmlns="https://adwords.google.com/api/adwords/o/ > > v201008" xmlns:ns2="https://adwords.google.com/api/adwords/cm/ > > v201008"> > > <rval> > > <campaignEstimates> > > <Estimate.Type>CampaignEstimate</Estimate.Type> > > <adGroupEstimates> > > <Estimate.Type>AdGroupEstimate</Estimate.Type> > > <keywordEstimates> > > <Estimate.Type>KeywordEstimate</Estimate.Type> > > <min> > > <averageCpc> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>1303123</ns2:microAmount> > > </averageCpc> > > <averagePosition>2.0</averagePosition> > > <clicks>9</clicks> > > <totalCost> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>11935013</ns2:microAmount> > > </totalCost> > > </min> > > <max> > > <averageCpc> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>1628904</ns2:microAmount> > > </averageCpc> > > <averagePosition>1.0</averagePosition> > > <clicks>11</clicks> > > <totalCost> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>18601864</ns2:microAmount> > > </totalCost> > > </max> > > </keywordEstimates> > > <keywordEstimates> > > <Estimate.Type>KeywordEstimate</Estimate.Type> > > <min> > > <averageCpc> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>1228794</ns2:microAmount> > > </averageCpc> > > <averagePosition>1.5022830963134766</averagePosition> > > <clicks>4</clicks> > > <totalCost> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>5708185</ns2:microAmount> > > </totalCost> > > </min> > > <max> > > <averageCpc> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>1535992</ns2:microAmount> > > </averageCpc> > > <averagePosition>1.0</averagePosition> > > <clicks>5</clicks> > > <totalCost> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>8927182</ns2:microAmount> > > </totalCost> > > </max> > > </keywordEstimates> > > <keywordEstimates> > > <Estimate.Type>KeywordEstimate</Estimate.Type> > > <min> > > <averageCpc> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>944400</ns2:microAmount> > > </averageCpc> > > <averagePosition>2.0</averagePosition> > > <clicks>0</clicks> > > <totalCost> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>227747</ns2:microAmount> > > </totalCost> > > </min> > > <max> > > <averageCpc> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>1180501</ns2:microAmount> > > </averageCpc> > > <averagePosition>1.0</averagePosition> > > <clicks>0</clicks> > > <totalCost> > > <ns2:ComparableValue.Type>Money</ > > ns2:ComparableValue.Type> > > <ns2:microAmount>284684</ns2:microAmount> > > </totalCost> > > </max> > > </keywordEstimates> > > </adGroupEstimates> > > </campaignEstimates> > > </rval> > > </getResponse> > > </soap:Body> > > </soap:Envelope> > > > Any ideas would be most welcome! > > > Neil -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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