Hi Alex, Each service has a method called GetLastUnits() which will return that information for the last request.
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/src/Google/Api/Ads/AdWords/Lib/AdWordsSoapClient.php#140 Best, - Eric Koleda, AdWords API Team On Mar 23, 11:08 am, Alex <[email protected]> wrote: > Hi, > > Could you please clarify situation, how can I get API units usage per > query? > > Before that (v13) for getting units usage I can use construction like > this: > > $report_service->call('validateReportJob', $request_xml); > $report_service->responseHeader['units']['!'] > > or for Info Service: > $info_service->responseHeader['units']['!'] > > Thanks for advance > > Alex -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en To unsubscribe from this group, send email to adwords-api+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
