Hello Mike,
Do you also set DateTimeRange of the definition to CUSTOM_DATE? -Danial, AdWords API Team. On Thursday, March 19, 2015 at 12:09:10 PM UTC+3, [email protected] wrote: > > Hi, > > I'm using the 201409 client library to pull campaign performance reports > and call details reports. When I use any of the date presets, it works > just fine, but when I try to use a custom date selector, this doesn't seem > to work. I've seen many solutions online that say to use something like > what I've pasted below, but it doesn't seem to work for me. Is there some > new syntax or something that I should be using? > > Thanks, > Mike > > > DateRange dateRange = new DateRange(); > dateRange.min = DateTime.Now.AddDays(-1).ToString("yyyyMMdd"); > dateRange.max = DateTime.Now.AddDays(-1).ToString("yyyyMMdd"); > selector.dateRange = dateRange; > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/f51f0ca7-98a4-416f-b8a0-2d778a2beb6e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
