On Wed, Oct 18, 2006 at 05:23:17AM -0000, K wrote:
I ran it on one creative, and sent 1 quota unit in 1 operation.
$ rlwrap ./adwords --client X....@example.com
Objective Caml version 3.09.1
# #directory "+calendar";;
# #directory "../ocsoap";;
# open CreativeService_types;;
# open CreativeService;;
# let today = Date.today (), Time_Zone.Local;;
val today : Date.t * Time_Zone.t = (<abstr>, Time_Zone.Local)
# let one_month_ago = Date.prev (fst today) `Month, Time_Zone.local;;
val one_month_ago : Date.t * Time_Zone.t = (<abstr>, Time_Zone.Local)
# getCreativeStats creative_svc 408226864_l [656484124_l] one_month_ago today
false;;
- : CreativeService_types.statsRecord list =
[{statsRecord_averagePosition = 0.; statsRecord_clicks = 1L;
statsRecord_conversionRate = 0.; statsRecord_conversions = 0L;
statsRecord_cost = 940000L; statsRecord_id = 656484124L;
statsRecord_impressions = 3913L}]
# print_summary ();;
Quota units used: 1, in 1 operations.
- : unit = ()
Rich.