Re: Date range for audience performance report (PHP)

2015-09-17 Thread Jonathan Wilmont
Got it working thanks for the help. On Wednesday, 16 September 2015 21:20:09 UTC+1, Umesh Dengale wrote: > > Hello, > > You could use *day* instead of *days* in the date creation e.g. $start = > date('Ymd', strtotime("-90 *day*"));. Please check out our > DownloadCriteriaReportWithAwql >

Re: Date range for audience performance report (PHP)

2015-09-16 Thread Umesh Dengale
Hello, You could use *day* instead of *days* in the date creation e.g. $start = date('Ymd', strtotime("-90 *day*"));. Please check out our DownloadCriteriaReportWithAwql

Date range for audience performance report (PHP)

2015-09-16 Thread Jonathan Wilmont
Hi, I have been having an issue setting a custom date range for my report, here is the code I am using: $start = date('Ymd', strtotime("-90 days")); $end = date('Ymd', strtotime("-1 days")); $selector = new Selector(); $selector->fields = array('CampaignId', 'AdGroupId', 'Id', 'Clicks', 'Impre