Hi,

I was working on some some tools to work with the
TrafficEstimatorService, and got some very strange results....
I was working with the example code from the v13 examples page, a
snippet is shown here:

$namespace = 'https://adwords.google.com/api/adwords/v13';
$estimator_service = SoapClientFactory::GetClient(
  $namespace . '/TrafficEstimatorService?wsdl', 'wsdl');
$estimator_service->setHeaders($headers);
$debug = 0;

# Create keyword structure.
$keyword =
  '<text>mars cruise</text>' .
  '<maxCpc>1000000</maxCpc>' .
  '<type>Broad</type>';

# Estimate keyword traffic.
$request_xml =
  '<estimateKeywordList>' .
  '<keywordRequests>' . $keyword . '</keywordRequests>' .
  '</estimateKeywordList>';
$estimates = $estimator_service->call('estimateKeywordList',
$request_xml);
$estimates = $estimates['estimateKeywordListReturn'];

print_r($estimates);


It returned the following data:



Array
(
    [id] => -1
    [lowerAvgPosition] => 1.0
    [lowerClicksPerDay] => 0.009727052
    [lowerCpc] => 631594
    [upperAvgPosition] => 3.0
    [upperClicksPerDay] => 0.06450792
    [upperCpc] => 947392
)
Estimates for keyword with text "mars cruise":
  Lower average position is "1.0".
  Upper average position is "3.0".
  Lower clicks per day is "0.009727052".
  Upper clicks per day is "0.06450792".
  Lower cpc is "631594".
  Upper cpc is "947392".

That doesn't align at all with the online Traffic Estimator tool in
Adwords, and the data doesn't even look to be of the correct type.

I have never had any trouble with other API services on either v13 or
v2009.

Thanks in advance for any help

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