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

Best,
- Eric Koleda, AdWords API Team

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


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 = .class.getMethods();
String[] methodNames = new String[methods.length];
for(int index = 0; index < methods.length; index++){
methodNames[index] = methods[index].getName();
}

I'm not a php guy, but if your using java, that would probably work
well for you.

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


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 be nice to just give the service name and have
returned an array of that service's methods and their usage numbers.
Is there a chart (other than the rate sheet) somewhere that defines
all of the valid service/methods combinations, including V13 (which
would be a lot more complex than the post-V13 list)? That would also
be useful in uncovering any overlook usages of the V13 API.

thanks,
-reed

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