CPC estimates - TrafficEstimatorService

511 views
Skip to first unread message

calford

unread,
Dec 16, 2010, 4:53:24 AM12/16/10
to AdWords API Forum
Hi,

I used the TrafficEstimatorService example (PHP) to check some
keywords but the results are a bit confusing.


one of the results says: Estimated average CPC: 438555

the code is like this to show that result
$meanAverageCpc = ($keywordEstimate->min->averageCpc->microAmount +
$keywordEstimate->max->averageCpc->microAmount) / 2;

according to the documentation microAmount is "Amount in micros. One
million is equivalent to one unit."

so, one unit is one cent (if currency if USD)?

Thanks


part of the SOAP below
<ns2:min>
<ns2:averageCpc>
<ComparableValue.Type>Money</ComparableValue.Type>
<microAmount>350322</microAmount>
</ns2:averageCpc>
<ns2:averagePosition>2.5</ns2:averagePosition>
<ns2:clicks>0</ns2:clicks>
<ns2:totalCost>
<ComparableValue.Type>Money</ComparableValue.Type>
<microAmount>62720</microAmount>
</ns2:totalCost>
</ns2:min>
<ns2:max>
<ns2:averageCpc>
<ComparableValue.Type>Money</ComparableValue.Type>
<microAmount>527785</microAmount>
</ns2:averageCpc>
<ns2:averagePosition>1.0</ns2:averagePosition>
<ns2:clicks>0</ns2:clicks>
<ns2:totalCost>
<ComparableValue.Type>Money</ComparableValue.Type>
<microAmount>168465</microAmount>
</ns2:totalCost>
</ns2:max>

AdWords API Advisor

unread,
Dec 17, 2010, 5:58:27 PM12/17/10
to AdWords API Forum
Hi Calford,

A micro is one millionth of the fundamental currency. So for US
dollars, 1,000,000 micros = $1. A micro amount of 438555 is $0.43.

Best,
- Eric Koleda, AdWords API Team

Арман Мкртчян

unread,
Apr 3, 2012, 9:06:02 AM4/3/12
to adwor...@googlegroups.com
I have question about "microAmount". How can I convet it to EUR?
Thanks :)

Eric Koleda

unread,
Apr 5, 2012, 3:00:43 PM4/5/12
to adwor...@googlegroups.com
Hi,

Divide a micro amount by one million to get the whole currency amount.  For an account configured with EUR as the currency this will be in euros.

Best,
- Eric Koleda, AdWords API Team

Арман Мкртчян

unread,
May 6, 2012, 10:31:16 AM5/6/12
to adwor...@googlegroups.com
Hello Eric.

I try to get amount of money for specific AdGroup, but I cannot find solution how to do that. Maybe there is a way how to get all information with AdGroup id?
Could you help me?

Best regards

четверг, 5 апреля 2012 г., 22:00:43 UTC+3 пользователь Eric Koleda написал:

Kevin Winter

unread,
May 15, 2012, 10:02:15 AM5/15/12
to adwor...@googlegroups.com
Hi,
  All the client libraries have an example showing how to obtain Campaign Stats using the API (if you didn't want to run reports).  Here's an example for PHP:


This is easily adapted to be an AdGroup call - adding a predicate for AdGroup's Id will restrict this to a single AdGroup.  If you find yourself requesting this for many AdGroups, running an AdGroup Performance Report will be more efficient.

- Kevin Winter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages