Hello.

I need to fetch CPC for several keywords.

I understood that it can be done by calling TrafficEstimatorService
which is available only in v13.

I would rather use PHP, but I don't mind using any other language.

If you can post an example of a code that returns the CPC value for
one of the keywords, it can really help. Also, which library, I should
download ?

I tried to run the code that appears here:
http://code.google.com/p/adwords-api-php-samples/source/browse/trunk/src/check_keyword_traffic.php

but had troubles with nusoap. The message that I got was: php
estimate_keyword.php Fatal error: Class 'nusoap_client' not found in /
home/aw_api_php_lib_2.1.0/examples/v200909/soapclientfactory.php on
line 35

I downloaded Apility, but got the following errors:

Warning: <b>APIlity PHP library => Warning: </b>Cache file for:
https://adwords.google.com/api/adwords/v13/CampaignService?wsdl has an
invalid file size in /home/apility_1.13.1/lib/WsdlCache.php on line
156
<style type='text/css'>
               .string {
                 font-family:monospace;
                 color:darkgreen;
               }
               .tag {
                 font-family:monospace;
                 color:blue;
               }
             </style><div style='padding:0.5em; margin:0.5em; border:
1px dashed gray;'>
            <small>
<font color='blue'><b>Ouch!</b></font> I am not proud to
            announce the following <font color='maroon'><u>AdWords API
Exception</u></font>:
<br />&nbsp;&nbsp;<b>Message:</b> You are accessing an AdWords API
service that has been discontinued. Calls to this service may fail.
Please visit the AdWords API blog for information on migration to new
v2009 AdWords API.
<br />
&nbsp;&nbsp;<b>Trigger:</b> N/A
<br />
&nbsp;&nbsp;<b>Code:</b> <font color='blue'>213</font>
<br />
&nbsp;&nbsp;<b>Fault Origin:</b> <font
color='blue'>test14.php:getAllCampaigns()</font>
<br />&nbsp;&nbsp;<b>SOAP Parameters:</b>
<br />

Thanks a lot.
Vadim.

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