Hi Matt

Thanks for your response. Not sure why keyword data for the date range I 
was trying wouldn't exist yet but you are probably right about the cause.

So weirdly 


   - yesterday dates  '2024-10-02' to   '2024-10-31' resulted in an error
   - if I pushed the forecasting period to  '2024-10-21' to  '2024-11-20' 
   it worked. 

Today both date ranges seem to work. 

Just quite annoying that the API does not respond with a sensible error 
code, and instead just give the   INVALID_VALUE   without indicating where 
the issue is.

I resolved this by catching the  INVALID_VALUE  , shifting the date range 
by 15 days forward, and trying again. Seems to do the trick. 

to @Bob Hancock this obviously referes to the issue the OP posted which was 
similar to the one I posted in my OP. If you want to add something to your 
backlog, add proper error messages if the date values are "invalid". 

best
Panu


On Tuesday 1 October 2024 at 15:11:53 UTC+1 Matt Dworkin wrote:

> Hey Panu,
>
>
> You're likely getting the error because keyword data for your date range 
> doesn't exist yet. That was the problem for me.
>
> Best,
> Matt
>
> On Tuesday, October 1, 2024 at 8:42:05 AM UTC-4 Google Ads API Forum 
> Advisor wrote:
>
>> Panu:
>>
>> I don't know to what this refers. We have resolved the issue for this 
>> case.
>>
>> Please, open a new case with your details.
>>   
>> This message is in relation to case 
>> "ref:!00D1U01174p.!5004Q02vEQ5U:ref" (ADR-00260556)
>>
>> Thanks,
>>   
>> [image: Google Logo] 
>> Bob Hancock 
>> Google Ads API Team 
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/37df5461-f1aa-47cb-bd5d-0d8bcbd37d91n%40googlegroups.com.
  • Ke... Matt Dworkin
    • ... Panu Kuuluvainen
      • ... Panu Kuuluvainen
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Matt Dworkin
          • ... Panu Kuuluvainen

Reply via email to