Re: Disabled ads aren't returned

2014-07-28 Thread Leejo P
Hello Danial, Please ignore my question. $reportDefinition->includeZeroImpressions = FALSE; When I changed this to true, it returned all the data including disabled. So it looks good. Thanks for your help! Leejo On Friday, 25 July 2014 17:50:56 UTC+5:30, Danial Klimkin wrote: > > Hello Le

Re: Disabled ads aren't returned

2014-07-28 Thread Leejo P
Hello Danial, Thanks a lot for the reply. I am using v201402 and when I tried changing DELETED to REMOVED, I got the error :- An error has occurred: Report download failed. Underlying errors are Type = 'SelectorError.INVALID_PREDICATE_ENUM_VALUE', Trigger = 'REMOVED', FieldPath = 'selector'

Re: Disabled ads aren't returned

2014-07-25 Thread Danial Klimkin
Hello Leejo, What version of the API are you using? As of v201406, 'DELETED' status is called 'REMOVED'. -Danial, AdWords API Team. On Friday, July 25, 2014 9:58:48 AM UTC+4, Leejo P wrote: > > Hi, > > I am using the Adwords API and using the report > type=ADGROUP_PERFORMANCE_REPORT > > But

Disabled ads aren't returned

2014-07-25 Thread Leejo P
Hi, I am using the Adwords API and using the report type=ADGROUP_PERFORMANCE_REPORT But the api does not return disabled ads. $dateRange = new DateRange(); $dateRange->min = date('Ymd', $datefrom); $dateRange->max = date('Ymd', $dateto); $selector->predicates[] = new Predicate('Stat