Re: Unable to retrieve ApiUsageInfo with UNIT_COUNT_FOR_CLIENTS (Java Client - v201109)

2012-01-11 Thread TompiT
My bad ... By setting the selector with setIncludeSubAccounts at true it seems to work. ApiUsageRecord is now properly instantiated. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/a

Unable to retrieve ApiUsageInfo with UNIT_COUNT_FOR_CLIENTS (Java Client - v201109)

2012-01-11 Thread TompiT
Hi folks, I'm trying to retrieve API unit count for a specific customer by using the Java Client and API v201109. On the selector, if I use the apiUsageType : UNIT_COUNT the request works fine. Unfortunately, if I change the selector type with : UNIT_COUNT_FOR_CLIENTS and initialize clientCus