Re: Getting id of an existing report

2010-10-11 Thread AdWords API Advisor
Hi, Currently it is not possible to retrieve ReportDefinitions that match a certain condition, so you have to retrieve the report definitions at runtime and determine whether they suit your requirements before creating a new one. The only way I can think of to achieve what you need would be to

Re: Getting id of an existing report

2010-10-11 Thread stiggywigget
Thanks. I am doing the filtering on my end now, as you suggest. I think having a filter when requesting reports for a given client would be very useful. Adding that as a feature request would be great. But for now it's a solved problem. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also

Re: Getting id of an existing report

2010-10-10 Thread stiggywigget
FWIW, I've found it most efficient to store reportIds locally. There's no filter to determine that an existing report matches criteria (fields, predicates, date range) without iterating through all of them. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and

Getting id of an existing report

2010-10-08 Thread stiggywigget
I'm new to AdWords and to the API. I'm writing a batch process that will create and download reports. And that's all fine. But I'd also like to be able to determine if a report with certain criteria already exists. I can get _all_ the reports for a client id but I can't get a report for a