Forum Moderators: buckworks & skibum

Message Too Old, No Replies

Country Specific Data ,Conversion Rate,Impressions,CTR from Traffic Es

Country Specific Data ,Conversion Rate,Impressions,CTR from

         

hitesh4web

2:24 pm on Nov 28, 2007 (gmt 0)

10+ Year Member



Hi,

I am using Google Adwords APility for doing Traffic Estimate

for generic keyword.

is it possible to get the country Specific Data

for TrafficEstimate using Adword API?

In GUI tool it does But in API it says it is not possible,

Also Can I get the CTR,IMpression and Conversion rate

from the fields returned by the Traffic Estimate?

Or Also Is there any Call Which gives me this Fields for any
generic keyword.

Chris_Mohr

3:39 pm on Nov 28, 2007 (gmt 0)

10+ Year Member



As far as I understand Apility uses Adwords API.

It is possible to do location specific estimates with the API. (Look up "CampaignRequest in the API docs.)

You have access to all the same information that is available as when you're actually using the Traffic Estimator tool from your Adwords account. This does not include ctr or conversion rate.

Tools > Traffic Estimator

hitesh4web

1:15 pm on Nov 29, 2007 (gmt 0)

10+ Year Member



Hello, Chris_Mohr

But i want to get Estimate for any keyword,

If you say CampaignRequest But than how can I get Estimate fro keyword which are not belong to my account(i.e belong to any
Campaign,Adgroup),

I am still doing this
array("maxCpc"=>"5.0","negative"=>"false","text"=>"google","type"=>"Broad"),"maxCpc"=>null),
array(array("geoTargets"=>array ("countryTargets" => array("countries"=>"US")))),
"id" => '-1',
"languageTargeting"=> "en",
"networkTargeting"=>"GoogleSearch");

$campaignEstimate = getCampaignEstimate($s,true);


but still its gives me Error
"Call to a member function getAllAdGroups() on a non-object in apility/lib/TrafficEstimate.php on line 358"

So I can't pass this value as array <

I need to make it object.

Any Idea how can I do Estimate for generic Keywords Using

Campaign Object

Chris_Mohr

3:42 pm on Nov 29, 2007 (gmt 0)

10+ Year Member



Sorry...I'm not sure why you are getting the error you are, I have never actually used apility. But I recently solved the same problem in ruby with the adwrods4r library. Maybe it will help:

require 'adwords4r'
class GoogleAdwords
def self.fetchEstimates keyword_list
adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(
{ 'applicationToken' => 'REPLACE',
'token' => 'REPLACE',
'useragent' => 'REPLACE',
'password' => 'REPLACE',
'email' => 'REPLACE',
'clientEmail' => 'REPLACE'
}
))
keyword_request_list = []
keyword_list.each do ¦keyword¦
keyword_request = AdWords::KeywordRequest.new(nil, 100000000, false, keyword, 'Exact')
keyword_request_list << keyword_request
end
agr = AdWords::AdGroupRequest.new
agr.keywordRequests = keyword_request_list
agr.maxCpc = 100000000
geoTargeting = AdWords::GeoTarget.new
countryTargets = AdWords::CountryTargets.new(["CA"])
geoTargeting.countryTargets = countryTargets
cr = AdWords::CampaignRequest.new
cr.geoTargeting = geoTargeting
cr.adGroupRequests = agr
res = adwords.estimateCampaignList([cr])
return res[0].adGroupEstimates[0].keywordEstimates
rescue AdWords::Error::UnknownAPICall => e
puts e
rescue AdWords::Error::ApiError => e
puts e.code
puts e.message
end
end

hitesh4web

11:52 am on Dec 4, 2007 (gmt 0)

10+ Year Member



Thnks For Ur Help,

it has Benn done But Without Using Apility,

ow My Prodcution environment is approved Now, as you have said in this thread,
[groups.google.com...]

I am been able to get the Data but whwn I compare it with the GUI Tool at

[adwords.google.com...]

Bu the result coming from API and From GUI Tool is quite different.

U can chk my Tool at [mlep.com...]

When I pass Max CPC = $5 and country is US then Result From API is

Lower Cost Per Click(CPC) : 4500000
Upper Cost Per Click(CPC) : 4500000
Lower Clicks Per Day : 1,878.17
Upper Clicks Per Day : 2,168.01
Lower Avg. Position : 1.0
Upper Avg Position : 3.0

Now When I pass the same query in GUI Tool the result is,

Lower Cost Per Click(CPC) : $1.05
Upper Cost Per Click(CPC) : $1.58
Lower Clicks Per Day : 24,035
Upper Clicks Per Day : 30,053
Lower Avg. Position : 1.0
Upper Avg Position : 3.0

Except position every other thing is quite Different, So ihave list of Questions

1) Which data is Correct from API or From GUI Tool

2) when I change the Country The data isn't Chaging so Is country Specific Data Availble

3)in URL of GUI Tool the name TrafficEstimator Sandbox so is GUI Giving Fake Data

4)I have also same tool Except Country Specific data using Apility at this Location

[mlep.com...]

The data in this Tool and in Country Specifc At [mlep.com...]

is giving same data So country Specific is Possible or Not?

If in API the Data is Wrong How can I get the Correct data?

My Reqest in SOAP is

<estimateCampaignList>
<campaignRequests>
<adGroupRequests>
<keywordRequests>
<text>google</text>
<type>Broad</type>
<maxCpc>5000000</maxCpc>
</keywordRequests>
<maxCpc>5000000</maxCpc>
</adGroupRequests>
<geoTargeting>
<countryTargets>US</countryTargets>
<targetAll>false</targetAll>
</geoTargeting>
<languageTargeting>en</languageTargeting>
<networkTargeting>
<networkTypes>SearchNetwork</networkTypes>
</networkTargeting>
</campaignRequests>
</estimateCampaignList>"

Reply Me ASAP .