I have some code that effectively does:

DateUtil.dateRange(beginDate, endDate).foreach { targetDate => 
  getClients().foreach { customer =>

Where getClients returns an Iterable of ManagedCustomer for our MCC 
account, then for each date + Customer ID, I have a ReportDownloader query 
that gets executed.

I tried specifying pretty large date ranges only to run into 
ReportDownloadResponseExceptions (reports were too large?), so my fall back 
is to iterate day by day, client by client to download the reports.

One thing that would save a bunch of time would be to get the first date, 
for any particular ManagedCustomer that date is actually available 
(impressions/clicks/etc).  Or what I really want, is given a particular 
Customer ID, what's the first available date in history there is data 
available for it.  Is there any way to "sniff" whether the data is 
available before trying to run the report?

Thanks,

Eric

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to