The examples show the dateRange being used in this way. // For today's date. $selector->dateRange = new DateRange(date('Ymd'), date('Ymd'));
Dan On Mar 9, 10:06 pm, Mike-Indiana <michaelyanda+...@gmail.com> wrote: > Hi Eric, could you help me out with the dateRange for stats? This is > still pulling all stats, and not the daterange. The log does not even > show the daterange, so I know I'm getting this wrong. > > Thanks: > > $selector->statsSelector = $criterionId; > $selector->statsSelector = new DateRange(); > $selector->dateRange->min = '20100308'; > $selector->dateRange->max = '20100309'; > $selector->stats = $criterionId; -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en