2 messages in com.googlegroups.adwords-apigetUnitCountForClients return empty list
FromSent OnAttachments
Erik Bonder31 Oct 2006 01:32 
Erik Bonder02 Nov 2006 08:32 
Subject:getUnitCountForClients return empty list
From:Erik Bonder (e.bo@77agency.com)
Date:10/31/2006 01:32:22 AM
List:com.googlegroups.adwords-api

I'm trying to call getUnitCountForClients method of InfoService service but without any useful result: a) if I ommit clientEmails parameter passing null, request also return null, b) if I specify one or more client email in array request fail with exception "One or more input elements failed validation.". I've tried it on different date periods - doesn't help.

Maybe there are restrictions on account used to connect to API?

I'm using C# in folowing way:

ClientUsageRecord[] aClientUsageRecords = oInfoService.getUnitCountForClients(null, oDT, oDT);

or

ClientUsageRecord[] aClientUsageRecords = oInfoService.getUnitCountForClients(new string[] {"cli@agency.com"}, oDT, oDT);