Re: Getting "ApiUsageError.INVALID_DATE_RANGE @ selector.dateRange" using GetClientCustomerId.php in PHP v201109
Hi Malks, I think this is an issue that needs to be fixed in the code example, could you open an issue at http://code.google.com/p/google-api-adwords-php/issues/list? Cheers, Anash P. Oommen, AdWords API Advisor. On Sunday, 5 February 2012 13:18:22 UTC+5:30, Malks wrote: > > Hi, > > I am trying to use InfoService to get details of API usage but was > having some trouble getting it to work. To help me sort it out I > thought I would get the example to work in GetClientCustomerId.php but > keep getting the following message using either sandbox or production. > What am I doing wrong and how can I debug this? I've looked at the > request and response headers and everything looks fine so not sure > what to do next. > > Thanks, > Malks. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: Getting "ApiUsageError.INVALID_DATE_RANGE @ selector.dateRange" using GetClientCustomerId.php in PHP v201109
Hi James, You should use the time zone of the account you're downloading the report for. We schedule our reports on a rolling basis, as and when each account reaches about 4am in its local time. Good luck finding the account's time zone though - you'll need to use one of the hacks documented elsewhere in this forum, either from an account performance report, or from the InfoService as described here: https://groups.google.com/forum/#!msg/adwords-api/RyZGxJ4oLAQ/hQgUywTEJZcJ On Monday, 5 March 2012 16:42:55 UTC, James Preece wrote: > > Hi David, > > We have the same problem - we are based in the UK and our calls at 3am our > time are returning INVALID_DATE_RANGE > > I assume this is because 3am our time is 'tomorrow' US time. > > My question is - which US time zone should we be matching? I'm guessing > Pacific but it would be good to have confirmation. > > James > > > > On Wednesday, 8 February 2012 20:16:57 UTC, David Torres wrote: >> >> Hi, >> >> I'm glad you find the answer, sorry I didn't see it on time. Feel free to >> post any other question you might have in a separate thread. >> >> Best, >> >> -David Torres - AdWords API Team >> > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: Getting "ApiUsageError.INVALID_DATE_RANGE @ selector.dateRange" using GetClientCustomerId.php in PHP v201109
Same problem here. More guidance would be helpful On Monday, March 5, 2012 11:42:55 AM UTC-5, James Preece wrote: > > Hi David, > > We have the same problem - we are based in the UK and our calls at 3am our > time are returning INVALID_DATE_RANGE > > I assume this is because 3am our time is 'tomorrow' US time. > > My question is - which US time zone should we be matching? I'm guessing > Pacific but it would be good to have confirmation. > > James > > > > On Wednesday, 8 February 2012 20:16:57 UTC, David Torres wrote: >> >> Hi, >> >> I'm glad you find the answer, sorry I didn't see it on time. Feel free to >> post any other question you might have in a separate thread. >> >> Best, >> >> -David Torres - AdWords API Team >> > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: Getting "ApiUsageError.INVALID_DATE_RANGE @ selector.dateRange" using GetClientCustomerId.php in PHP v201109
Hi David, We have the same problem - we are based in the UK and our calls at 3am our time are returning INVALID_DATE_RANGE I assume this is because 3am our time is 'tomorrow' US time. My question is - which US time zone should we be matching? I'm guessing Pacific but it would be good to have confirmation. James On Wednesday, 8 February 2012 20:16:57 UTC, David Torres wrote: > > Hi, > > I'm glad you find the answer, sorry I didn't see it on time. Feel free to > post any other question you might have in a separate thread. > > Best, > > -David Torres - AdWords API Team > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: Getting "ApiUsageError.INVALID_DATE_RANGE @ selector.dateRange" using GetClientCustomerId.php in PHP v201109
Hi, I'm glad you find the answer, sorry I didn't see it on time. Feel free to post any other question you might have in a separate thread. Best, -David Torres - AdWords API Team -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: Getting "ApiUsageError.INVALID_DATE_RANGE @ selector.dateRange" using GetClientCustomerId.php in PHP v201109
To answer my own question... I was running the code with the default of today's date, but because of timezone issues here in Australia the 2012/02/05 is not a valid date as records are only going as far back as 2012/02/04 in the US timezone where the server must be located. On Feb 5, 6:48 pm, Malks wrote: > Hi, > > I am trying to use InfoService to get details of API usage but was > having some trouble getting it to work. To help me sort it out I > thought I would get the example to work in GetClientCustomerId.php but > keep getting the following message using either sandbox or production. > What am I doing wrong and how can I debug this? I've looked at the > request and response headers and everything looks fine so not sure > what to do next. > > Thanks, > Malks. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Getting "ApiUsageError.INVALID_DATE_RANGE @ selector.dateRange" using GetClientCustomerId.php in PHP v201109
Hi, I am trying to use InfoService to get details of API usage but was having some trouble getting it to work. To help me sort it out I thought I would get the example to work in GetClientCustomerId.php but keep getting the following message using either sandbox or production. What am I doing wrong and how can I debug this? I've looked at the request and response headers and everything looks fine so not sure what to do next. Thanks, Malks. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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