I understand that I'm encountering the AD_SCHEDULE_INVALID_TIME_INTERVAL
error. My question in this case is, how are you supposed to set the end
time to 00:00 (or 24:00) using the API? Since currently it does not work to
set it to 00:00, as it causes this error.

On Thu, 26 Jun 2025 at 12:33, Google Ads API and AdWords API Forum <
[email protected]> wrote:

> Hi Kh,
>
> Thank you for reaching out to the Google Ads API support team.
>
> It seems that you've encountered the AD_SCHEDULE_INVALID_TIME_INTERVAL
> <https://developers.google.com/google-ads/api/reference/rpc/v20/CriterionErrorEnum.CriterionError#ad_schedule_invalid_time_interval>
>  error.
> This indicates that the end time specified for your AdSchedule
> <https://developers.google.com/google-ads/api/rest/reference/rest/v20/AdScheduleInfo>
>  is
> earlier than the start time. To fix this, please ensure that your 'endTime'
> is set after your 'startTime'.
>
> To investigate the issue further, please share the complete API logs (
> request
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  and response
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  with request-id
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  and request header
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
> generated at your end.
>
> If you are using a client library and haven't enabled the logging yet, I
> would request you to enable logging for the specific client library that
> you are using. You can refer to the guides Java
> <https://developers.google.com/google-ads/api/docs/client-libs/java/logging>
> , .Net
> <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging>
> , PHP
> <https://developers.google.com/google-ads/api/docs/client-libs/php/logging>
> , Python
> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>
> , Ruby
> <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging>
>  or Perl
> <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> 
> to
> enable logging at your end. For REST interface requests, you can enable
> logging via the curl command by using the -i flag.
>
> You can send the details via *Reply privately to the author option*, or 
> *direct
> private reply* to this email.
>
> Thanks,
> 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 [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 a topic in the
> Google Groups "Google Ads API and AdWords API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/YdX-TvizShs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/adwords-api/b56288cb-0ff7-4ddd-91f4-12e7e9669a59n%40googlegroups.com
> <https://groups.google.com/d/msgid/adwords-api/b56288cb-0ff7-4ddd-91f4-12e7e9669a59n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/CAH4ufr-G-5tMBTCEA57%3Do4x8crpKpxR-mqZzMKdu-3Yn_ta%2B5g%40mail.gmail.com.
  • Handling over... 'KHMob' via Google Ads API and AdWords API Forum
    • Re: Hand... Google Ads API and AdWords API Forum
      • Re: ... 'Kasper Henriksson' via Google Ads API and AdWords API Forum

Reply via email to