Re: Efficient use of InfoService to get method-level usage data?

2011-06-20 Thread Eric Koleda
Hi, We also recommend that you use the units header in the SOAP response to keep track of units as you use them. This allows you to have more fine grained data about how many units were used for a given task, client, etc. http://code.google.com/apis/adwords/docs/bestpractices.html#track_units

Re: Efficient use of InfoService to get method-level usage data?

2011-06-14 Thread jstedman
I think the easiest way to do this in Java would be to use reflection to get a list of methods with something like : Method[] methods = SomeServiceName.class.getMethods(); String[] methodNames = new String[methods.length]; for(int index = 0; index

Efficient use of InfoService to get method-level usage data?

2011-06-13 Thread Reed
It looks like the only way to get daily API usage data at the method level is to do a call to the InfoService for each date/service/method combination. Is that correct? That means I need to drive it off of a prebuilt list of all service names and the applicable methods for each service. Would